Web Hack List

Other nomination

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

Researcher
shreeraj
Published by
shreeraj.blogspot.com

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.