Lars Hjemli cgit up to 0.9.0.3 syntax-highlighting.sh --plug-in argument injection
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.3 | $0-$5k | 0.00 |
A vulnerability was found in Lars Hjemli cgit. It has been classified as critical. Affected is an unknown part of the file syntax-highlighting.sh. The manipulation of the argument --plug-in
with an unknown input leads to a argument injection vulnerability. CWE is classifying the issue as CWE-88. The product constructs a string for a command to be executed by a separate component
in another control sphere, but it does not properly delimit the
intended arguments, options, or switches within that command string. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was presented 11/11/2012 by Jason A. Donenfeld as Bug 870713 as not defined bug report (Bugzilla). The advisory is available at bugzilla.redhat.com. This vulnerability is traded as CVE-2012-4548 since 08/21/2012. It is possible to launch the attack remotely. A authentication is necessary for exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 74805 (openSUSE Security Update : cgit (openSUSE-SU-2012:1460-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (79665) and Tenable (74805). See 62674 for similar entry.
Product
Vendor
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.6.1
- 0.6.2
- 0.6.3
- 0.7
- 0.7.1
- 0.7.2
- 0.8
- 0.8.1
- 0.8.1.1
- 0.8.2
- 0.8.2.1
- 0.8.2.2
- 0.8.3
- 0.8.3.1
- 0.8.3.2
- 0.8.3.3
- 0.8.3.4
- 0.8.3.5
- 0.9
- 0.9.0.1
- 0.9.0.2
- 0.9.0.3
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.3
VulDB Base Score: 6.3
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Argument injectionCWE: CWE-88 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 74805
Nessus Name: openSUSE Security Update : cgit (openSUSE-SU-2012:1460-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 864893
OpenVAS Name: Fedora Update for cgit FEDORA-2012-18462
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: git.zx2c4.com
Timeline
08/21/2012 🔍10/01/2012 🔍
10/28/2012 🔍
10/29/2012 🔍
11/11/2012 🔍
11/11/2012 🔍
11/25/2012 🔍
06/13/2014 🔍
03/24/2015 🔍
12/19/2021 🔍
Sources
Advisory: Bug 870713Researcher: Jason A. Donenfeld
Status: Not defined
Confirmation: 🔍
CVE: CVE-2012-4548 (🔍)
X-Force: 79665
Vulnerability Center: 37392 - cgit <=9.0.3 Remote Authenticated Arbitrary Command Execution via the --plug-in Argument, Medium
SecurityFocus: 56315 - cgit 'syntax-highlighting.sh' Remote Command Injection Vulnerability
Secunia: 50734 - cgit Denial of Service and Command Injection Vulnerabilities, Moderately Critical
See also: 🔍
Entry
Created: 03/24/2015 12:22Updated: 12/19/2021 19:27
Changes: 03/24/2015 12:22 (69), 04/21/2017 22:08 (8), 12/19/2021 19:20 (3), 12/19/2021 19:27 (1)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.