<?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 Wonde D on Medium]]></title>
        <description><![CDATA[Stories by Wonde D on Medium]]></description>
        <link>https://medium.com/@4m3n_d?source=rss-6d861f326876------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CB5_whqCjfJGVwYaG__Xqw.jpeg</url>
            <title>Stories by Wonde D on Medium</title>
            <link>https://medium.com/@4m3n_d?source=rss-6d861f326876------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:28:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@4m3n_d/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[From Job Hunting to Bug Hunting: Discovering an SQL Injection Vulnerability]]></title>
            <link>https://medium.com/@4m3n_d/from-job-hunting-to-bug-hunting-discovering-an-sql-injection-vulnerability-922c3cbc95a8?source=rss-6d861f326876------2</link>
            <guid isPermaLink="false">https://medium.com/p/922c3cbc95a8</guid>
            <category><![CDATA[bugbounty-writeup]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[Wonde D]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 13:44:32 GMT</pubDate>
            <atom:updated>2026-01-20T13:44:32.265Z</atom:updated>
            <content:encoded><![CDATA[<p>While searching for job opportunities, I came across a vacancy posted on <strong>vacancy.example.com</strong> for a <em>Web Penetration Tester</em>. Naturally, I clicked on it out of curiosity.</p><p>At first glance, the website appeared outdated. The vacancy I found was posted back in <strong>2022</strong>, and the page itself looked expired and no longer actively maintained. Since I was already there, I decided to randomly inspect what the website was built with.</p><p>I turned on my Chrome extensions and used <strong>Wappalyzer</strong>. The result showed that the application was built using <strong>PHP</strong>.</p><p>That instantly made me more curious.</p><p>Older PHP applications, especially abandoned ones, are often prone to classic web vulnerabilities. At that moment, I became excited about the possibility of finding a bug — specifically <strong>SQL Injection</strong>.</p><h3>The First Test</h3><p>As a quick manual check, I added a single quote (semicolon-style test) at the end of one of the URL parameters.</p><p>And boom.</p><p>The application returned a <strong>SQL error message </strong>as shown in the image below.</p><figure><img alt="sql error message" src="https://cdn-images-1.medium.com/max/1024/1*yukILEn6zcv2BJX0tWeBTw.jpeg" /></figure><p>That was enough to confirm my suspicion. Error messages revealing database behavior usually indicate improper input sanitization. At this point, I was fairly confident that I had discovered an SQL injection vulnerability.</p><h3>Verifying with SQLMap</h3><p>To further validate the issue, I opened my terminal and used <strong>SQLMap</strong> to automate the testing process.</p><pre>sqlmap -u &quot;https://vacancy.example.com/job-detail.php?catt=Information%20Technology&amp;titleofpo=Web%20Penetration%20Tester&amp;pdate=2022-10-30&quot; -p pdate --batch --level=2 --risk=1</pre><p>SQLMap confirmed that the pdate parameter was vulnerable to SQL injection and reported multiple exploitation techniques.</p><figure><img alt="sql result" src="https://cdn-images-1.medium.com/max/1024/1*HG-stEkTRfFsGIn6YfvSAw.png" /></figure><h3>Enumerating Databases</h3><p>After verifying the SQL injection, I proceeded carefully to enumerate the databases:</p><pre>sqlmap -u &quot;https://vacancy.example.com/job-detail.php?catt=Information%20Technology&amp;titleofpo=Web%20Penetration%20Tester&amp;pdate=2022-10-30&quot; -p pdate --dbs</pre><p>SQLMap listed multiple databases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*moh2ckVT71Kcr7xxE9fhfQ.png" /></figure><p>After confirming the impact, I immediately stopped further testing.</p><p>I responsibly reported the vulnerability to the company’s <strong>CTO via LinkedIn</strong>, clearly explaining:</p><ul><li>The vulnerable endpoint</li><li>The affected parameter</li><li>The potential risk</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*s-vApzwOs-9nezS8UCkvDQ.jpeg" /><figcaption>CTO response</figcaption></figure><p>Thankfully, the response was ethical and professional. Unfortunately, the company informed me that they <strong>do not have a bug bounty program</strong>, but they appreciated the responsible disclosure.</p><p><em>Follow me for more security findings from my bug hunting journey.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=922c3cbc95a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ How I Found My First Critical Bug: Account Takeover via Email Verification Bypass]]></title>
            <link>https://medium.com/@4m3n_d/how-i-found-my-first-critical-bug-account-takeover-via-email-verification-bypass-7481b814f902?source=rss-6d861f326876------2</link>
            <guid isPermaLink="false">https://medium.com/p/7481b814f902</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bugbounty-writeup]]></category>
            <dc:creator><![CDATA[Wonde D]]></dc:creator>
            <pubDate>Fri, 18 Jul 2025 06:35:37 GMT</pubDate>
            <atom:updated>2025-07-18T06:49:52.368Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Found My First Critical Bug: Account Takeover via Email Verification Bypass</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iZ2LaHQYrLriiZE3WwdErA.png" /></figure><p>Let me share how I found my <strong>first critical vulnerability</strong> — a simple yet powerful bug that led to full <strong>account takeover (ATO)</strong> on an e-commerce platform. It all started with a casual conversation with a friend…</p><h3><strong>It Started with a Chat…</strong></h3><p>One afternoon, I was chatting with a friend when he mentioned that some of his friends were about to launch a new <strong>e-commerce website</strong>. They wanted someone to test their API before going live.</p><p>He asked, <em>“Do you want to take a look at it? Maybe poke around their APIs and give feedback?”</em></p><p>As a curious security enthusiast, I thought, <em>Why not?</em> It could be a great way to get my hands dirty and test what I’ve learned about APIs and how e-commerce platforms work behind the scenes.</p><h3>Reconnaissance: Subdomain Discovery</h3><p>I started with the basics — enumerating subdomains of the target (target.com) using <strong>Subfinder</strong>:</p><pre>subfinder -d target.com -silent -o subdomains.txt</pre><p>Then I needed to know which of those subdomains were alive. So I fired up <strong>httpx</strong>:</p><pre>cat subdomains.txt | httpx -ports 80,81,3000,3001,443,8080,8000,8888,8443,10000,9000,9443,4443,2075,2076,6443,3868,3366,9091,5900 -threads 200 &gt; subdomains_alive.txt</pre><p>Once I had the list of active subdomains, I began exploring each one. But for now, I focused on the <strong>main site</strong>: <a href="https://target.com/">https://target.com</a></p><h3><strong>Registering as a User</strong></h3><p>I opened Burp Suite, created an account using my email and password, and started looking around. In the profile section, I saw options to update personal information and change the password.</p><p>Before I could update any profile data, the platform required me to verify both my <strong>email</strong> and <strong>phone number</strong>. So I completed the verification process as expected, just like any normal user would.</p><h3>Digging into the Profile Update Request</h3><p>Curious about how things worked under the hood, I started inspecting the <strong>profile update request</strong> in Burp.</p><p>When changing profile details like first name, last name, or image, the request looked something like this:</p><pre>PUT /api/v1/dashboard/user/<br>Host: target.com<br>Content-Type: application/json<br><br>{<br>  &quot;firstname&quot;: &quot;test&quot;,<br>  &quot;lastname&quot;: &quot;user&quot;,<br>  &quot;email&quot;: &quot;testuser@example.com&quot;,<br>  &quot;phone&quot;: &quot;+251900000000&quot;,<br>  &quot;image&quot;: &quot;profile.jpg&quot;<br>}</pre><p>Now, I wondered… <em>What would happen if I tried to change my email address again — </em><strong><em>but this time directly in Burp</em></strong><em>, without going through verification?</em></p><h3><strong>The Test: Changing Email to attacker@example.com</strong></h3><p>I sent the profile update request to Burp <strong>Repeater</strong>, changed the email field to attacker@example.com, and hit &quot;Send&quot;.</p><p>To my surprise…</p><blockquote><strong><em>The request succeeded. No verification triggered.</em></strong></blockquote><p>Then I thought, <em>Wait, can I actually log in using that unverified email?</em></p><p>I logged out and tried logging in using:</p><ul><li><strong>Email</strong>: attacker@example.com</li><li><strong>Password</strong>: my same original password</li></ul><p>And guess what?</p><blockquote><strong><em>Login successful.</em></strong></blockquote><h3>The Realization: Account Takeover (ATO)</h3><p>That’s when it hit me — this is a <strong>critical bug</strong>.</p><p>If an attacker had access to someone’s session (through XSS, MITM, or physical access), they could:</p><ul><li>Change the account’s email to their own.</li><li>Log in using their own email.</li><li>Lock out the real user and <strong>completely take over the account</strong>.</li></ul><p>And the worst part?</p><blockquote><em>No verification was enforced at all. Just a silent identity swap.</em></blockquote><h3>Reporting the Vulnerability</h3><p>I quickly documented the issue and reported it to the team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*VxpHgqRmBY7jKkmIY9ofVg.png" /></figure><p>They responded professionally, acknowledged the issue, and patched it. They were thankful I found it before any real attackers did.</p><h3>Why This Bug Was Critical</h3><p>Here’s a quick breakdown of the impact:</p><ul><li><strong>Account Takeover</strong>: Full control over another user’s account.</li><li><strong>Verification Bypass</strong>: No checks for new email or phone.</li><li><strong>Business Logic Flaw</strong>: The system <em>assumed</em> verification had happened — but never enforced it.</li><li><strong>High Severity</strong>: This affected the core authentication system.</li></ul><h3>Final Thoughts</h3><p>This was my <strong>first critical bug</strong>, and it taught me a lot.</p><ul><li>Always inspect <strong>profile update endpoints</strong>. Sensitive fields like email and phone should never update without re-verification.</li><li>Don’t trust the front-end to enforce security.</li><li>Sometimes the simplest logic flaws lead to the biggest security risks.</li></ul><p>Thanks for reading! I hope this walk-through helps new bug hunters understand how powerful <strong>business logic bugs</strong> can be. If you’re just getting started, don’t underestimate what you can find by asking <em>“what if?”</em></p><p>#BugBounty #CyberSecurity #EthicalHacking #Infosec#WebSecurity#AccountTakeover #PrivilegeEscalation#BrokenAccessControl #IDOR #BugBountyWriteup #ResponsibleDisclosure #RealWorldHacking #CTF #Bugcrowd #MediumSecurity#EmailVerification</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7481b814f902" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>