Web Hack List

Collected research

Password extraction from Ajax/DOM/HTML5 routine

Shreeraj's security blog: Password extraction from Ajax/DOM/HTML5 routine

A short note on sloppy Ajax login code: variables such as the crafted request URL are declared without scope and stay global on the DOM for the life of the page. Given a DOM XSS foothold, iterating over window and printing every string property recovers login.do?user=foo&pwd=foobar, leaking the typed username and password.

Record

Document
Shreeraj's security blog: Password extraction from Ajax/DOM/HTML5 routine
Researcher
shreeraj
Published by
shreeraj.blogspot.com
Topic
Browser

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of shreeraj, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .