// For flags

CVE-2017-16598

NetGain Systems Enterprise Manager snmpwalk.snmpwalk_005fdo_jsp ip Directory Traversal Remote Code Execution Vulnerability

Severity Score

8.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

This vulnerability allows remote attackers to execute code by overwriting arbitrary files on vulnerable installations of NetGain Systems Enterprise Manager 7.2.730 build 1034. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the org.apache.jsp.u.jsp.tools.snmpwalk.snmpwalk_005fdo_jsp servlet, which listens on TCP port 8081 by default. When parsing the ip parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code under the context of Administrator. Was ZDI-CAN-5138.

Esta vulnerabilidad permite que atacantes remotos ejecuten código sobrescribiendo archivos arbitrarios en instalaciones vulnerables de NetGain Systems Enterprise Manager 7.2.730 build 1034. Aunque se requiere autenticación para explotar esta vulnerabilidad, el mecanismo de autenticación existente se puede omitir. El fallo específico existe en el servlet org.apache.jsp.u.jsp.tools.snmpwalk.snmpwalk_005fdo_jsp, que escucha en el puerto TCP 8081 por defecto. Cuando se analiza sintácticamente el parámetro ip, el proceso no valida correctamente una ruta proporcionada por el usuario antes de emplearla en operaciones de archivo. Un atacante podría aprovechar esta vulnerabilidad para ejecutar código en el contexto del Administrador. Anteriormente era ZDI-CAN-5138.

This vulnerability allows remote attackers to execute code by overwriting arbitrary files on vulnerable installations of NetGain Systems Enterprise Manager. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
The specific flaw exists within the org.apache.jsp.u.jsp.tools.snmpwalk.snmpwalk_005fdo_jsp servlet, which listens on TCP port 8081 by default. When parsing the ip parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to execute code under the context of Administrator.

*Credits: rgod
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-11-06 CVE Reserved
  • 2017-12-13 CVE Published
  • 2024-08-05 CVE Updated
  • 2024-11-13 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-668: Exposure of Resource to Wrong Sphere
CAPEC
References (1)
URL Tag Source
https://zerodayinitiative.com/advisories/ZDI-17-963 Third Party Advisory
URL Date SRC
URL Date SRC
URL Date SRC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Netgain-systems
Search vendor "Netgain-systems"
Enterprise Manager
Search vendor "Netgain-systems" for product "Enterprise Manager"
7.2.730
Search vendor "Netgain-systems" for product "Enterprise Manager" and version "7.2.730"
-
Affected