看板 Bugtraq 關於我們 聯絡資訊
Advisory ID: HTB23143 Product: Geeklog=20 Vendor: http://www.geeklog.net Vulnerable Version(s): 1.8.2 and probably prior Tested Version: 1.8.2 Vendor Notification: February 6, 2013=20 Vendor Patch: February 20, 2013=20 Public Disclosure: February 27, 2013=20 Vulnerability Type: Cross-Site Scripting [CWE-79] CVE Reference: CVE-2013-1470 Risk Level: Medium=20 CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N) Solution Status: Fixed by Vendor Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w= ww.htbridge.com/advisory/ )=20 ---------------------------------------------------------------------------= -------------------- Advisory Details: High-Tech Bridge Security Research Lab discovered vulnerability in Geeklog = that can be exploited to perform Cross-Site Scripting (XSS) attacks. 1) Cross-Site Scripting (XSS) in Geeklog: CVE-2013-1470 The vulnerability exists due to insufficient filtration of user-supplied da= ta in "calendar_type" HTTP POST parameter passed to "/calendar/index.php" s= cript. A remote attacker can trick a logged-in user to open a specially cra= fted link and execute arbitrary HTML and script code in his browser in cont= ext of the vulnerable website. The exploitation example below uses the "alert()" JavaScript function to di= splay user's cookies:=20 <form action=3D"http://[host]/submit.php?type=3Dcalendar" method=3D"post"> <input type=3D"hidden" name=3D"mode" value=3D"Submit">=09 <input type=3D"hidden" name=3D"calendar_type" value=3D'"><script>alert(docu= ment.cookie);</script>'> <input type=3D"submit" id=3D"btn"> </form> ---------------------------------------------------------------------------= -------------------- Solution: Upgrade to Geeklog 1.8.2sr1 More Information: http://www.geeklog.net/article.php/geeklog-1.8.2sr1 ---------------------------------------------------------------------------= -------------------- References: [1] High-Tech Bridge Advisory HTB23143 - https://www.htbridge.com/advisory/= HTB23143 - Cross-Site Scripting (XSS) in Geeklog. [2] Geeklog - http://www.geeklog.net/ - Geeklog is an open source applicati= on for managing dynamic web content. It is written in PHP and supports MySQ= L, PostgreSQL, or MS SQL as the database backend. [3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in= ternational in scope and free for public use, CVE=C2=AE is a dictionary of = publicly known information security vulnerabilities and exposures. [4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to = developers and security practitioners, CWE is a formal list of software wea= kness types.=20 ---------------------------------------------------------------------------= -------------------- Disclaimer: The information provided in this Advisory is provided "as is" a= nd without any warranty of any kind. Details of this Advisory may be update= d in order to provide as accurate information as possible. The latest versi= on of the Advisory is available on web page [1] in the References.