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. |

| Subject: | Re: [Full-Disclosure] Crash IE with 11 bytes ;) |
|---|---|
| Date: | Thu, 29 Jul 2004 15:19:50 +0100 |
Here's a detailed description of what's going wrong with [STYLE]@;/* The problem is the unterminated comment "/*"; IE computes the length of the comment for a memcpy opperation by substracting the end pointer form the start pointer. The comment starts behind "/*" and should end at "*/", but since there is no terminator, the start of the string is used. IE there for calculates the string to be -2 unicode characters long. The subsequent memcpy will try to copy 0xFFFFFFFE bytes untill it gets a read or write exception. (You will see the offending instruction is a REP MOVSD) Unfortunately for us hackers, I believe you cannot control the length value for the memcpy other then setting it to -2. So you will always cause a read or write exception. You will only overwrite a small part of the heap before the exception is caused so overwriting the SEH to controlling execution is also ruled out. Conclusion: lame DoS I did find another way to use this to cause an exception at a different location: [SCRIPT] <snip> [/SCRIPT] This will crash because of a null pointer in a CMP [ESI], 0. It didn't look interesting to me, so no detailed investigation. Cheers,
Cheers, nice analysis, nasty bug, I bet the guy who wrote the code is feeling very sheepish :o) TCS
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Full-Disclosure] Damb Beagles, The Central Scroutinizer |
|---|---|
| Next by Date: | Re: [Full-Disclosure] Re: Automated SSH login attempts?, Max Valdez |
| Previous by Thread: | Re: [Full-Disclosure] Crash IE with 11 bytes ;), Willem Koenings |
| Next by Thread: | [Full-Disclosure] Question for DNS pros, Paul Schmehl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |