CVE-2024-25180

An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint

Critical · published February 29, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
63.2
In the wild
Unconfirmed
What it is

🚨 A crafty POST request can unleash arbitrary code execution through the /pdf endpoint of pdfmake 0.2.9! 🔥 Think of this like a hidden backdoor in a building only meant for authorized testers—if someone finds that door, they can waltz right in and access the entire place without a key! An attacker exploiting this vulnerability could execute their own code on the server, leading to complete control over the application. Imagine the chaos if a malicious actor could manipulate data, steal sensitive info, or disrupt services—all because the door was left ajar!

Put simply

Think of this like a hidden backdoor in a building only meant for authorized testers—if someone finds that door, they can waltz right in and access the entire place without a key! This vulnerability stems from the /pdf endpoint of pdfmake, which accepts crafted requests allowing remote code execution. Although it resides in a testing framework outside of the main application, its availability poses a significant security risk if left unprotected.

What to do

An attacker exploiting this vulnerability could execute their own code on the server, leading to complete control over the application. Imagine the chaos if a malicious actor could manipulate data, steal sensitive info, or disrupt services—all because the door was left ajar! To mitigate this risk, ensure that the /pdf endpoint is only accessible to authorized users, preferably by restricting it behind proper authentication mechanisms. Consider upgrading to a secure version when available and review your access controls. 🛡️ You've got this! Follow these steps to secure your application and keep those pesky intruders out! 💪✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01024 · 63.2th percentile
Published
2024-02-29T00:00Z
EPSS history
Timeline
  • 29 FEB 00:00Z
    An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint
    cvelistv5