Code injection in Nette Framework
CVE-2020-15227 is a code injection vulnerability in the PHP-based Nette Framework, affecting the nette/application and nette/nette packages. Specially formed URL parameters can trigger code injection that may lead to remote code execution. Affected releases precede the branch-specific fixes in versions 2.0.19, 2.1.13, 2.2.10, 2.3.14, 2.4.16, and 3.0.6. Observed exploitation attempts use attacker-controlled callback and command parameters to invoke PHP shell execution functionality.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow remote execution of attacker-controlled code and operating-system commands on the application host. Observed exploitation attempts carry commands to download and execute a payload associated with a Go-based DDoS agent that uses crontab and systemd for persistence.
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by restricting access to vulnerable application endpoints, applying strict input validation and normalization for URL parameters, and deploying compensating controls such as a WAF to detect and block malicious parameter payloads. Closely monitor application and web server logs for suspicious requests containing crafted parameter values. These measures are temporary and do not replace upgrading to a fixed version.
Patch, then assume compromise.
Upgrade nette/application to the applicable fixed release: 2.2.10, 2.3.14, 2.4.16, or 3.0.6, or a later release in the corresponding branch. Upgrade nette/nette to 2.0.19 or 2.1.13, or a later release in the corresponding branch.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.