Password type input with auto-complete enabled
The login form's password field had browser autocomplete enabled, so the browser could store and refill the password. An attacker with local access to the machine could read the cleartext password from the browser's saved data.
- Triaged in under an hour
- Disclosed after 33 hours
Vulnerability description When a new name and password is entered in a form and the form is submitted, the browser asks if the password should be saved. Thereafter when the form is displayed, the name and password are filled in automatically or are completed as the name is entered. An attacker with local access could obtain the cleartext password from the browser cache. This vulnerability affects /. Discovered by: MANUAL . Attack details Password type input named sign_in[password] from unnamed form with action http://www.localize.io/ has autocomplete enabled.
HTTP headers Request GET / HTTP/1.1 Referer: http://www.localize.io/ Host: www.localize.io Connection: Keep-alive Accept-Encoding: gzip,deflate User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36 Accept: /
Response HTTP/1.1 200 OK Date: Fri, 18 Apr 2014 04:24:20 GMT Server: Apache Pragma: no-cache Expires: Mon, 24 Mar 2008 00:00:00 GMT Cache-Control: no-cache, no-store X-Frame-Options: sameorigin Set-Cookie: PHPSESSID=fog330ba62qb2gvn292k4n1q83; path=/; HttpOnly Vary: Accept-Encoding Content-Length: 5490 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=utf-8 Original-Content-Encoding: gzip View HTML response
How to fix this vulnerability The password auto-complete should be disabled in sensitive applications. To disable auto-complete, you may use a code similar to: <INPUT TYPE="password" AUTOCOMPLETE="off">
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 password input lacked an autocomplete="off" attribute, allowing the browser to save and autofill the credential.
What the attacker needed
Attacker has local access to the victim's device
The fix
The password field should be changed to disable autocomplete, for example by adding an autocomplete attribute set to off.
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 type a password into a web form, your browser often offers to remember it. If it does, the password is stored on your computer and filled in automatically next time. This report says that because the site allowed this, someone who can use your computer could recover the saved password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.