SB2012101004 - Multiple vulnerabilities in cgit
Published: October 10, 2012 Updated: August 11, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Input validation error (CVE-ID: CVE-2012-4548)
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'
2) Heap-based buffer overflow (CVE-ID: CVE-2012-4465)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier. A remote attacker can use an empty username in the to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00004.html
- http://secunia.com/advisories/50734
- http://secunia.com/advisories/51167
- http://secunia.com/advisories/51222
- http://www.openwall.com/lists/oss-security/2012/10/28/1
- http://www.openwall.com/lists/oss-security/2012/10/28/2
- http://www.securityfocus.com/bid/56315
- https://bugzilla.redhat.com/show_bug.cgi?id=870713
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79665
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- http://hjemli.net/pipermail/cgit/2012-July/000652.html
- http://www.openwall.com/lists/oss-security/2012/09/30/1
- http://www.openwall.com/lists/oss-security/2012/10/03/7
- http://www.securityfocus.com/bid/55724
- https://bugzilla.redhat.com/show_bug.cgi?id=820733