CVE-2025-65287

An unauthenticated directory traversal vulnerability in cgi-bin/upload.cgi in SNMP Web Pro 1.1 allows a remote attacker to read arbitrary files. The CGI concatenates the user-supplied params directly onto the base path (/var/www/files/userScript/) using memcpy + strcat without validation or canonicalization, enabling ../ sequences to escape the intended directory. The download branch also echoes the unsanitized params into Content-Disposition, introducing header-injection risk.
References
Link Resource
https://damiri.fr/en/cve/CVE-2025-65287 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:cdpenergy:snmp_web_pro_firmware:1.1:*:*:*:*:*:*:*
cpe:2.3:h:cdpenergy:snmp_web_pro:-:*:*:*:*:*:*:*

History

15 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de salto de directorio no autenticado en cgi-bin/upload.cgi en SNMP Web Pro 1.1 permite a un atacante remoto leer archivos arbitrarios. El CGI concatena los parámetros proporcionados por el usuario directamente a la ruta base (/var/www/files/userScript/) usando memcpy + strcat sin validación ni canonicalización, lo que permite que las secuencias ../ escapen del directorio previsto. La rama de descarga también refleja los parámetros no saneados en Content-Disposition, introduciendo riesgo de inyección de encabezados.

Information

Published : 2025-12-09 16:18

Updated : 2026-10-15 19:10


NVD link : CVE-2025-65287

Mitre link : CVE-2025-65287

CVE.ORG link : CVE-2025-65287


JSON object : View

Products Affected

cdpenergy

  • snmp_web_pro_firmware
  • snmp_web_pro
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')