I Got Admission Without Paying Fees | IIIT Sri City Payment Byp
The payment gateway's transaction status parameters were client-controlled, so an attacker could change a declined payment response into a successful one. This allowed the applicant to have their admission fee marked as paid without actually transferring any money.
Published on anudeep-vysyaraju.medium.com
The Indian Institute of Information Technology Sri City (IIIT Sri City) is an Institute of National Importance established in 2013 by the Ministry of Education, Government of India, in partnership with the Government of Andhra Pradesh and industry partners.
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 application trusted payment status parameters supplied by the client instead of verifying the transaction directly with the payment gateway.
Impact
The transaction was marked successful without payment, and a confirmation email was received; the same payment gateway is used by other institutions under CEP Digivarsity, so the flaw could affect them too.
What the attacker needed
Access to the admission form; ability to intercept HTTP traffic; a valid email address
How it was found
- Fill out the admission application form and proceed to payment.
- Select fee components and choose UPI as the payment method.
- Intercept the payment response request in Burp Suite.
- Modify the response_code, response_message, and error_description parameters to indicate success.
- Forward the modified request to the server.
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 online, the payment gateway tells the college's website whether the payment worked. Here, that message was sent in a way the user's browser could edit before it reached the college. By changing the message from 'declined' to 'successful', the user tricked the system into thinking they had paid.
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.