CVE-2020-12078 Command injection in n/a
Attackers can execute arbitrary commands by injecting shell metacharacters into the excluded IP address setting in Open-AudIT.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-12078?
CVE-2020-12078 is a high-severity command injection vulnerability in n/a, published on 28 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in Open-AudIT 3.3.1. There is shell metacharacter injection via attributes to an open-audit/configuration/ URI. An attacker can exploit this by adding an excluded IP address to the global discovery settings (internally called exclude_ip). This exclude_ip value is passed to the exec function in the discoveries_helper.php file (inside the all_ip_list function) without being filtered, which means that the attacker can provide a payload instead of a valid IP address.
Weakness: CWE-78
Which versions are affected by CVE-2020-12078?
It affects 1 product.
Products include Opmantek Open-Audit.
How do I fix CVE-2020-12078?
No fix has been published for CVE-2020-12078 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-12078 being exploited?
There is no known exploitation of CVE-2020-12078 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4288-822w-vf72.