Command injection in Webglimpse - CVE-2012-1795

 

Command injection in Webglimpse - CVE-2012-1795

Published: January 11, 2017 / Updated: March 14, 2017


Vulnerability identifier: #VU4145
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-1795
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists due to insufficient sanitization of user-supplied data passed via the "query" HTTP GET parameter to "/webglimpse.cgi" script. A remote attacker can send a specially crafted HTTP request to vulnerable script and execute arbitrary OS commands on vulnerable system.

Exploitation example:

http://[host]/webglimpse.cgi?query=%27%26command+and+arguments+go+here%26%27

Successful exploitation may allow an attacker to gain complete control over vulnerable system.

Note: this vulnerability is being actively exploited.


Affected software

Webglimpse

How to mitigate CVE-2012-1795

Update to version 2.20.


External References

Related Security Bulletins