<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ram Kumar on Medium]]></title>
        <description><![CDATA[Stories by Ram Kumar on Medium]]></description>
        <link>https://medium.com/@rockerramg94?source=rss-19934c68cba5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CYgX-np9TTCOEADl.</url>
            <title>Stories by Ram Kumar on Medium</title>
            <link>https://medium.com/@rockerramg94?source=rss-19934c68cba5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 05:00:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rockerramg94/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[HOST HEADER INJECTION ATTACK]]></title>
            <link>https://medium.com/@rockerramg94/host-header-injection-attack-6cf4ffeb5a03?source=rss-19934c68cba5------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cf4ffeb5a03</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Ram Kumar]]></dc:creator>
            <pubDate>Thu, 12 Apr 2018 16:46:31 GMT</pubDate>
            <atom:updated>2018-04-12T16:46:31.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*sh7iPODD-VKnwoXYIW_l3Q.png" /></figure><p>The host header specifies which website or web application should process an incoming HTTP request. The web server uses the value of this header to dispatch the request to the specified website or web application. Each web application hosted on the same IP address is commonly referred to as a virtual host<em>.</em> So what constitutes a host header attack?</p><p>What happens if we specify an invalid Host Header? Most web servers are configured to pass the unrecognized host header to the first virtual host in the list. Therefore, it’s possible to send requests with arbitrary host headers to the first virtual host.</p><p>By using this attack, we can check whether the host is properly validated or not?</p><p>Below is the example site where I’ve found this vulnerability. I have specified the rank and severity of this vulnerability, which is high.</p><p>Vulnerable URL: <a href="https://openedx.microsoft.com/">https://openedx.microsoft.com/</a></p><p>Vulnerability: Host Header Attack<br> Severity: High<br> Owasp rank: A6 (Security Misconfiguration)</p><p><strong>Steps to Reproduce the Vulnerability:</strong></p><p>First, go to the URL of <a href="https://openedx.microsoft.com/">https://openedx.microsoft.com/</a></p><p>Later intercept the response of the particular URL using Burp suite Proxy Tool</p><p>Spider the host to get the 302-redirect page and intercept the request with Burp suite</p><p>Here I have changed the hostname from openedx.microsoft.com to bing.com in response the location is changed to <a href="https://bing.com/">https://bing.com</a></p><p>I have also enclosed the POC for your reference,</p><p>Target host is openedx.microsoft.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ivym4NpAjuah0ljdDxkpdA.jpeg" /></figure><p>Here I have changed the target host of openedx.microsoft.com to bing.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4DguYapRltfzxjIg6JOKGA.jpeg" /></figure><p>Later I captured the Burp suite response and opened it in a browser, the page gets redirected to the 404 response page of bing.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uu9d2XqSH2cD5Sqzjt6H8Q.jpeg" /></figure><p>Thank you for viewing this blog and this is my first blog if you feel any clarifications regarding this blog please let me know</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cf4ffeb5a03" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>