Vulnerability Details : CVE-2020-26124
Public exploit exists!
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.
Products affected by CVE-2020-26124
- cpe:2.3:a:openmediavault:openmediavault:*:*:*:*:*:*:*:*
- cpe:2.3:a:openmediavault:openmediavault:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-26124
80.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2020-26124
-
OpenMediaVault rpc.php Authenticated PHP Code Injection
Disclosure Date: 2020-09-28First seen: 2020-11-24exploit/unix/webapp/openmediavault_rpc_rceThis module exploits an authenticated PHP code injection vulnerability found in openmediavault versions before 4.1.36 and 5.x versions before 5.5.12 inclusive in the "sortfield" POST parameter of the rpc.php page, because "json_encode_safe()" is not
CVSS scores for CVE-2020-26124
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.0
|
HIGH | AV:N/AC:L/Au:S/C:C/I:C/A:C |
8.0
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2020-26124
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-26124
-
http://packetstormsecurity.com/files/160223/OpenMediaVault-rpc.php-Authenticated-PHP-Code-Injection.html
OpenMediaVault rpc.php Authenticated PHP Code Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://www.openmediavault.org/?p=2797
New security updates available | openmediavaultVendor Advisory
-
https://github.com/openmediavault/openmediavault/commit/ebb51bbf5a39f4955eab0073bf87f2a31926d85d
Cleanup code, add unit tests. · openmediavault/openmediavault@ebb51bb · GitHubPatch;Third Party Advisory
Jump to