Unauthenticated File Upload Leading to RCE in Ruijie NBR Routers
CVE-2023-7330 is an unauthenticated arbitrary file upload vulnerability in Ruijie NBR series routers. The upload endpoint accepts attacker-controlled name and uploadDir parameters and saves multipart file content without adequately validating file types, paths, or extensions. A remote attacker can upload a crafted PHP file into the web root and invoke it to execute arbitrary code in the web service context. The Shadowserver Foundation observed exploitation evidence on January 14, 2025. A meaningful affected-version range is not available.
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 permits unauthorized file placement and arbitrary code execution with the privileges of the router's web service. The resulting access is bounded by that service's permissions; root-level execution and impacts on subsequent systems are not established.
If you can’t patch tonight, do this now.
Recommended controls include validating uploaded file types and extensions, sanitizing destination paths, and storing uploads outside the web root to prevent direct invocation of uploaded PHP content. These controls are recommendations, not confirmed vendor workarounds.
Patch, then assume compromise.
A specific vendor patch or fixed release is not identified. Remediation guidance recommends applying vendor patches or updates when available and correcting upload handling to validate file types, paths, and extensions and sanitize attacker-controlled upload parameters.
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.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.