voyagger icon indicating copy to clipboard operation
voyagger copied to clipboard

Tampering with price parameter [Proposed Label] Bug

Open yaswanthsaivendra opened this issue 3 years ago • 8 comments

While proceeding to checkout, one can intercept the request and manipulate the price parameter and buy the products at lower price . There should be an functionality implemented at the backend to cross check the price against the corresponding product before proceeding to stripe payment portal.

yaswanthsaivendra avatar Sep 17 '21 13:09 yaswanthsaivendra

So @yaswanthsaivendra can you try working on that?

avneesh0612 avatar Sep 20 '21 03:09 avneesh0612

Sry , I am not familiar with tech stack used , otherwise I would be doing that. I am python developer. Hopefully someone fix this.

yaswanthsaivendra avatar Sep 20 '21 08:09 yaswanthsaivendra

Oh ok, no problem.

avneesh0612 avatar Sep 20 '21 15:09 avneesh0612

Hey @avneesh0612 I would like to work on that, if its fine..

princeprag avatar Oct 01 '21 12:10 princeprag

Great @princeprag . You can work on it

avneesh0612 avatar Oct 02 '21 01:10 avneesh0612

@avneesh0612 , i was not able to reproduce the bug.. what does "intercept" mean here.. tried doing inspect while clicking on checkout button... wasn't able to find the request url though

princeprag avatar Oct 02 '21 04:10 princeprag

Um @princeprag I don't know jow yo recreate the eroor. @yaswanthsaivendra might be able to tell

avneesh0612 avatar Oct 02 '21 05:10 avneesh0612

@princeprag , intercept in the sense, one can capture the request when its being transferred from frontend to backend. So that they can change the data that is being transformed. So, one can change the price parameter to decrease the value. For reproducing this bug, u need to set up an intercepting proxy between the browser and your server. If u aren't able to do that, Still u can understand the working of code and able to solve it by changing the implementation. Remediation : Implement a functionality in backend to check whether the price is being the same with the help of the respective product id. (before proceeding to stripe payment portal). @avneesh0612 , if possible provide him with any source , So that he can get better understanding of the payment processing implementaion used.

yaswanthsaivendra avatar Oct 02 '21 08:10 yaswanthsaivendra