Major Vulnerabilities in PDF Encryption Create the PDFex Attack
CYBER NEWS

Major Vulnerabilities in PDF Encryption Create the PDFex Attack

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading...


PDFex is the name of a new type of attack that is built by German researchers from several universities, to prove that the PDF encryption is quite vulnerable.

PDFex was tested against 27 desktop and web PDF viewers, such as Adobe Acrobat, Foxit Reader, Evince, Nitro, and the built-in PDF viewers of Chrome and Firefox. All of the tested PDF viewers were found vulnerable.

It is important to note that the attack is targeting the encryption supported by the Portable Document Format (PDF) standard, not external applications.




The PDF Encryption Explained

To guarantee confidentiality, PDF files can be encrypted, the researchers explained. The encryption should ensure the secure transfer and storing of sensitive documents without the need of additional protection mechanisms.

The key management between the sender and recipient may be password based (the recipient must know the password used by the sender, or it must be transferred to them through a secure channel) or public key based (i.e., the sender knows the X.509 certificate of the recipient).

In their research, the academical team analyzed the security of encrypted PDF files and revealed how attackers can exfiltrate the content without the corresponding keys.

The PDFex Vulnerabilities Explained

There are two variants of the PDFex attack, the first of which is known as “direct exfiltration”. The explanation for it is the following:

Even without knowing the corresponding password, the attacker possessing an encrypted PDF file can manipulate parts of it. More precisely, the PDF specification allows the mixing of ciphertexts with plaintexts. In combination with further PDF features which allow the loading of external resources via HTTP, the attacker can run direct exfiltration attacks once a victim opens the file.

The second type of attack targets the encrypted parts of the PDF file by utilizing something known as CBC (Cipher Block Chaining). The CBC encryption mode is employed by the PDF encryption without integrity checks, thus creating ciphertext malleability. The researchers were able to create self-exfiltrating ciphertext parts via the CBC malleability gadgets. This technique was used “not only to modify existing plaintext but to construct entirely new encrypted objects”.

Related: Media File Jacking Attacks Possible in Telegram and WhatsApp

In conclusion, the researchers identified two root cases for these attacks:

First, many data formats allow to encrypt only parts of the content (e.g., XML, S/MIME, PDF). This encryption flexibility is difficult to handle and allows an attacker to include their own content, which can lead to exfiltration channels. Second, when it comes to encryption, AES-CBC – or encryption without integrity protection in general – is still widely supported. Even the latest PDF 2.0 specification released in 2017 still relies on it,” the research team added.

This issue must be fixed in future PDF specifications, the team concluded. You can read the research titled “Practical Decryption exFiltration: Breaking PDF Encryption” to get a detailed idea of the PDFex attacks.

Avatar

Milena Dimitrova

An inspired writer and content manager who has been with SensorsTechForum for 4 years. Enjoys ‘Mr. Robot’ and fears ‘1984’. Focused on user privacy and malware development, she strongly believes in a world where cybersecurity plays a central role. If common sense makes no sense, she will be there to take notes. Those notes may later turn into articles!

More Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Loading...
Share on Twitter Tweet
Loading...
Share on Google Plus Share
Loading...
Share on Linkedin Share
Loading...
Share on Digg Share
Share on Reddit Share
Loading...
Share on Stumbleupon Share
Loading...