Back - Refresh - Attack To Obtain User Credentials
The report describes a 'back-refresh attack' where a user registers, presses the browser back button to reach an expired document page, and then resubmits the form. An attacker intercepting the resubmitted request can capture the user's email and password in plaintext.
- Disclosed after 22 hours
Back - refresh attack is attack which enables an adversary to obtain application credentials by going by to previous page and re-submitting the expired-document.
How to perform:
- Register to https://<some-site>/auth/register/
- Once registered, press "Back" on the browser window. Now you'll see the "Document Expired" page.
- Now run an interceptor (burp/tamper data)
- Click "Tray again" on the web page
- Click "Re-send data"
- Watch the intercepted request.
You'll observe that login credentials both email and passwords being resubmitted by browser get captured.
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 application does not prevent the browser from resubmitting credentials on a back-refresh, and the credentials are sent in a way that can be intercepted.
What the attacker needed
Attacker can intercept network traffic; victim performs back-refresh
How it was found
- Register on the site's registration page.
- Press the browser's Back button to see the 'Document Expired' page.
- Start an intercepting proxy.
- Click 'Tray again' on the web page.
- Click 'Re-send data'.
- Observe the intercepted request containing the credentials.
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 submit a form and press back, the browser may ask to resend the data. This report says an interceptor can capture the email and password you typed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.