Revive Adserver version 3.0.5 suffers from a cross site scripting vulnerability.
891ad7a1996d3746b28478be039bf9adc766c64bf7e84b2a0962ab68e09fd776
Advisory ID: HTB23242
Product: Revive Adserver
Vendor: http://www.revive-adserver.com/
Vulnerable Version(s): 3.0.5 and probably prior
Tested Version: 3.0.5
Advisory Publication: November 12, 2014 [without technical details]
Vendor Notification: November 12, 2014
Vendor Patch: December 17, 2014
Public Disclosure: December 17, 2014
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2014-8793
Risk Level: Low
CVSSv2 Base Score: 2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered an XSS vulnerability in Revive Adserver (formerly known as OpenX Source), which can be exploited to perform Cross-Site Scripting attacks against administrators of the vulnerable application leading to total compromise of the Ads platform.
The vulnerability allows to steal cookies, sessions and credentials stored in the browser, as well as to perform more complicated attacks such as phishing and drive-by attacks.
1) Cross-Site Scripting (XSS) in Revive Adserver: CVE-2014-8793
1.1 Input passed via the "refresh_page" HTTP GET parameter to "/www/admin/report-generate.php" script is not properly sanitised before being returned to the user. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below will show a pop-up window with "ImmuniWeb" word inside after user clicks on the following link:
http://[host]/www/admin/report-generate.php?submit_type=change&refresh_page=%3C/script%3E%3Cscript%3Ealert%28%27ImmuniWeb%27%29;%3C/script%3E
-----------------------------------------------------------------------------------------------
Solution:
Update to the most recent 3.1.0 or 3.0.6 versions of Revive Adserver.
More Information:
http://www.revive-adserver.com/security/revive-sa-2014-002/
-----------------------------------------------------------------------------------------------
References:
[1] High-Tech Bridge Advisory HTB23242 - https://www.htbridge.com/advisory/HTB23242 - Cross-Site Scripting (XSS) in Revive Adserver.
[2] Revive Adserver - http://www.revive-adserver.com/ - The Free Open Source Ad Server formerly known as OpenX Source.
[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.
[5] ImmuniWeb® SaaS - https://www.htbridge.com/immuniweb/ - hybrid of manual web application penetration test and cutting-edge vulnerability scanner available online via a Software-as-a-Service (SaaS) model.
-----------------------------------------------------------------------------------------------
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.