#VU4145 Command injection in Webglimpse - CVE-2012-1795


| Updated: 2017-03-14

Vulnerability identifier: #VU4145

Vulnerability risk: Critical

CVSSv4.0: 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/E:A/U:Red]

CVE-ID: CVE-2012-1795

CWE-ID: CWE-77

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Webglimpse
Web applications / Other software

Vendor: Webglimpse.org

Description
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.

Mitigation
Update to version 2.20.

Vulnerable software versions

Webglimpse: 2.2.0 - 2.18.8


External links
https://www.kb.cert.org/vuls/id/364363


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.


Latest bulletins with this vulnerability