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.
References
Link | Resource |
---|---|
https://gist.github.com/mhaskar/dca62d0f0facc13f6364b8ed88d5a7fd | Exploit Third Party Advisory |
https://github.com/Opmantek/open-audit/commit/6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a | Patch Third Party Advisory |
https://shells.systems/open-audit-v3-3-1-remote-command-execution-cve-2020-12078/ | Exploit Third Party Advisory |
http://packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
Configurations
Information
Published : 2020-04-28 07:15
Updated : 2021-07-21 04:39
NVD link : CVE-2020-12078
Mitre link : CVE-2020-12078
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
opmantek
- open-audit