#VU43344 Input validation error in cgit - CVE-2012-4548


| Updated: 2020-08-11

Vulnerability identifier: #VU43344

Vulnerability risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2012-4548

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
cgit
Client/Desktop applications / Software for system administration

Vendor: Jason A. Donenfeld

Description

The vulnerability allows a remote #AU# to read and manipulate data.

Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command. Per http://cwe.mitre.org/data/definitions/88.html'CWE-88: Argument Injection or Modification'

Mitigation
Install update from vendor's website.

Vulnerable software versions

cgit: 0.1 - 0.9.0.2


External links
https://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
https://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html
https://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html
https://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html
https://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html
https://secunia.com/advisories/50734
https://secunia.com/advisories/51167
https://secunia.com/advisories/51222
https://www.openwall.com/lists/oss-security/2012/10/28/1
https://www.openwall.com/lists/oss-security/2012/10/28/2
https://www.securityfocus.com/bid/56315
https://bugzilla.redhat.com/show_bug.cgi?id=870713
https://exchange.xforce.ibmcloud.com/vulnerabilities/79665


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability