Cyber Risks · PortSwigger Research

Password field with autocomplete enabled

Summary: PortSwigger Research describes a password field with autocomplete enabled, where browsers that remember entered credentials store them locally and retrieve them on future visits to the same application. The stored credentials can be captured by an attacker who gains control of the user's computer, or retrieved through a separate vulnerability such as cross-site scripting, and the suggested fix is adding autocomplete="off" to the FORM or INPUT tags, though modern browsers may ignore it.

Why it matters: PortSwigger notes that not disabling autocomplete may cause problems obtaining PCI compliance, and the same browser-stored credentials an attacker pulls through an XSS flaw are the ones your users rely on everywhere else.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related