CVE-2012-5642 Command injection in n/a
Remote attackers can trigger unsafe behavior in custom action files via crafted matches tag content, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-5642?
CVE-2012-5642 is a high-severity command injection vulnerability in n/a, published on 31 Dec 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
server/action.py in Fail2ban before 0.8.8 does not properly handle the content of the matches tag, which might allow remote attackers to trigger unsafe behavior in a custom action file via unspecified symbols in this content.
Which versions are affected by CVE-2012-5642?
It affects 1 product.
Products include Fail2ban Fail2ban.
How do I fix CVE-2012-5642?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2012-5642 being exploited?
There is no known exploitation of CVE-2012-5642 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-5642, GHSA-mxxq-p5rj-2jcc.