September 6, 2017 By Mark Samuels 2 min read

A little-known PDF flaw in a parsing library that was originally discovered six years ago is present in many contemporary file viewers and could create issues for users.

German software developer Andreas Bogk found the original flaw in a PDF parsing component that forms part of the Linux-based document viewing app Evince, reported Bleeping Computer. Bogk, who presented his original research at the 2011 Chaos Communication Camp, helped Evince to resolve the bug.

However, additional research by fellow German developer Hanno Böck recently showed the vulnerability is still an issue in other apps six years later.

Discovering the PDF Flaw

Bogk’s original research from 2011 highlighted how PDF files that cross-referenced internal xref tables would create a continuous loop. This loop would devour local computing resources, leading to the consumption of available memory and the inevitable crashing of the Evince app.

Little attention was paid to the flaw six years ago, reported Bleeping Computer. The bug was not considered a critical security issue, and it was believed that the vulnerability was limited to Evince. However, Böck recently undertook a period of testing, using a basic security technique known as fuzzing, and found the bug in many other popular PDF viewers.

Böck said in a blog post on The Fuzzing Project that he uses fuzzing on a regular basis. The security technique relies on the input of huge amounts of random data to test the responses of a program and to seek out vulnerabilities. Böck said that he regularly reports fuzzing-related bugs and always shares the sample file that initiates the flaw.

Taking Note of Affected Platforms

Böck reiterated that the PDF vulnerability should not be viewed as a significant security concern. However, he also said that the flaw is undesirable and should be fixed — and found it remarkable that a six-year-old bug is still affecting many popular PDF viewers.

In his blog post, Böck said that affected platforms include Mozilla Firefox, Google Chrome, Microsoft Edge and Ghostscript. Böck reported the flaw to the manufacturers of affected products, and these firms are currently creating and deploying patches, Bleeping Computer noted. Adobe Reader and Apple’s OS X internal PDF viewer were unaffected.

Building More Secure Products

While it is good news that some products are unaffected, news of the flaw raises long-standing concerns about information security practices. According to Böck, establishing security concerns often relies on rediscovering old flaws.

He suggested that, as standard practice, manufacturers that maintain affected software should use the bug-triggering sample, known as Bogk loop bug, in their test suites. He added that manufacturers could also reach out to competitors and check for errors in their test suites.

IT managers and users should be aware of the flaw highlighted by Böck and look out for fixes. Manufacturers should also take steps to find long-term fixes for historical vulnerabilities.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today