Files
CVEs-PoC/2020/CVE-2020-26124.md
T
2024-05-25 21:48:12 +02:00

18 lines
848 B
Markdown

### [CVE-2020-26124](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26124)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- http://packetstormsecurity.com/files/160223/OpenMediaVault-rpc.php-Authenticated-PHP-Code-Injection.html
#### Github
- https://github.com/ARPSyndicate/cvemon