<?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 mani DILLS on Medium]]></title>
        <description><![CDATA[Stories by mani DILLS on Medium]]></description>
        <link>https://medium.com/@manidills41?source=rss-be2cd9ffa31a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CugkV3kBPcCQ42f2</url>
            <title>Stories by mani DILLS on Medium</title>
            <link>https://medium.com/@manidills41?source=rss-be2cd9ffa31a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:21:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manidills41/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[Shop Any Product’s With The Price As Much You Want !]]></title>
            <link>https://medium.com/@manidills41/shop-any-products-with-the-price-as-much-you-want-58b120ecb970?source=rss-be2cd9ffa31a------2</link>
            <guid isPermaLink="false">https://medium.com/p/58b120ecb970</guid>
            <category><![CDATA[security-bug]]></category>
            <dc:creator><![CDATA[mani DILLS]]></dc:creator>
            <pubDate>Sat, 12 Sep 2020 14:58:27 GMT</pubDate>
            <atom:updated>2020-09-12T14:58:27.995Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shop Any Product’s With The Price As Much You Want !</h3><p>Hey, It was very lazy Morning and Planned to buy some T-shirts so went to one site ( Not able to disclose the site name because bug is still there ), while looking the site feels like somthing wrong in it. Started to test it and with in 5 mins got one intersting bug !!!</p><p><strong>The Parameter tampering attack relies on the manipulation of parameters changed by the user so as to change application information like user credentials and permissions and amount of product, etc. Usually, this data is passed in post request or in hidden kind fields.<br>We will be looking into price manipulation vulnerability that is Rarely present in online shopping carts and payment gateways these days.</strong></p><p>Nowadays finding tampering bug was very rare, Got this due to a simple business logic error in it.</p><p>Visited site and open the product you don’t want to buy and add it in the cart like I added t-shirts and intercepted the request then changed the quantity to -10.<br><em>Value: -10 * 299 </em>₹<em> = -2990 </em>₹ <em>/-</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ROVEyNy5FzIEP_FI.png" /></figure><p>Then to balance the cart, again I added 10 T-shirts-<br><em>Value: 10*320 </em>₹<em> =3200 </em>₹ /-</p><p>Now, My cart value was 210 then order successfully placed for 210 ( 10 T-Shirts).</p><p>Wait !! What how comes order sucessfully placed ?</p><ol><li>No hash values comparsion used before payment</li><li>No negative values filter before payment</li></ol><p>Later, I reported the bug details with them and got reply with in days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*bEZo1guW54hFuVMsHytkHQ.png" /></figure><h3>Remediation:</h3><ul><li>Don’t rely on controls which depend on the browser — <strong>don’t depend on client-side validation</strong> and storing in the browser.</li><li>When the product is added in the cart calculate <strong>md5 sum or any hash</strong> for the total request and compare with the backend so that if any manipulation happened in the request for any value it is different from server’s hash.</li><li>Validate input for <strong>improper characters</strong> and <strong>data types</strong>. Specifically for this case, we can keep a check for quantity with negative range. Keeping range from 1–10 since the max value is defined we can define minimum value. Always define the maximum as well as minimum value that the application will accept.</li></ul><h3>Reference:</h3><p><a href="https://www.owasp.org/index.php/Web_Parameter_Tampering">https://www.owasp.org/index.php/Web_Parameter_Tampering</a></p><p><a href="https://hackerone.com/reports/403783">https://hackerone.com/reports/403783</a></p><p><a href="https://infosecwriteups.com/what-is-parameter-tampering-5b1beb12c5ba">what is Parameter Tampering</a></p><p><a href="https://yassineaboukir.com/blog/price-manipulation-vulnerability-in-e-commerce-platforms/">https://yassineaboukir.com/blog/price-manipulation-vulnerability-in-e-commerce-platforms</a></p><p><a href="https://medium.com/bugbountywriteup/shopping-products-for-free-parameter-tampering-vulnerability-8e09e1471596">https://medium.com/bugbountywriteup/shopping-products-for-free-parameter-tampering-vulnerability-8e09e1471596</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58b120ecb970" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>