Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:28543
HistorySep 07, 2012 - 12:00 a.m.

Cross-Site Scripting (XSS) Vulnerabilities in Flogr

2012-09-0700:00:00
vulners.com
64

Advisory ID: HTB23110
Product: Flogr
Vendor: Flogr
Vulnerable Version(s): 2.5.6 and probably prior
Tested Version: 2.5.6
Vendor Notification: August 15, 2012
Public Disclosure: September 5, 2012
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2012-4336
CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Risk Level: Medium
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )


Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in Flogr, which can be exploited to perform Cross-Site Scripting (XSS) attacks.

1) Cross-Site Scripting (XSS) Vulnerabilities in Flogr: CVE-2012-4336

1.1 Input appended to the URL after /index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected website.

The following PoC demonstrates the vulnerability:

http://[host]/index.php/%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E/

Successful exploitation of this vulnerability requires that Apache's directive "AcceptPathInfo" is set to "on" or "default" (default value is "default")

1.2 Input passed via arbitrary GET parameter to /index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in user's browser session in context of an affected website.

The following PoC demonstrates the vulnerability:

http://[host]/index.php?[any]=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


References:

[1] High-Tech Bridge Advisory HTB23110 - https://www.htbridge.com/advisory/HTB23110 - Cross-Site Scripting (XSS) Vulnerabilities in Flogr.
[2] Flogr - http://code.google.com/p/flogr/ - Flogr is a flexible script that displays your flickr photos in a customizable photo gallery you host on your website.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® 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 weakness types.


Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.

Related for SECURITYVULNS:DOC:28543