Body Background
TrendAI™ Zero Day Initiative™ Logo

PaperCut NG generateNextFileName Directory Traversal Remote Code Execution Vulnerability

June 18th, 2024

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of PaperCut NG. Authentication is required to exploit this vulnerability.

The specific flaw exists within the generateNextFileName method. 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 execute 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-March-2024

Disclosure Timeline

  • 2024-02-18 - Vulnerability reported to vendor
  • 2024-06-18 - Coordinated public release of advisory
  • 2024-08-15 - Advisory Updated

Credit

Ahmed Y. Elmogy

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.