PDF files could be used to hack your PC

cybersecurity
(Image Credit: TheDigitalArtist / Pixabay) (Image credit: Pixabay)

PDF files, even with extra encryption, could be easily hacked, a team academics has found. 

The new attack, called PDFex, comes in two variations and in testing, it was successfully able to steal data from PDF files in some of the best free PDF readers across 27 desktop and web tools, including Adobe Acrobat, Foxit Reader, Nitro and from Chrome and Firefox's built-in PDF viewers.

PDFex doesn't actually target the encryption used on PDF documents by external software. Instead the attack targets the encryption schemes used by the Portable Document Format (PDF) which means all PDFs are vulnerable regardless of the software used to view them.

While the PDF standard supports native encryption, a team of six academics from Ruhr-University Bocum and Münster University in Germany found issues with the standard's encryption support and leveraged these to create PDFex.

PDFex variations

According to a blog post published by the researchers, encrypted PDF documents are vulnerable to two attacks types that are known by the method used to carry out the attack and exfiltrate data.

The first, known as “direct exfiltration” uses the fact that PDF software doesn't encrypt the entirety of a PDF file and actually leaves some parts unencrypted. By tampering with these unencrypted fields, an attacker can create a booby-trapped PDF file that will attempt to send the file's content back to an attacker when decrypted and opened.

The second PDFex attack variation focuses on the parts of a PDF file that are encrypted. By using CBC gadgets, an attacker can modify the plaintext data stored in a PDF at its source. This means that an attacker can use a CBC gadget to modify the encrypted content to create booby-trapped PDF files that submit their own content to remote servers using PDF forms or URLs.

All of the different variations of PDFex require than an attack be able to modify user's encrypted PDF files. However, to do this they would have to intercept a victim's network traffic or have physical access to their devices or storage.

All in all, PDFex is a major vulnerability in the PDF standard and the research team behind the new attack will be presenting their findings at the ACM Conference on Computer and Communications Security next month.

Via ZDNet

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
cybersecurity
Chinese government hackers allegedly spent years undetected in foreign phone networks
Data leak
A major Keenetic router data leak could put a million households at risk
Code Skull
Interpol operation arrests 300 suspects linked to African cybercrime rings
Insecure network with several red platforms connected through glowing data lines and a black hat hacker symbol
Multiple routers hit by new critical severity remote command injection vulnerability, with no fix in sight
Code Skull
This dangerous new ransomware is hitting Windows, ARM, ESXi systems
An abstract image of a lock against a digital background, denoting cybersecurity.
Critical security flaw in Next.js could spell big trouble for JavaScript users
Latest in News
DeepSeek
Deepseek’s new AI is smarter, faster, cheaper, and a real rival to OpenAI's models
Open AI
OpenAI unveiled image generation for 4o – here's everything you need to know about the ChatGPT upgrade
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
An aerial view of an Instavolt Superhub for charging electric vehicles
Forget gas stations – EV charging Superhubs are using solar power to solve the most annoying thing about electric motoring