PT-2023-20534 · Node-Qpdf · Node-Qpdf

Xiao Feng

·

Publicado

2023-10-13

·

Atualizado

2023-10-23

·

CVE-2023-26155

CVSS v3.1

7.3

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions node-qpdf versions all
Description The issue arises from the encrypt() method failing to sanitize its parameter input, which later flows into a sensitive command execution API. This allows attackers to inject malicious commands once they can specify the input pdf file path.
Recommendations For all versions, consider disabling the encrypt() function until a patch is available to prevent command injection attacks. Restrict access to sensitive command execution APIs to minimize the risk of exploitation. Avoid using the encrypt() method with untrusted input pdf file paths until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Command Injection

Code Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-26155
GHSA-FPR8-4WVX-J9Q3

Produtos afetados

Node-Qpdf