CVE-2020-26124
Openmediavault vulnerability
openmediavault before 4.1.36 and 5.x before 5.5.12 allows authenticated PHP code injection attacks, via the sortfield POST parameter of rpc.php, because json_encode_safe is not used in config/databasebackend.inc. Successful exploitation allows arbitrary command execution on the underlying operating system as root.
Affected products
Openmediavault. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openmediavault runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openmediavault.org/?p=2797 · Vendor Advisory
- github.com/openmediavault/openmediavault/commit/ebb51bbf5a39f4955eab0073bf87f2a31926d85d · Patch
- packetstormsecurity.com/files/160223/OpenMediaVault-rpc.php-Authenticated-PHP-Code-Injecti · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-26124
- cve.org/CVERecord?id=CVE-2020-26124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.