Advisory Details

December 13th, 2017

NetGain Systems Enterprise Manager db.save_005fimage_jsp id Unrestricted File Upload Remote Code Execution Vulnerability

ZDI-17-959
ZDI-CAN-5117

CVE ID CVE-2017-16594
CVSS SCORE 9.3, AV:N/AC:M/Au:N/C:C/I:C/A:C
AFFECTED VENDORS NetGain Systems
AFFECTED PRODUCTS Enterprise Manager
VULNERABILITY DETAILS


This vulnerability allows remote attackers to create 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.db.save_005fimage_jsp servlet, which listens on TCP port 8081 by default. When parsing the id parameter, the process does not properly validate user-supplied data, which can allow for the upload of files. An attacker can leverage this vulnerability to execute code under the context of Administrator.

ADDITIONAL DETAILS


Fixed for NetGain Enterprise Manager - fixed version: v7.2.766 and above


DISCLOSURE TIMELINE
  • 2017-09-06 - Vulnerability reported to vendor
  • 2017-12-13 - Coordinated public release of advisory
CREDIT rgod
BACK TO ADVISORIES