CVE-2012-4548
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a login. Limited direct impact.
- Exploit odds
- 2.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.8% in the next 30 days (EPSS).
- Severity: 6.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.8% · EPSS, next 30 days
- Record status
- Modified
Affected
- Lars Hjemli Cgit ≤ 0.9.0.3
- Lars Hjemli Cgit 0.1
- Lars Hjemli Cgit 0.2
- Lars Hjemli Cgit 0.3
- Lars Hjemli Cgit 0.4
- Lars Hjemli Cgit 0.5
- Lars Hjemli Cgit 0.6
- Lars Hjemli Cgit 0.6.1
Attack profile CVSS 2.0 · 6.0
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:S/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4548.md and follow it. Check whether this project is affected by CVE-2012-4548. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
- http://secunia.com/advisories/50734
- http://secunia.com/advisories/51167
- http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd
- http://secunia.com/advisories/50734
- http://secunia.com/advisories/51167
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=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