{"id":"CVE-2020-26124","published":"2020-10-02T08:28:03Z","modified":"2024-08-04T15:49:07Z","title":"openmediavault before 4.1.36 and 5.x before 5.5.12 allows authenticated PHP code injection attacks, via the sortfield…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a PHP code injection issue in openmediavault, affecting releases before 4.1.36 and 5.x before 5.5.12, where the sortfield POST parameter of rpc.php is not sanitised in config/databasebackend.inc because json_encode_safe is not used there. An attacker who is authenticated to the web interface can send a crafted sortfield value to achieve arbitrary command execution on the underlying operating system as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:21:03Z"},"cvss":null,"epss":{"score":0.65392,"percentile":0.99258,"date":"2026-11-02","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/openmediavault/openmediavault/commit/ebb51bbf5a39f4955eab0073bf87f2a31926d85d","tags":["x_refsource_MISC"]},{"url":"https://www.openmediavault.org/?p=2797","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/160223/OpenMediaVault-rpc.php-Authenticated-PHP-Code-Injection.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2020-18754","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-18754","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"OpenMediaVault rpc.php Authenticated PHP Code Injection","module":"exploit/unix/webapp/openmediavault_rpc_rce","type":"exploit","disclosureDate":"2020-09-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/openmediavault_rpc_rce.rb"}],"first":{"date":"2020-09-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/openmediavault_rpc_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/160223/OpenMediaVault-rpc.php-Authenticated-PHP-Code-Injection.html"],"flow":[],"timeline":[{"date":"2020-09-28","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/openmediavault_rpc_rce.rb","provenance":"source"},{"date":"2020-10-02","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-26124","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9926"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}