#VU4145 Command injection in Webglimpse


Published: 2017-01-11 | Updated: 2017-03-14

Vulnerability identifier: #VU4145

Vulnerability risk: Critical

CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

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
http://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