Open-AudIT 3.3.1: There is shell metacharacter injection via attributes to an open-audit/configuration/ URI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original 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.
From the CVE record · mitre
References
- gist.github.com/mhaskar/dca62d0f0facc13f6364b8ed88d5a7fdExploit
- shells.systems/open-audit-v3-3-1-remote-command-execution-cve-2020-12078Exploit
- github.com/Opmantek/open-audit/commit/6ffc7f9032c55eaa1c37cf5e070809b7211c7e9aPatch
- packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.htmlExploit