Advisory Details

August 22nd, 2024

PaperCut NG image-handler Directory Traversal Local Privilege Escalation Vulnerability

ZDI-24-1155
ZDI-CAN-23859

CVE ID CVE-2024-4712
CVSS SCORE 7.8, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS PaperCut
AFFECTED PRODUCTS NG
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of PaperCut NG. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the Web Print Image Handler. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of SYSTEM.

ADDITIONAL DETAILS PaperCut has issued an update to correct this vulnerability. More details can be found at:
https://www.papercut.com/kb/Main/Security-Bulletin-May-2024
DISCLOSURE TIMELINE
  • 2024-04-17 - Vulnerability reported to vendor
  • 2024-08-22 - Coordinated public release of advisory
  • 2024-08-22 - Advisory Updated
CREDIT Nicholas Zubrisky (@NZubrisky) of Trend Micro Research
BACK TO ADVISORIES