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.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Cdpenergy Snmp_Web_Pro_Firmware
cpe:2.3:o:cdpenergy:snmp_web_pro_firmware:1.1:*:*:*:*:*:*:*
|
— | — |
|
Cdpenergy Snmp_Web_Pro
cpe:2.3:h:cdpenergy:snmp_web_pro:-:*:*:*:*:*:*:*
|
— | — |