Digitally Signed PDFs? Who the Hell uses this?
The PDF signature validation logic in many viewers can be tricked into accepting a modified document as validly signed. An attacker could alter the visible content of a signed PDF while the signature still appears valid, enabling fraud.
web-in-security.blogspot.com
Published on web-in-security.blogspot.com
One year ago, we received a contract as a PDF file. It was digitally signed.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, PDF viewers incorrectly handle edge cases in signature validation, such as missing data or content outside the signed byte range, and fail to treat these as errors.
Impact
An attacker could spoof a digitally signed PDF, potentially altering contract terms or other content while the signature remains valid, affecting 21 of 22 viewers and 6 of 8 online validation services.
What the attacker needed
Victim opens a malicious PDF; viewer does not properly validate signature
The fix
The vulnerabilities were fixed by vendors after responsible disclosure.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A digital signature on a PDF is meant to prove the file has not been changed. The researchers found ways to change the file's content while the signature check still says it is valid, so a viewer might show a fake document as properly signed.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.