Skip to content
Business logic Disclosed report Intermediate

Price Manipulation

The report suggests that the payment request sent to PayPal includes amount fields that can be modified by the user, potentially allowing an attacker to pay an arbitrary amount. The author could not confirm the issue because the staging payment system failed for both tampered and legitimate transactions.

dmc Follow

Originally disclosed on HackerOne

  • Triaged in 31 hours
  • Fixed in 3 days
  • Disclosed after 2 months

Hey guys,

I put this down as a 2nd bug as it may have been overlooked from the previous report and I figured it'd be easier to track a fix and add comments separately...

When completing an order it looks like it may be possible to pay an arbitrary amount - what happens is a request is generated to Paypal such as...

https://www.paypal.com/cgi-bin/webscr?cmd=_cart&charset=utf-8&notify_url=https://staging.uzbey.com/uc_paypal/ipn/147&cancel_return=https://staging.uzbey.com/uc_paypal/wps/cancel&no_note=1&no_shipping=1&return=https://staging.uzbey.com/uc_paypal/wps/complete/147&rm=1&currency_code=USD&handling_cart=0.00&invoice=147-340&tax_cart=0.00&[email protected]&upload=1&lc=US&country=US&[email protected]&paymentaction=authorization&amount_1=0.00&item_name_1=128x128%20Square&item_number_1=128X128&quantity_1=2&on0_1=Price%20for%20128X128%20Sqaure&os0_1=20%20additional%20squares&amount_2=0.00&item_name_2=128x128%20Square&item_number_2=128X128-1-128&quantity_2=1&on0_2=Price%20for%20128X128%20Sqaure&os0_2=1%20additional%20square&amount_3=&item_name_3=&item_number_3=&quantity_3=&on0_3=&os0_3=&form_build_id=form-qllawsSylHhupaCP_DDy8XKN0rTD3vtE4QCVMG2inSw&form_token=nLeB9irRa2t_rckebJLbgi_JU3saATtFi_Fw5FrGISs&form_id=uc_paypal_wps_form&op=form-qllawsSylHhupaCP_DDy8XKN0rTD3vtE4QCVMG2inSw

If we intercept and modify this there are a few amount fields (which I set to 0.00 in this example)and it appears to be able to let me set an arbitrary price that I want to pay on the transaction :)

I have tried to complete the payment with payment for a smaller amount and it errored - but it's the same error I get when trying to complete a payment without any tampering and with valid info - so I can only assume that this doesnt work in staging? I tried card payments also with valid info and they too failed. So overall it's difficult to say this bug exists because the payment code doesn't seem to fully work, but I suspect it does :)

Attachments

The original report as published on HackerOne, by dmc. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could potentially pay an arbitrary amount for an order, but the exploit could not be confirmed because the staging payment system failed for both tampered and legitimate transactions.

What the attacker needed

Ability to intercept HTTP requests; a product order in progress

How it was found

  1. Start an order and proceed to payment.
  2. Intercept the request generated to PayPal.
  3. Modify the amount fields to a chosen value.
  4. Attempt to complete the payment.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you buy something online, your browser sends a request to a payment service like PayPal with the price included. If that price can be changed by the user before the request is sent, they might pay less than they should. This report thinks that might be possible here, but the payment system was not working well enough to prove it.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Uzbey

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.