Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

[R1] FreeNAS exec_raw.php cmd Parameter Remote Command Execution

Critical

Synopsis

FreeNAS contains a flaw in the exec_raw.php script related to the improper validation of input passed via the 'cmd' parameter. With a specially crafted request, a remote attacker may be able to execute arbitrary commands.

Solution

Upgrade to version 0.7.2.5543 or later to address this issue.

Proof of Concept

http://[target]/exec_raw.php?cmd=id

Disclosure Timeline

2010-11-05: Reported on the FreeNAS SourceForge bugtracker
2010-11-05: Acknowledged by FreeNAS developers
2010-11-07: Version 0.7.2.5543 released along with an advisory from FreeNAS

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]