We have helped our customers to fix 24 512 vulnerabilities
ImmuniWeb® by High-Tech Bridge


High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Cross-Site Scripting (XSS) Vulnerabilities in Flogr

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

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
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")
Second PoC* demonstrates that any HTTP GET parameter is also vulnerable to XSS:
http://[host]/index.php?[any]=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/s cript%3E
* Independently reported XSS in the "tag" GET parameter by LABORATORY RESEARCH TEAM (http://www.vulnerability-lab.com/get_content.php?id=656).


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


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.
User Comments and Opinions


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.