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.
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.
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
- Select a service that requires a court fee payment and enter the required details.
- Capture the HTTP request sent to the server using an interception proxy.
- Notice the fee parameters in the request that carry the court fee amount.
- Change the fee values in the intercepted request and forward it to the server.
- 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.