CVE Catalog

CVE-2023-7330

Critical
Published: Translated: NVD NIST

Summary

Ruijie NBR series routers contain an unauthenticated arbitrary file upload vulnerability via /ddi/server/fileupload.php. The endpoint accepts attacker-supplied values in name and uploadDir parameters and saves the file without adequate validation, allowing remote code execution.

Risk Assessment

A remote attacker can upload a malicious PHP file and execute code in the context of the web service, leading to full router compromise.

Recommendation

Apply security updates from the vendor immediately and restrict access to the endpoint.

Original NVD description (English source)

Ruijie NBR series routers contain an unauthenticated arbitrary file upload vulnerability via /ddi/server/fileupload.php. The endpoint accepts attacker-supplied values in the name and uploadDir parameters and saves the provided multipart file content without adequate validation or sanitization of file type, path, or extension. A remote attacker can upload a crafted PHP file and then access it from the web root, resulting in arbitrary code execution in the context of the web service. Exploitation evidence was observed by the Shadowserver Foundation on 2025-01-14 UTC.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS