Skip to content
CSRF Disclosed report Beginner

CSRF - Disabling orders at https://panel.stopthehacker.com/manage/disable-order/order/ID

The order management endpoint accepted state-changing POST requests without a CSRF token, so a page on another site could disable a user's order while they were logged in. An attacker could do this if they guessed the order ID, which the report says would require many requests.

internetwache Follow

Originally disclosed on HackerOne

  • Triaged in 16 days
  • Disclosed after 3 months

Hi there,

there's a CSRF which would allow an attacker to disable an order.

Host: https://panel.stopthehacker.com

#Steps to reproduce:

    1. Login to the panel.
    1. Subscribe/order a new scan
    1. Go to the Billing page and get the order ID
    1. Put the order id in the PoC below and submit it
    1. The order will be disabled now.
    1. Same procedure should work for enabling a service.

An attacker would need to guess the order ID by sending some (a lot of) requests.

#PoC:

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
    <form action="https://panel.stopthehacker.com/manage/disable-order/order/240720" method="POST">
      <input type="hidden" name="reason" value="Other" />
      <input type="hidden" name="otherReason" value="&#45;" />
      <input type="hidden" name="submit" value="" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

You may need to adjust your order ID in the url.

#How to fix? Add a CSRF token and validate it on the server.

Thanks, Sebastian

The original report as published on HackerOne, by internetwache. 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

Root cause

Likely the order disable endpoint performed a state-changing action on a POST request authenticated only by the session cookie, with no anti-CSRF token checked on the server.

Impact

An attacker could disable a victim's order, and the same approach should work for enabling a service, but only if the attacker can guess the order ID, which the report says needs many requests.

What the attacker needed

Victim is logged in; attacker guesses the order ID; victim visits attacker's page

How it was found

  1. Log in to the panel.
  2. Subscribe or order a new scan.
  3. Open the Billing page and note the order ID.
  4. Place the order ID in the proof-of-concept form and submit it.
  5. The order is then disabled.

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 are logged in to a site, your browser automatically sends your session cookie with every request to that site. If the site accepts a request that changes something without also checking for a secret value that only its own pages know, another website can make your browser send that request for you. This is called cross-site request forgery, and here it let someone else switch off your order.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by internetwache

View all

10 more disclosed reports, best first.

More from StopTheHacker

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.