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 FullDisclosure
[Top] [All Lists]

Re: [Full-disclosure] Microsoft Windows XP/2003/Vista memory corruption

Subject: Re: [Full-disclosure] Microsoft Windows XP/2003/Vista memory corruption 0day
Date: Fri, 22 Dec 2006 15:31:33 +0300
Dear Alexander Sotirov,


AS> The  HardError  message  is handled by the UserHardError function in
AS> WINSRV.DLL. It calls GetHardErrorText to read the message parameters
AS> from  the address space of the sender. The GetHardErrorText function
AS> returns  pointers to the caption and text of the message box. If the
AS> caption  or text parameters start with the \??\ prefix, the function
AS> inexplicably frees the buffer and returns a pointer to freed memory.
AS> After  the  message  box  is  closed by the user, the same buffer is
AS> freed  again  in  the  FreePhi  function, resulting in a double free
AS> vulnerability.

I  may  be  wrong, but probably this fact doesn't explain the garbage on
the  screen in MessageBox. Even "use after free()" vulnerability doesn't
explain  it, because garbage is permanent. There should be some more bug
before second free().


--Thursday, December 21, 2006, 11:11:29 PM, you wrote to 
3APA3A@SECURITY.NNOV.RU:

AS> 3APA3A wrote:
Killer{R}  assumes  the problem is in strcpy(), because it should not be
used for overlapping buffers, but at least ANSI implementation of strcpy
from  Visual  C  should be safe in this very situation (copying to lower
addresses).  May be code is different for Windows XP or vulnerability is
later in code.

AS> We discovered this bug some time ago and were preparing an advisory when it 
was
AS> publicly disclosed. Since the exploit is already public, here's my analysis 
of
AS> the vulnerability:

AS> 
http://www.determina.com/security.research/vulnerabilities/csrss-harderror.html

AS> It's a double free bug that leads to arbitrary code execution in the CSRSS 
process.

AS> Alex


-- 
~/ZARAZA
Ïî÷òåííûå èñêîïàåìûå! Æäó îò âàñ äàëüíåéøèõ ïèñåì.  (Òâåí)

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

<Prev in Thread] Current Thread [Next in Thread>