Command injection in WebGlimpse



Published: 2012-03-20 | Updated: 2017-01-11
Severity Critical
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2012-1795
CWE ID CWE-77
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Subscribe
Webglimpse
Web applications / Other software

Vendor Webglimpse.org

Security Advisory

This security advisory describes one critical risk vulnerability.

1) Command injection

Severity: Critical

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

CVE-ID: CVE-2012-1795

CWE-ID: CWE-77 - Improper Neutralization of Special Elements used in a Command ('Command Injection')

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.2.1, 2.2.2, 2.3.1, 2.3.3, 2.4.0, 2.4.6, 2.5.1, 2.5.4, 2.6.2, 2.6.7, 2.7.4, 2.7.6, 2.7.7, 2.7.8, 2.8.0, 2.8.1, 2.10.1, 2.10.2, 2.10.4, 2.11.0, 2.12.0, 2.12.2, 2.13.0, 2.13.1, 2.13.2, 2.14.0, 2.14.1, 2.14.2, 2.14.3, 2.14.5, 2.14.6, 2.14.7, 2.14.8, 2.14.9, 2.15.0, 2.15.3, 2.15.5, 2.16.2, 2.16.3, 2.16.4, 2.17.0, 2.17.1, 2.17.2, 2.17.3, 2.18.4, 2.18.5, 2.18.8

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



ImmuniWeb® AI Platform for Application Security Testing