High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

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.

Multiple XSS in Hero Framework

Advisory ID:HTB23149
Product:Hero Framework
Vendor: Electric Function, Inc.
Vulnerable Versions:3.791 and probably prior
Tested Version:3.791
Advisory Publication:March 20, 2013 [without technical details]
Vendor Notification:March 20, 2013
Vendor Fix:March 29, 2013
Public Disclosure:April 10, 2013
Latest Update:April 5, 2013
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2013-2649
Risk Level:Medium
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
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered two XSS vulnerabilities in Hero Framework, which can be exploited to perform cross-site scripting attacks against vulnerable application.


1) Multiple XSS in Hero Framework: CVE-2013-2649

1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data in "username" HTTP GET parameter passed to "/users/login" URL. A remote attacker can trick a logged-in user to open a specially crafted link and execute arbitrary HTML and script code in victim's browser in context of the vulnerable website.

The exploitation example below uses JavaScript 'alert()' function to display user's cookies:

http://[host]/users/login?username=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.2 The vulnerability exists due to insufficient sanitisation of user-supplied data in "error" HTTP GET parameter passed to "/users/forgot_password" URL. The parameter is passed to the vulnerable script in base64 encoding. A remote attacker can trick a logged-in user to open a specially crafted link and execute arbitrary HTML and script code in victoms's browser in context of the vulnerable website.

The exploitation example below uses the same XSS payload as above encoded in base64 to display user's cookies:

http://[host]/users/forgot_password?error=PHNjcmlwdD5hbGVydChkb2N1bWVudC5jb29raWUpOzwvc2NyaXB0Pg==


Solution:
Upgrade to Hero Framework version 3.80

More Information:
http://www.heroframework.com/download


ImmuniWeb® by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB23149 - https://www.htbridge.com/advisory/HTB23149 - Multiple XSS in Hero Framework.
[2] Hero Framework - http://www.heroframework.com/ - Hero is a white label, open source PHP website content management system (CMS) and development platform.
[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.

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.