OS Command Injection - CVE-2012-3366
Published: July 3, 2012 / Updated: August 3, 2020
Vulnerability identifier: #VU33117
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-3366
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote #AU# to execute arbitrary code.
The Trigger plugin in bcfg2 1.2.x before 1.2.3 allows remote attackers with root access to the client to execute arbitrary commands via shell metacharacters in the UUID field to the server process (bcfg2-server).
Affected software
bcfg2 (Alpine package)
nsd (Alpine package)
bcfg2
Fedora
nsd (Alpine package)
bcfg2
Fedora
How to mitigate CVE-2012-3366
Install update from vendor's website.
bcfg2 (Alpine package) - update to 1.2.3-r1
nsd (Alpine package) - update to 3.2.12-r0
bcfg2 - addressed in versions 1.2.3-1.el6, 1.3.0-1.el6
nsd (Alpine package) - update to 3.2.12-r0
bcfg2 - addressed in versions 1.2.3-1.el6, 1.3.0-1.el6
External References
- http://permalink.gmane.org/gmane.comp.sysutils.bcfg2.devel/4539
- http://secunia.com/advisories/49629
- http://secunia.com/advisories/49690
- http://www.debian.org/security/2012/dsa-2503
- http://www.securityfocus.com/bid/54217
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76616
- https://github.com/Bcfg2/bcfg2/commit/a524967e8d5c4c22e49cd619aed20c87a316c0be