PaperCut NG VendorKeys Hardcoded Credentials Authentication Bypass Vulnerability
PaperCut NG contained hard-coded credentials in a VendorKeys object, allowing remote attackers to bypass authentication on the External Devices API without any credentials.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of PaperCut NG. Authentication is not required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the application embedded fixed credentials in a VendorKeys configuration object and used them to authenticate requests to the External Devices API, so anyone who knows or extracts those values is treated as authenticated.
Impact
A remote, unauthenticated attacker could bypass authentication on the External Devices API, potentially gaining access to functionality or data meant only for authenticated users.
What the attacker needed
Network access to the External Devices API
The fix
PaperCut issued an update to correct the vulnerability; the hard-coded credentials should be removed and replaced with a secure authentication mechanism.
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 report has not been written yet. The Original tab links to the source.
Hard-coded credentials are a username and password written directly into the software's code, so they are the same for every installation. Here, those fixed credentials let anyone skip the normal login check on a specific API used by external devices. That means an attacker could reach parts of the system that should require a valid login.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.