<?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 Nikila- Cyber Security Content Writer on Medium]]></title>
        <description><![CDATA[Stories by Nikila- Cyber Security Content Writer on Medium]]></description>
        <link>https://medium.com/@nikkielias_24883?source=rss-bc2a57817ea1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3anD-UekB2nALNP1</url>
            <title>Stories by Nikila- Cyber Security Content Writer on Medium</title>
            <link>https://medium.com/@nikkielias_24883?source=rss-bc2a57817ea1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 20:39:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nikkielias_24883/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[CORS]]></title>
            <link>https://medium.com/@nikkielias_24883/cors-2c1924425d90?source=rss-bc2a57817ea1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c1924425d90</guid>
            <category><![CDATA[cyber-security-awareness]]></category>
            <dc:creator><![CDATA[Nikila- Cyber Security Content Writer]]></dc:creator>
            <pubDate>Sun, 12 Nov 2023 23:43:13 GMT</pubDate>
            <atom:updated>2023-11-12T23:43:13.394Z</atom:updated>
            <content:encoded><![CDATA[<p>CORS is a way for web servers to say “Accept cross-origin requests from this origin” or “Do not accept cross-origin requests from this origin”</p><p><strong>Types of headers</strong></p><p><strong><em>Access-Control-Allow-Origin: </em></strong><a href="https://example.com/"><strong><em>https://example.com</em></strong></a></p><p><em>The </em><strong><em>Access-Control-Allow-Origin</em></strong><em> response header indicates whether the response can be shared with requesting code from the given orgin</em></p><p><strong><em>Access-Control-Allow-Credentials</em></strong></p><p><em>When a server includes the </em><em>Access-Control-Allow-Credentials header in its response, it indicates that the requested resource can be accessed with credentials, such as cookies or HTTP authentication. If this header is not present, the browser will block any requests that include credentials.</em></p><p><strong><em>Access-Control-Allow-Methods: GET, POST, OPTIONS</em></strong></p><p><em>The </em><em>Access-Control-Allow-Methods header is part of the CORS (Cross-Origin Resource Sharing) mechanism in HTTP and is used by a server to specify which HTTP methods (e.g., GET, POST, PUT, DELETE) are permitted when making cross-origin requests to the server. This header is sent as part of the HTTP response from the server to the client (browser) when a cross-origin request is made.</em></p><p><strong><em>Access-Control-Allow-Headers: Content-Type</em></strong></p><p><em>The </em><em>Access-Control-Allow-Headers header is another part of the Cross-Origin Resource Sharing (CORS) mechanism in HTTP. This header is used by a server to indicate which HTTP headers can be used when making a cross-origin request to the server. It is sent as part of the HTTP response when the browser issues a cross-origin reques</em>t.</p><p><em>example : Access-Control-Allow-Headers: Content-Type, Authorization</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c1924425d90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Host Header Injection]]></title>
            <link>https://medium.com/@nikkielias_24883/host-header-injection-e28984f20d00?source=rss-bc2a57817ea1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e28984f20d00</guid>
            <category><![CDATA[host-header-injection]]></category>
            <dc:creator><![CDATA[Nikila- Cyber Security Content Writer]]></dc:creator>
            <pubDate>Sat, 11 Nov 2023 00:18:33 GMT</pubDate>
            <atom:updated>2023-11-11T00:27:30.166Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Host Header?</strong></p><p><em>The HTTP host header is a request header that specifies the domain that a client wants to access.</em></p><p><em>The Host header was introduced as part of the HTTP/1.1 specification. In HTTP/1.0, the server’s IP address was used to determine the target</em></p><p><em>The host header specifies which website or web application should process an incoming HTTP request if multiple websites hosted in the same web server or multiple web applications on the same IP address</em></p><p><strong>What is Host Header Injection?</strong></p><p><em>Host Header is controllded by the user, if the user supplied input not sanitized properly, host header is a potential vector for multiple vulnerabilities</em></p><p><strong>How to test HHI(Host Header Injection)?</strong></p><p><em>Test for HHI by changing the real Host Parameter</em></p><p><em>Test for HHI by adding X-Forwarded Host Parameter</em></p><p><em>Test for HHI by swapping the real Host and X-Forwarded Host Parameter</em></p><p><em>Test for HHI by adding two Host parameters</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e28984f20d00" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>