CVE-2020-26124 Code injection in n/a
Authenticated attackers can inject PHP code via the sortfield parameter to execute arbitrary commands as root on openmediavault systems.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-26124?
CVE-2020-26124 is a high-severity code injection vulnerability in n/a, published on 2 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2020-26124?
It affects 1 product.
Products include Openmediavault Openmediavault.
How do I fix CVE-2020-26124?
No fix has been published for CVE-2020-26124 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-26124 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-26124 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in n/a
Sources
Also known as GHSA-f68r-v9vp-fxgw.