Input validation error in cgit - CVE-2012-4548

 

Input validation error in cgit - CVE-2012-4548

Published: November 11, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43344
CSH Severity: Low
CVSS v4.0: 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: Remote access
Exploit availability: No public exploit available
Vendor: Jason A. Donenfeld
Affected software:
cgit

Detailed vulnerability 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'


How to mitigate CVE-2012-4548

Install update from vendor's website.

Sources