PT-2023-12665 · Unknown · Serve-Lite

Liran Tal

·

Publicado

2023-01-25

·

Atualizado

2023-02-01

·

CVE-2022-21192

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions serve-lite versions all
Description The issue arises from missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join(), leading to Directory Traversal. This allows potential access to sensitive files and directories.
Recommendations For all versions, consider disabling the path.join() function with unsanitized req.url input until a patch is available. Restrict access to sensitive files and directories to minimize the risk of exploitation. Avoid using the req.url variable in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2022-21192
GHSA-5QQ4-M6C3-XXMF

Produtos afetados

Serve-Lite