CVE-2010-20059 FreeNAS < 0.7.2 rev 5543 exec_raw.php Arbitrary Command Execution
Unauthenticated attackers can execute arbitrary commands via the exec_raw.php script in FreeNAS, leading to full system compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2010-20059?
CVE-2010-20059 is a critical command injection vulnerability in iXsystems FreeNAS, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
FreeNAS 0.7.2 prior to revision 5543 includes an unauthenticated command‐execution backdoor in its web interface. The exec_raw.php script exposes a cmd parameter that is passed directly to the underlying shell without sanitation.
Weakness: CWE-78
Which versions are affected by CVE-2010-20059?
How do I fix CVE-2010-20059?
No fix has been published for CVE-2010-20059 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2010-20059 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-20059 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-ffxm-wjwm-w3jp.