CVE-2024-25180
CRITICALpdfmake 0.2.9 - Remote Code Execution via /pdf Endpoint
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-25180. PoCs published by dustblessnotdust.
AI-analyzed exploit summary This PoC exploits CVE-2024-25180, a remote code execution vulnerability in pdfmake, by sending a crafted JSON payload to the /pdf endpoint. The payload leverages Node.js's child_process module to execute a reverse shell command via netcat.
Description
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.
Exploits (1)
This PoC exploits CVE-2024-25180, a remote code execution vulnerability in pdfmake, by sending a crafted JSON payload to the /pdf endpoint. The payload leverages Node.js's child_process module to execute a reverse shell command via netcat.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H