News for hackers. Stuff that matters.
Re:Browser Fuzzing at Mozilla by eigenvalue on Tuesday February 09, 2021 @04:00PM (#26082337)
They don’t seem to be using a fuzzer that uses a “smart” way of creating new inputs based on previous inputs that revealed novel execution paths, as done in the AFL fuzzer ( https://en.m.wikipedia.org/wiki/American_fuzzy_lop_(fuzzer) ).

I wonder why that is— that always struck me as a particular elegant approach, and I know AFL has been used to find tons of bugs in various popular open source projects. There was a popular article on HN a while back where AFL even “learned” how to generate valid jpg image file headers.

Re:Browser Fuzzing at Mozilla by _j3sse on Tuesday February 09, 2021 @04:41PM (#26082701)
The state space is too large for these algorithms to be effective on Firefox as a whole, and there are many libraries we just don't care about when browser fuzzing.

eg. if AFL/libFuzzer manages to hit a path that makes an input appear as gz encoded, the "novel" zlib coverage is very attractive to the algorithm, but that's a very inefficient way to fuzz zlib.

Most of these libraries are targeted specifically by OSS-Fuzz [0] and their integration into Firefox is fuzzed with libFuzzer using the fuzzing interface andrei mentioned.

0: https://google.github.io/oss-fuzz/

Re:Browser Fuzzing at Mozilla by lqqq on Tuesday February 09, 2021 @09:58PM (#26085295)
AFL is not that smart. If you only do bit flippings on the inputs, then fuzzing a JavaScript engine/dom engine will take forever. The "domino" (Mozilla internal tool) looks quite powerful as it generates semantically correct dom. Sadly, it is not open source. Google has a tool designed specifically to fuzz JavaScript engines, Fuzzilli[1], which hackers have been using for bug hunting.

[1]: https://github.com/googleprojectzero/fuzzilli

Re:Browser Fuzzing at Mozilla by pabs3 on Tuesday February 09, 2021 @11:24PM (#26085734)
I wonder why domino hasn't been released? Is Mozilla selling it to other companies?
Re:Browser Fuzzing at Mozilla by sylvestre on Wednesday February 10, 2021 @03:03AM (#26086649)
Because it often finds security issues in our code: see the graph at the end of the blog post.

If opensource, this fuzzer could be used against our users...

AFAIK, Mozilla doesn't sell any software!

Re:Browser Fuzzing at Mozilla by glandium on Wednesday February 10, 2021 @04:23AM (#26087120)
Mozilla sells VPN products ;) But no, not these tools.
Re:Browser Fuzzing at Mozilla by pabs3 on Thursday February 11, 2021 @10:50PM (#26110569)
VPN products are more like a service than selling software.
Re:Browser Fuzzing at Mozilla by dkdk8283 on Tuesday February 09, 2021 @07:10PM (#26084295)
What about the decrease in paid security professionals?
Re:Browser Fuzzing at Mozilla by andrei on Tuesday February 09, 2021 @04:11PM (#26082424)
I believe they use libfuzzer to test isolated components [0], but seems like they wanted to specifically focus on browser fuzzing for this post (it's probably more interesting, too).

[0]: https://firefox-source-docs.mozilla.org/tools/fuzzing/fuzzin...