News for hackers. Stuff that matters.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by SmellyGeekBoy on Thursday December 13, 2018 @05:10AM (#18671193)
The same could be said for the Microsoft Office file formats.

Or PSD, for that matter.

Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by tonyedgecombe on Thursday December 13, 2018 @05:33AM (#18671278)
The Office formats are well specified, they are complex because that is the nature of the software but it is a world away from something like PSD or even PDF.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by gpvos on Thursday December 13, 2018 @07:53AM (#18671939)
PDF is actually quite well specified, there are not many holes in the specification itself.[0] As to what Adobe Reader will do when it encounters an out-of-spec file, that is a lot fuzzier.

On the other hand, the Office file formats (especially Word) have many un- or underspecified cases.

[0] The only one I know of is finding the end of compressed inline image data.

Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by hnick on Thursday December 13, 2018 @08:19PM (#18677641)
I agree, the PDF spec is great, and very easy to understand (if slow to wade through). The hardest parts are when you have to duck out to read another spec for a contained format like TrueType.

Regarding Reader, I work with PDFs a lot, and the majority of issues have a fairly common pattern. The supplier has created a PDF in a 3rd party tool, which is invalid in a subtle way (production printers in particular are very specific about what they want to accept).

But it works fine in Adobe Reader, since it was built to be very tolerant in what it accepts, so it's often hard to convince the non-technical users that the file has an issue. It's great for end users but has meant that a lot of tools out there just didn't have to try too hard to make PDFs that mostly work, so programming workflows can be an issue.

Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by tonyedgecombe on Thursday December 13, 2018 @09:14AM (#18672399)
I found quite a few areas that were vague when I was working with it.

The advantage of the office formats is they are Zip files with a ton of XML, ie they are well defined. The application parts are another matter of course.

Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by BlackFingolfin on Thursday December 13, 2018 @10:53AM (#18673185)
Just because something is XML doesn't mean it is "well-defined".
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by tonyedgecombe on Friday December 14, 2018 @02:40AM (#18679167)
No, but XML parsing is a solved problem, PDF parsing isn't.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by tinus_hn on Saturday December 15, 2018 @05:07AM (#18687833)
The original criticism was that some parts are just binary blobs encoded in XML elements, which wouldn’t suprise me at all, with Microsoft being allowed to tick the ‘XML file format’ checkbox and still getting to keep the binary format advantages.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by gpvos on Friday December 14, 2018 @04:37AM (#18679612)
I see. I was mostly referring to semantic problems, of which I heard there are a lot (I haven't really worked with Office internals much), and also I was thinking of the pre-XML Office formats.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by brendyn on Friday December 14, 2018 @05:06AM (#18679751)
I remember reading in the past that Microsoft had corrupted the ISO standards body to publish essentially fake standards that were different to what MS Office actually produced, so software like Libreoffice would output files that didn't work properly in Office or visa versa. Are you saying that now this is not the case and they are full specified? I sometimes tell people about this so I want to make sure I have my facts straight.
Re:50 CVEs in 50 Days: Fuzzing Adobe Reader by Quarrelsome on Thursday December 13, 2018 @06:07AM (#18671420)
old binary formats were pretty insane though. Lots of magic to pull the file size down.