Skip to content
Info disclosure Advisory Intermediate CVE-2024-1221

PaperCut NG upload Link Following Information Disclosure Vulnerability

The upload endpoint in PaperCut NG allowed an attacker to upload a symbolic link, which the service then followed to read arbitrary files. This could let an attacker disclose sensitive information with root privileges, though authentication is required and can be bypassed.

Anonymous Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of PaperCut NG. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

Anonymous, on the Zero Day Initiative

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 upload endpoint did not properly validate or resolve symbolic links, allowing an attacker to create a link that points to arbitrary files on the system.

Impact

An attacker could disclose sensitive information with root privileges, but authentication is required and can be bypassed.

What the attacker needed

Authentication (can be bypassed); ability to upload files

The fix

PaperCut has issued an update to correct this vulnerability.

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.

A symbolic link is like a shortcut that points to another file. In this case, the upload feature let someone upload such a shortcut, and the server then read the file it pointed to, even if that file was outside the upload area. This meant an attacker could read sensitive files on the server, but they first needed to get past authentication.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.