<?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 Parvez Mosharaf Siam on Medium]]></title>
        <description><![CDATA[Stories by Parvez Mosharaf Siam on Medium]]></description>
        <link>https://medium.com/@pmsiam0?source=rss-f729768ade4f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_NR_cD5qw9sfpzssXxiksA.jpeg</url>
            <title>Stories by Parvez Mosharaf Siam on Medium</title>
            <link>https://medium.com/@pmsiam0?source=rss-f729768ade4f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:33:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pmsiam0/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[IDOR and Business Logic Flaw in a Payment Extension API: Unauthorized Modification of Billing…]]></title>
            <link>https://medium.com/@pmsiam0/idor-and-business-logic-flaw-in-a-payment-extension-api-unauthorized-modification-of-billing-d48ee6bcc5d0?source=rss-f729768ade4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d48ee6bcc5d0</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <dc:creator><![CDATA[Parvez Mosharaf Siam]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 18:19:47 GMT</pubDate>
            <atom:updated>2026-11-20T18:19:47.091Z</atom:updated>
            <content:encoded><![CDATA[<h3>IDOR and Business Logic Flaw in a Payment Extension API: Unauthorized Modification of Billing Arrangements</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CMJSu-8nqFAqqFI_mi8_KA.png" /></figure><h3>Executive Summary</h3><p>During an authorized security assessment of a customer billing platform, I identified a potential authorization and business logic weakness in its payment extension functionality.</p><p>The application provided a feature allowing eligible customers to request payment extensions for outstanding balances.</p><p>While analyzing the underlying API workflow, I observed that the request included a client-controlled account identifier used to select the billing account associated with the extension.</p><p>The key security question was whether the server independently enforced account ownership and payment-plan eligibility rather than relying on account information supplied by the client.</p><p>In the reported test, modifying the account identifier in an authenticated payment extension request appeared to allow an extension request to be accepted for another account, including an account without outstanding dues.</p><p>If the resulting extension was persisted, this behavior would demonstrate a failure to enforce account-level authorization and business rules on a financial workflow.</p><h3>1. Understanding the Payment Extension Feature</h3><p>The application allowed customers with eligible outstanding balances to request payment extensions.</p><p>Under normal circumstances, the workflow should:</p><ol><li>Authenticate the customer.</li><li>Identify billing accounts belonging to that customer.</li><li>Check whether the selected account has an eligible outstanding balance.</li><li>Validate the requested payment arrangement.</li><li>Create the extension only after successful server-side checks.</li></ol><p>The account identifier should identify a resource, not independently authorize modification of that resource.</p><h3>2. Discovery and Technical Analysis</h3><p>During testing, I intercepted an authenticated payment extension request using Burp Suite.</p><p>The API accepted a JSON request body containing two notable fields:</p><ul><li>billAccountNumber — Identifies the billing account.</li><li>selectedPlanType — Indicates the requested payment arrangement.</li></ul><p>The presence of a client-controlled account identifier presented a potential opportunity for an object-level authorization failure if the backend failed to verify that the authenticated user was permitted to modify the specified account.</p><h3>Sanitized HTTP Request Capture</h3><p>The following is a redacted representation of the observed request structure. It excludes the original account number, session cookies and other sensitive authentication data.</p><pre>POST /api/v1/payment/payment-plan/save-payment-extension HTTP/1.1<br>Host: [REDACTED]<br>Content-Type: application/json<br>Accept: application/json<br><br><br>{<br>  &quot;billAccountNumber&quot;: &quot;[REDACTED_ACCOUNT]&quot;,<br>  &quot;selectedPlanType&quot;: &quot;TWO_PAYMENT&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mU5VTUdz81HLCv6jQS1Psg.png" /></figure><h3>Sanitized HTTP Response Capture</h3><p>The accompanying Burp Suite screenshot shows a successful HTTP response with a confirmation number.</p><pre>HTTP/1.1 200 OK<br>Content-Type: application/json<br><br>{<br>  &quot;confirmationNumber&quot;: &quot;[REDACTED]&quot;<br>}</pre><p>The response indicates that the API returned a successful confirmation. Independent verification of the resulting account state is necessary to demonstrate that the payment arrangement was actually persisted.</p><h3>3. Reproduction Summary</h3><p>Testing was performed in the context of an authenticated session.</p><p>The reported assessment involved comparing payment extension behavior across authorized test accounts with different payment eligibility conditions.</p><p>The research focused on whether the application enforced two independent security requirements:</p><p><strong>Account Ownership Validation</strong></p><p>A customer must not be able to create or modify billing arrangements belonging to an unrelated account.</p><p><strong>Payment Eligibility Validation</strong></p><p>A customer must not be able to establish an extension for an account that fails the application’s payment-plan eligibility rules.</p><p>The reported observation was that an extension request using an alternative account identifier returned a successful confirmation, despite the targeted account reportedly having no outstanding balance.</p><p>This behavior suggested insufficient enforcement of one or both requirements.</p><h3>4. Root Cause Analysis</h3><p>The suspected root cause was inadequate server-side validation of client-supplied billing account references.</p><p>A secure implementation should resolve the account in the context of the authenticated user’s permissions.</p><p>The backend should also validate the account’s current payment status and available payment arrangements before saving any changes.</p><p>The observed response raises concerns about authorization enforcement, but without backend visibility and confirmation of persisted changes, the precise implementation flaw remains unverified.</p><h3>5. Business Impact</h3><h3>Unauthorized Billing Changes</h3><p>If cross-account modification is possible, an authenticated user could potentially alter another customer’s payment arrangements without their permission.</p><h3>6. Recommended Remediation</h3><p><strong>Enforce Object-Level Authorization</strong></p><p>Validate that the billing account referenced by the request is owned by, or explicitly accessible to, the authenticated customer.</p><p><strong>Validate Payment Eligibility</strong></p><p>Perform all payment extension eligibility checks on the server using authoritative account and billing records.</p><p><strong>Avoid Trusting Client-Supplied Account Identifiers</strong></p><p>Never treat the presence of a valid account number as proof of authorization.</p><p><strong>Enforce Workflow Integrity</strong></p><p>Ensure payment extension creation is permitted only when all required eligibility and authorization conditions have been satisfied.</p><p><strong>Maintain Reliable Audit Logs</strong></p><p>Record the authenticated actor, affected account, requested arrangement, authorization outcome and resulting state change.</p><p><strong>Add Security Regression Tests</strong></p><p>Include tests covering unauthorized account references, ineligible accounts, stale billing states and duplicate extension attempts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d48ee6bcc5d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Business Logic Vulnerability: Reward Duplication Through Impression ID Manipulation]]></title>
            <link>https://medium.com/@pmsiam0/business-logic-vulnerability-reward-duplication-through-impression-id-manipulation-88ffaea5250a?source=rss-f729768ade4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/88ffaea5250a</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vulnerability-management]]></category>
            <category><![CDATA[web-penetration-testing]]></category>
            <dc:creator><![CDATA[Parvez Mosharaf Siam]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 17:53:20 GMT</pubDate>
            <atom:updated>2026-11-20T17:53:20.565Z</atom:updated>
            <content:encoded><![CDATA[<p>Findout by pmsiam0</p><h3>Executive Summary</h3><p>During an authorized security assessment of a mobile application’s video advertisement reward functionality, I identified a business logic weakness that could allow users to receive multiple reward credits after completing only one video advertisement.</p><p>The application awarded users $5 for watching an eligible advertisement. However, the reward-processing workflow appeared to rely on a client-supplied impression identifier without sufficiently verifying that each rewarded impression corresponded to a unique, completed advertisement view.</p><p>By modifying the Impressions[impressionId] parameter in an otherwise legitimate reward-related request, I observed that an additional reward could be credited without watching another advertisement.</p><p>This behavior suggested a weakness in server-side reward validation and impression tracking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IbKwW-GALo8JopzsNUR_g.png" /></figure><h3>1. Background</h3><p>The application included a reward mechanism that provided users with monetary credits for completing video advertisements.</p><p>Under normal circumstances, a user would:</p><ol><li>Open the application’s inbox.</li><li>Select an available video reward.</li><li>Watch the required advertisement.</li><li>Receive the authorized $5 reward.</li></ol><p>Each eligible advertisement should result in no more than one corresponding reward credit, subject to the application’s reward rules.</p><h3>2. Vulnerability Discovery</h3><p>While analyzing the application’s reward workflow, I inspected the network traffic associated with a legitimate video advertisement interaction. Here is the Request:</p><pre>POST /api/Analytics/post_impression HTTP/2<br>Host: privateprogram.app<br>Content-Type: application/x-www-form-urlencoded<br>Accept: application/json, text/plain, */*<br>Client-Id: &lt;Your ID&gt;<br>Sec-Fetch-Site: cross-site<br>Appversion: 25.1.0<br>Accept-Language: en-GB,en;q=0.9<br>Clientappversion: 25.1.0<br>Sec-Fetch-Mode: cors<br>Devicetoken: <br>Origin: capacitor://localhost<br>User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148<br>Token: &lt;Your Token&gt;<br>Corpprop: CB<br>Content-Length: 188<br>Accept-Encoding: gzip, deflate, br<br>Sec-Fetch-Dest: empty<br><br>Impressions%5BimpressionId%5D=68&amp;Impressions%5BtimeBegin%5D=2025/07/30 21:49:56&amp;Impressions%5BtimeEnd%5D=2025/07/30 21:50:07&amp;Impressions%5Bquality%5D=1&amp;Impressions%5BinboxMessageId%5D=7085</pre><p>I identified an analytics request containing several parameters, including:</p><ul><li>Impressions[impressionId]</li><li>Impressions[timeBegin]</li><li>Impressions[timeEnd]</li><li>Impressions[quality]</li><li>Impressions[inboxMessageId]</li></ul><p>The impression identifier was particularly interesting because it appeared to influence how the server processed reward-related activity.</p><p>I investigated whether the server independently confirmed that a submitted impression represented a newly completed and eligible advertisement view.</p><h3>3. Technical Root Cause</h3><p>The observed behavior suggested that the backend did not adequately enforce the relationship between a completed advertisement, its impression record and the corresponding reward credit.</p><p>During testing, changing the client-controlled impression identifier while keeping the remaining request context unchanged appeared to cause an additional reward to be issued.</p><p>The security boundary was therefore not simply the presence of a valid impression identifier.</p><p>The backend needed to establish that the impression:</p><ul><li>Belonged to the authenticated account.</li><li>Corresponded to an eligible advertisement event.</li><li>Represented a completed view verified by a trusted source.</li><li>Had not previously been redeemed.</li><li>Was eligible for a reward under the application rules.</li></ul><p>The observation is consistent with insufficient server-side reward validation. The exact implementation-level root cause would require backend review.</p><h3>4. Proof of Concept — Authorized Test</h3><p>The issue was observed during an authorized test of the application’s video-reward workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*0HbIAH9DvmpPl2xFBU5a-w.jpeg" /></figure><h3>Observed Behavior</h3><p>The original test demonstrated that changing the impression identifier within an otherwise legitimate reward-related request could result in an additional $5 credit.</p><p>The account could consequently receive $10 in total reward credits despite only one advertisement having been watched.</p><p>Repeated manipulation appeared capable of causing additional reward issuance.</p><p>The precise upper limit, exploitability across other accounts and persistence of credited balances were not established by the provided evidence.</p><h3>8. Conclusion</h3><p>This finding demonstrates how a relatively small weakness in server-side workflow enforcement can potentially create direct financial exposure.</p><p>The investigation highlights the importance of analyzing application behavior beyond conventional injection and authentication vulnerabilities.</p><p>Business logic testing requires understanding how an application is supposed to work, identifying which inputs influence valuable transactions, and verifying whether the server enforces those rules independently.</p><p><strong>Research Focus:</strong> Business Logic Security, API Security, Reward Integrity and Vulnerability Research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88ffaea5250a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Get My First Bounty From Github]]></title>
            <link>https://medium.com/@pmsiam0/how-i-get-my-first-bounty-from-github-92af7afeff1a?source=rss-f729768ade4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/92af7afeff1a</guid>
            <dc:creator><![CDATA[Parvez Mosharaf Siam]]></dc:creator>
            <pubDate>Fri, 17 Mar 2023 03:01:35 GMT</pubDate>
            <atom:updated>2023-03-17T04:33:51.886Z</atom:updated>
            <content:encoded><![CDATA[<p>Assalamualaikum, This is Parvez Mosharaf Siam. I’m a security researcher at hackerone and also a member of KnightSquad. I am working from November 2021. As you guys know that first step is very difficult for everyone in every sector. I also faced some difficulties. But day by day it can be more easier from beginning.</p><p>My first bug was no rate limit on signup page of github. How I approach this let’s see:</p><p>When I was hunting on github it was very difficult for me as a new bug bounty hunter cause they already resolved at that time around 900+ report. But I don’t lose hope. I submit every low hanging fruit but I got duplicate then suddenly I noticed that signup page has no username restriction which mean anyone can use that username something like that but when I try to signup with same username multiple time it gave me username already registered then I try to use my same password with that username in signup page . And Booom It redirect me to the dashboard.</p><p>&gt;Then I though that which bug is it?</p><p>Then I captured the request and tried to find something critical bug but as a newbie I didn’t found any bug at that time. Then I thought what if I try for no rate limit issue cause they already resolved rate limit issue in login page. Then I tried for bruteforce attack on sign up after that I got the No rate limit bug there.</p><p>And then I submitted that report And got $617. And It was my first bounty after trying hard for 1 month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*3dD1_bcWJH_3XwuUH-DjGw.png" /></figure><p>After that I submitted some more Jussy bug and got some more bounties from github.</p><p>Follow my Twitter for more update: <a href="https://twitter.com/pmsiam0">https://twitter.com/pmsiam0</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92af7afeff1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>