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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
* before 0.7.2 rev 5543
Credits
MC
References
www.exploit-db.com/exploits/16313
raw.githubusercontent.com/.../multi/http/freenas_exec_raw.rb
sourceforge.net/projects/freenas/
github.com/freenas
www.truenas.com/freenas/
www.tenable.com/plugins/nnm/5714
web.archive.org/...s//stable/0.7.2/NOTES 0.7.2.5543.txt/view
www.vulncheck.com/...ies/freenas-arbitrary-command-execution