Skip to content
Business logic Write-up Beginner

Price Tampering Vulnerability in the Supreme Court of India

The e-filing module of the Supreme Court of India accepted the court fee amount from client-supplied request parameters, so a user could change the payable fee to a much smaller value. An attacker could register a caveat request while paying only a fraction of the intended court fee.

deepak7903800 Follow

Published on medium.com

The Supreme Court of India is the supreme judicial authority and the highest court of the Republic of India. It is the final court of appeal for all civil and criminal cases in India.

Deepak kumar, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the server trusted the fee values submitted in the HTTP request instead of recalculating the court fee from its own records.

Impact

An attacker could pay a much smaller court fee than required for a caveat request registration, causing a financial loss to the court; the report says the issue has since been patched.

What the attacker needed

Access to the e-filing module; an interception proxy

The fix

The server should recalculate the court fee from its own records and ignore client-supplied fee values; the report states the issue was patched after disclosure to CERT-IN.

How it was found

  1. Select a service that requires a court fee payment and enter the required details.
  2. Capture the HTTP request sent to the server using an interception proxy.
  3. Notice the fee parameters in the request that carry the court fee amount.
  4. Change the fee values in the intercepted request and forward it to the server.
  5. Observe that the payment page shows the reduced amount instead of the original fee.

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 write-up has not been written yet. The Original tab links to the source.

When you pay for something online, the price should be decided by the server, not by your browser. Here the website trusted a number sent from the browser, so a person could edit that number before it was sent and pay far less than the real fee.

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 by deepak7903800

View all

1 more disclosed report, best first.

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.