Command injection in WebGlimpse



Published: 2012-03-20 | Updated: 2017-01-11
Risk 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 Bulletin

This security bulletin contains one critical risk vulnerability.

1) Command injection

EUVDB-ID: #VU4145

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 - Command injection

Exploit availability: No

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.



###SIDEBAR###