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

RE: [Full-disclosure] Concurrency-related vulnerabilities in browsers -e

Subject: RE: [Full-disclosure] Concurrency-related vulnerabilities in browsers -expect problems
Date: Sun, 13 Aug 2006 07:35:23 -0400
"... Larry Seltzer reports from the scene."

Film@11

Larry Seltzer
eWEEK.com Security Center Editor
http://security.eweek.com/
http://blog.eweek.com/blogs/larry%5Fseltzer/
Contributing Editor, PC Magazine
larryseltzer@ziffdavis.com 

-----Original Message-----
From: full-disclosure-bounces@lists.grok.org.uk
[mailto:full-disclosure-bounces@lists.grok.org.uk] On Behalf Of Michal
Zalewski
Sent: Saturday, August 12, 2006 12:15 PM
To: bugtraq@securityfocus.com; full-disclosure@lists.grok.org.uk
Cc: vulnwatch@vulnwatch.org
Subject: [Full-disclosure] Concurrency-related vulnerabilities in
browsers -expect problems

Good morning,

  "Fame-hungry sociopath torches cars, finds browser flaws

  WARSAW, Poland (AP) -- police are on a look out for a local adolescent
  vandal who continues to terrorize local IT workers in what appears to
be
  a bizzare bid for fame. Larry Seltzer reports from the scene."

Well, I just had to do this, forgive me.

There seems to be an interesting class of concurrency-related bugs in
popular browsers. This is quite similar to signal-handling flaws you
might
be familiar with: many browser events can be triggered asynchronously,
for
example using Javascript timers, while some components of the browser
are
still running. In many cases, a new action might be initiated that
interferes with or counters the interrupted (or still executing) task.

Problems like this may leave the program in inconsistent state, and
later
cause double frees or related issues. That usually opens the door to
system compromise through careful manipulation of memory contents. The
attacks would depend heavily on network latency and jitter, but can be
executed.

Given that the tip of that iceberg has been probed recently - for
example
here: http://www.mozilla.org/security/announce/2006/mfsa2006-46.html - I
assumed it is now the time to post my older example.

A fairly reliable example is when Firefox is interrupted by a Javascript
handler while parsing a deeply nested XML document for display. If the
browser is then redirected from the script to a new location, the
unfinished parsing process is aborted, and all its structures are freed
-
but these were not left in the expected state by the parser.

This is a demo that will usually crash Firefox in a couple of seconds
(SEGV on Linux and MacOS, silent crashes on Windows):

  http://lcamtuf.coredump.cx/ffoxdie.html

Have fun!

PS. For the easily amused: MSIE loves "<DT><H1
STYLE=width:1px><LI></H1>"

/mz
http://lcamtuf.coredump.cx/

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

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