NAS4Free 9.1.0.1.804 and earlier contains a feature in exec.php ("Advanced | Execute Command") that allows remote authenticated users to execute arbitrary PHP code. This functionality is intentionally exposed by the developer as part of the product's design, enabling users with valid credentials to run commands on the system via the web interface.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module (modules/exploits/multi/http/nas4free_php_exec.rb) that exploits an authenticated remote code execution vulnerability in NAS4Free (CVE-2013-3631). The exploit targets the NAS4Free web interface, specifically the /exec.php endpoint, which allows an authenticated user to submit and execute arbitrary PHP code. The module first authenticates to the web interface using provided credentials (default: admin/nas4free), retrieves an authentication token from /exec.php, and then submits a specially crafted multipart/form-data POST request containing the attacker's PHP payload. The exploit is weaponized, leveraging Metasploit's payload system to deliver arbitrary PHP code, and is suitable for post-exploitation activities such as opening a shell or running system commands. The code is written in Ruby and is structured as a standard Metasploit exploit module.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.