Fun with the fuzzer
By Claudio Santambrogiocsant. Friday, August 3, 2007 10:42:36 AM
security, desktop, WEEKLY, fuzz
Yesterday
Mozilla released their jsfunfuzz tool at the Blackhat convention in Las Vegas. The tool is very useful for
stress-testing the javascript engine and its stability. While running the tool, we found four crashers - one of which might have some security implications.
Here is a build that should address all of the issues: test it, give it a spin with the tool - and please report any crashers you might find with the fuzzer, and most importantly: send us a
crashlog along with it!
Have
fuzz fun! And many thanks to Mozilla for sharing their tool.
Download:Windows MSIWindows ClassicMacintoshUnix
Showing comments 51 -
100 of 137.
« Previous 1 2 3 Next »
Renansuperenan # Saturday, August 4, 2007 5:51:21 AM
Thank you so much for the help, I did this thing you suggested and I'll be browsing for a while to see if those weird problems will continue anyway... hope not, but thank you anyway!
EDIT: LOL, it actually DID take longer than I expected, but once again it crashed -___-
Dear God, what's gonna be of me lol
Jesse Rudermanjruderman # Saturday, August 4, 2007 6:21:33 AM
"How long do you think the test should be run? One hour? Or longer? I noticed that some person on mozilla page runs the test overnight."
I've run it for over 200 hours, mostly when I'm asleep, and I still find new bugs with every once in a while. It helps that I can test in a command-line shell version of Firefox's JavaScript engine (rather than a browser) and I have a dual-core CPU
Jesse Rudermanjruderman # Saturday, August 4, 2007 6:24:45 AM
"What? Opera didn't respond to Mozilla? Tsk tsk!"
Actually, I got an enthusiastic response the first time I sent the tools to a developer at Opera. I'm not sure why the author of that article said that Opera didn't respond. Maybe someone else from Mozilla sent it to Opera through a different channel and didn't get a response because someone at Opera figured they had already responded adequately to me?
Jesse Rudermanjruderman # Saturday, August 4, 2007 6:28:23 AM
"So why did you find so significantly fewer crashers and security things in Opera with that tool?"
At first glance, "Mozilla found 27 exploitable bugs with its tool and Opera found 1" makes it sound like Mozilla has a buggier JavaScript engine. Maybe that's true, but it's hard to tell from the numbers at this point, for at least three reasons:
* Mozilla has been using this tool for almost a year, but Opera has only been using it seriously for a few days.
* The tool is tuned to test Mozilla's JavaScript engine. For example, it tries very hard to test the partial decompilation that happens when Mozilla's JavaScript engine generates error messages like "a.b(x + y) is not a function". Most JavaScript engines don't even try to make beautiful error messages like that. Perhaps a version tuned to Opera's features and quirks and weaknesses will find bugs in Opera more easily.
* The tool uses some hooks in Mozilla's JavaScript shell to test garbage collection. gc() triggers a garbage collection right away and gczeal(2) changes garbage collection scheduling so it happens every time it's allowed (e.g. every time something is allocated). This heavy testing of garbage collection accounts for a good percentage of the exploitable crashes found by the tool, including all three of the bugs I showed in the presentation. I don't know whether Opera has similar hooks.
* 11 of them were in code added for Firefox 2 and fixed before Firefox 2 were released (whiteboard "js1.7" + keyword "verified1.8.1"). Another 4 were in code added for Firefox 3 and fixed before Firefox 3 was released (whiteboard "post-1.8-branch" and similar). So 15 of the bugs never made it into released versions of Firefox.
Stifu # Saturday, August 4, 2007 10:10:14 AM
Although I didn't try Opera build 8005 yet, Safari 3 beta is faster than Opera 9.22 when it comes to Javascript, taking the following test as a reference (and on all the computers I tried it on): http://celtickane.com/projects/jsspeed.php
illiad # Saturday, August 4, 2007 10:26:27 AM
GuilhermeSpyMan # Saturday, August 4, 2007 11:05:06 AM
@GT500, the language in Mercado Livre is portuguese.
[]s
BleedingHeart # Saturday, August 4, 2007 12:48:23 PM
Khaled KhalilKhaled-Khalil # Saturday, August 4, 2007 1:15:38 PM
@BleedingHeart, i confirm that happens to me too a lot, but me too don't know what to do.
@devs, so 9.23 is going to be released, is there any changes yet ? or what changes are supposed to be done for us to concentrate catching bugs arround ?, ofcourse if we are invited to do.
bildos # Saturday, August 4, 2007 1:48:59 PM
bildos # Saturday, August 4, 2007 2:06:22 PM
WildEnte # Saturday, August 4, 2007 2:38:00 PM
Arthur WilkinsonGT500 # Saturday, August 4, 2007 5:21:59 PM
Originally posted by Captain Stifu:
When I did some browser speed tests, and found the Safari 3 beta for Windows was faster, non-troppo enlightened me to this. That article discusses some bugs in Safari that make it appear to process JavaScript significantly faster than other browsers.
I don't know if those bugs apply to the Mac version of Safari, so I can't say anything about speed tests in Mac.
Stifu # Saturday, August 4, 2007 5:46:00 PM
Arthur WilkinsonGT500 # Saturday, August 4, 2007 6:39:56 PM
Originally posted by Captain Stifu:
True. Unfortunately the issues with the JavaScript counter make any JavaScript test results unreliable...
Maybe they'll give us another beta here soon to test with, that way we know for certain just how fast it is.
Øyvind ØstlundNoteMe # Saturday, August 4, 2007 10:33:59 PM
[Edit]Tried to run it with MemGuard, for 15-16 hours, and after that the processor use was next to zero, and MemGuard had saved information to a file, but Inspector had nothing. No idea what it wanted to save, but it didn't seem like a crash, but it did neither look like Opera wanted to run the script anymore though MemGuard still grew bigger.
- ØØ -
Kamaleshkamalesh # Saturday, August 4, 2007 10:42:18 PM
Andresandresruiz # Sunday, August 5, 2007 12:14:03 AM
Mercado Livre works fine on my Build 8805 on Windows XP SP2.
___
My Opera Freezes at: http://www.mathmos.co.uk/
Can anyone confirm? Opera become unusable, no button works I have to use CTRL+ALT+DEL to end Opera by the force.
stephp # Sunday, August 5, 2007 5:18:32 AM
Do you have the same problem when fit-to-width is activated?
Is it related to the javascript config errors we're talking about here?
Thanks
stephp # Sunday, August 5, 2007 5:22:25 AM
Jumak # Sunday, August 5, 2007 8:32:47 AM
Confirmed! Mine freezes too at www.chrisisaak.com when fit-to-width setting is changed.
Stifu # Sunday, August 5, 2007 8:34:39 AM
stephp # Sunday, August 5, 2007 8:52:24 AM
stephp # Sunday, August 5, 2007 11:54:11 AM
Fit-to-width is enabled before I try and join the website, it's not that I first connect to the site and then hit Ctrl-F11 on and off after getting there.
graste # Sunday, August 5, 2007 7:33:52 PM
wupperbayer # Sunday, August 5, 2007 8:29:21 PM
As you're German I just guide you to this thread: http://opera-info.de/forum/thread.php?threadid=1664 instead of translating it into English.
rwf # Sunday, August 5, 2007 8:38:17 PM
To remove the weekly, just do:
Edit: Opps, missed the fact the graste is a .de person.
g4qb # Monday, August 6, 2007 12:48:59 AM
vista possibly reserves this keyboard shortcut for itself?
have tried modifying shortcut to ctrl-alt-0, & it works.
for those, like me, who like to keep the default keyboard shortcuts,
ctrl-shift-alt-0 works.
newscpq # Monday, August 6, 2007 10:10:27 AM
I've run it 100 times with around 20 errors (not opera crashes, just error messages).
Should we have to post the errors to the bug tracking system ?
newscpq
Øyvind ØstlundNoteMe # Monday, August 6, 2007 10:14:35 AM
- ØØ -
newscpq # Monday, August 6, 2007 10:30:17 AM
I'm pretty sure I didn't understand what we have to do...
[edit]
ok, I've seen there is a python script...
I believe there may be a windows script that doesn't need any additional scripting environment to windows...
too time consuming for me.
SUGGESTION: modify the orignal post by CSANT with a procedure, so that it doesn't have to be found out from 50 messages...
Øyvind ØstlundNoteMe # Monday, August 6, 2007 10:43:04 AM
2). Start Inspector.
3). Start Opera.
4). Openup the fuzzy test web page.
-- Don't touach anything, just let it run and run and run --
5). If inspector pops up, you have a crash, and prorbably Opera will disapear from the screen. It will save a log.
Extra tip. Leave opera alone while running the test, and probably all other apps too, hence why I let it run over night, so you are sure it is the fuzzers fault when something happend.
You should probably read all of this too before trying: http://www.opera.com/support/search/view/432/
- ØØ -
WildEnte # Monday, August 6, 2007 5:00:34 PM
graste # Monday, August 6, 2007 5:57:44 PM
Axel SiebertIIXII # Monday, August 6, 2007 9:34:51 PM
rwf # Monday, August 6, 2007 10:06:00 PM
Well there is a way, IF you don't install Opera.
Opera creates a 'profile' directory called usersettings in the un-tarred directory. A nice way to check things out before 'installing' opera.
Øyvind ØstlundNoteMe # Tuesday, August 7, 2007 7:53:12 AM
Thanks, sometimes I need help to read
- ØØ -
Kamaleshkamalesh # Wednesday, August 8, 2007 5:49:03 AM
besti # Wednesday, August 8, 2007 5:53:12 AM
http://www.vecer.si/
Version 9.23
Build 657
Platform Linux
EricJH # Wednesday, August 8, 2007 12:06:28 PM
PawełYgrek.pl # Wednesday, August 8, 2007 2:15:02 PM
Pleeeease add to Opera possibilty to check spelling when type, and minimalize to tray options.
My FireFox use 130Mb ram! And i'm using it only because those two features :/
Pleeeeeeeease.
rseiler # Wednesday, August 8, 2007 2:21:34 PM
ftp://ftp.opera.com/pub/opera/win/923/en
berend ytsmaytsmabeer # Wednesday, August 8, 2007 2:24:18 PM
FataL # Wednesday, August 8, 2007 2:53:01 PM
Originally posted by Ygrek.pl:
It is here for a while already - [Ctrl]+[H] by default.PawełYgrek.pl # Wednesday, August 8, 2007 3:05:32 PM
Uwe aka JaDaJada0007 # Wednesday, August 8, 2007 3:39:30 PM
Opera Linux Build 659 & Opera for Windows Build 8807
João EirasxErath # Wednesday, August 8, 2007 6:20:37 PM
This version is only weekly.
The currently advertised version is 9.22
http://www.opera.com/download/
Remco Lantingremcolanting # Wednesday, August 8, 2007 6:24:51 PM
berend ytsmaytsmabeer # Wednesday, August 8, 2007 6:27:04 PM
I must agree with xErath the current Final version is 9.22
rseiler # Wednesday, August 8, 2007 6:43:19 PM
What's curious, however, is how Opera rarely likes testing their final RC build externally HERE. You would think this would be the place to alert people about it, rather than dribbling it out silently on FTP. Why have this blog at all then?