On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > no, a browser written in java would not have buffer overflow/stack > issues. the jvm is specifically designed to prevent it ... > > -- Michael > > On 3/29/06, Pavel Kankovsky <[EMAIL PROTECTED]> wrote: > > On Mon, 27 Mar 2006, Brian Eaton wrote: > > > > > If I run a pure-java browser, for example, no web site's HTML code is > > > going to cause a buffer overflow in the parser. > > > > Even a "pure-java browser" would rest on the top of a huge pile of native > > code (OS, JRE, native libraries). A seemingly innocent piece of data > > passed to that native code might trigger a bug (perhaps even a buffer > > overflow) in it... > > > > Unlikely (read: less likely than a direct attack vector) but still > > possible.
Pavel is talking about native code, which the JVM needs to interface to the rest of the OS. Native code can have buffer overflows, and those bugs can be exploitable. For example: http://www.appsecinc.com/resources/alerts/general/WEBSPHERE-001.html The risk is several orders of magnitude less, but it is there. Regards, Brian _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
