<?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 Shruti Prakash on Medium]]></title>
        <description><![CDATA[Stories by Shruti Prakash on Medium]]></description>
        <link>https://medium.com/@shrutirprakash?source=rss-630b2f46abf3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*q_cRhrLdhDepjB-_.jpg</url>
            <title>Stories by Shruti Prakash on Medium</title>
            <link>https://medium.com/@shrutirprakash?source=rss-630b2f46abf3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 13:30:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shrutirprakash/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[Business Logic Vulnerability: QR Amount Manupulation]]></title>
            <link>https://medium.com/@shrutirprakash/business-logic-vulnerability-qr-amount-manupulation-dbd342614413?source=rss-630b2f46abf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbd342614413</guid>
            <category><![CDATA[android-pentesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[business-logic]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Shruti Prakash]]></dc:creator>
            <pubDate>Sat, 30 Sep 2023 18:24:10 GMT</pubDate>
            <atom:updated>2023-09-30T19:11:47.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>Business Logic Vulnerability: QR Amount Manipulation</h3><p>Hey fellow Hackers! Hope you’re all going great.</p><p>I am back with another write-up on a business logic vulnerability that helped me manipulate the amount during payment due to a flaw in the application. Let me explain…</p><h4>What are Business Logic Vulnerabilities?</h4><p>Business logic vulnerabilities, often referred to as application logic vulnerabilities, are a class of security weaknesses that stem from flaws or weaknesses in the way an application or software system handles its business processes and logic.</p><p>Unlike traditional security vulnerabilities like SQL injection or cross-site scripting (XSS), which are well-known and involve exploiting technical flaws, business logic vulnerabilities target the specific functionality and operations of an application.</p><p>Addressing business logic vulnerabilities requires a thorough understanding of an application’s intended behavior and a careful examination of how different components interact.</p><h4>Target Background</h4><p>The target is a prominent fintech company that is a payment platform and helps secure financial transactions for many organizations.</p><h4>Exploitation</h4><p>During an Android application pen-testing activity, I discovered a critical vulnerability. The application allowed users to generate a QR code with a fixed payment amount. When this QR code was scanned, end-users could make a payment within a defined time period.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BknNO2hxYIKbKfgVVEyDLQ.png" /></figure><p>Upon sending the request with the payment amount, the server responded with a qr_code_url containing the QR code, which was intended to have a non-editable amount.</p><p>The response looked something like this,</p><pre>{<br>&quot;transaction_id&quot;:&quot;5454545454545454545454&quot;,<br>&quot;vpa_id&quot;:&quot;HGH5454545@ABC&quot;,<br>&quot;qr_code_url&quot;:&quot;https://redacted.com/UPI/DqrimgWLQBVMFZEzE0122798@ABC.png&quot;<br>}</pre><p>Therefore, my next step was to scan the QR and manipulate the amount in the UPI apps if possible. But that wasn&#39;t possible at first…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*RY2QY8XOiAhqDkk791y96Q.png" /></figure><p>There was a catch!!!</p><p>I tried tampering with the request to see if I could make a payment of zero or even a negative value. Surprisingly, the link with a QR code was generated successfully, regardless of the amount in the request. Due to the lack of proper validation, the scanned QR code did not contain a fixed amount, allowing users to define their payment amount at will.</p><p>But no. This time since there was no proper validation in place, when I attempted to scan the QR code in any UPI app it appeared that the payment amount wasn’t fixed as expected. This allowed users to define the amount and make payment.</p><p>Here…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*0ExUS39o_BiG-YGu9eQLwA.png" /></figure><p>This vulnerability poses a significant risk to the organization, potentially resulting in substantial financial losses.</p><h4>Impact</h4><p>The business logic vulnerability identified in this Android application can have severe consequences for the organization. It has the potential to result in financial losses due to unauthorized payments and erroneous transaction amounts. Additionally, it may damage the organization’s reputation, as customers may lose trust in the platform’s security. This vulnerability could also expose the organization to legal liabilities if fraudulent transactions occur. Failing to address this specific vulnerability could have far-reaching consequences for business operations, compliance, and overall financial stability.</p><h4>Conclusion</h4><p>The business logic vulnerability uncovered in this Android application underscores the significant risks these vulnerabilities pose to organizations. It encompasses the potential for financial losses, reputational damage, and legal consequences, particularly in scenarios where unauthorized payments and data manipulation can occur.</p><p>In today’s digital landscape, proactive identification and mitigation of such vulnerabilities are imperative to safeguard assets and maintain trust. Addressing these issues should be prioritized as a critical component of a robust cybersecurity strategy and business continuity plan.</p><p>Happy Hacking!!! Thanks for reading…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbd342614413" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Privilege Escalation via Password Reset]]></title>
            <link>https://medium.com/@shrutirprakash/privilege-escalation-via-password-reset-c45891f65383?source=rss-630b2f46abf3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c45891f65383</guid>
            <category><![CDATA[web-hacking]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[account-takeover]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <dc:creator><![CDATA[Shruti Prakash]]></dc:creator>
            <pubDate>Sat, 30 Sep 2023 15:23:33 GMT</pubDate>
            <atom:updated>2023-09-30T16:44:32.683Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey folks! Hope you’re all doing well. This writeup is about one of my recent findings Privilege escalation which is a simple yet impactful vulnerability.</p><p>Throughout the blog, I’ll refer to the target as redacted.com.</p><h4>What is Privilege Escalation?</h4><p>Privilege escalation is the process of gaining elevated or equivalent permissions on a computer system or network than originally authorized, often by exploiting vulnerabilities or weaknesses, potentially leading to unauthorized control over the system and data. This is a common objective for attackers seeking to compromise systems or networks.</p><h4>Exploitation</h4><p>During a pentest activity, I discovered a password reset functionality that sent the userId parameter in plain text in the backend API. I checked for validations by altering the parameter’s value throughout the application and noticed that the application was vulnerable to Insecure Direct Object Reference (IDOR).</p><p>The reset password request looked like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NZTHbiY9PiFDXeecDZCftw.png" /></figure><p>During the password reset, the application lacked validation for the current password of users. This made it remarkably simple to gain access to other users’ accounts.</p><p>Changing the userId without the old password yielded a 200 OK response and requested the user to log in with the new password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NVAMRmSnBkyRHYW7XooINw.png" /></figure><p>I attempted to log in to the privileged account, and just like that, I was an administrator…</p><pre>{<br>&quot;userId&quot;:24,<br>&quot;email&quot;:&quot;admin@redacted.com &quot;,<br>&quot;username&quot;:&quot;username&quot;,<br>&quot;token&quot;:&quot;admin_token”,<br>&quot;message&quot;:&quot;User login successful!&quot;,<br>&quot;status&quot;:200<br>}</pre><h4>Impact</h4><p>Privilege Escalation can allow attackers to access sensitive user data, manipulate content, or perform actions with administrative privileges, compromising user privacy and application integrity while potentially damaging an organization’s reputation.</p><h4>Conclusion</h4><p>Privilege escalations involve patching vulnerabilities promptly, implementing strong access controls and user authentication, and conducting regular security testing to identify and address potential weaknesses, ensuring a proactive defense against unauthorized access and data breaches.</p><p>Happy Hacking!!! Thanks for reading…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c45891f65383" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>