Cloudanix VulnDB

CVE-2025-1338

High · 7.3

CVSS

7.3

EPSS

51.1%

Published

Feb 16, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

Some NUUO cameras can be taken over remotely through their web interface, putting surveillance operations and nearby networks at risk.

Weaponized
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Command Injection
Remediation
No Fix Yet
Effort
Medium
Patch risk
Medium

What it actually does

CVE-2025-1338 is an unauthenticated remote command injection vulnerability in NUUO Camera firmware versions up to 20250203. The vulnerable code path is associated with the print_file function in /handle_config.php, where attacker-controlled input in the log argument is not safely validated or escaped before being used in an operating-system command context. A remote attacker can send a crafted HTTP request that causes the camera to execute attacker-supplied shell commands with the privileges of the web service or underlying device process. Technical outcomes can include command execution, file read/write, configuration tampering, service disruption, deployment of malware, credential or configuration theft, and use of the camera as a foothold into adjacent networks.

Why it matters to the business

Successful exploitation can turn an exposed camera or video-surveillance appliance into an attacker-controlled device. This can disrupt physical security monitoring, expose video infrastructure configuration, enable lateral movement into internal networks, and allow the device to be used for botnet activity, proxying, reconnaissance, or persistence. The risk is elevated because exploitation is remote, requires no authentication or user interaction, public exploit details are available, exploit maturity is weaponized, and the EPSS probability is high at approximately 51%. No vendor-fixed version is identified in the provided data, so organizations operating affected NUUO Camera devices should treat internet-exposed systems as high-priority remediation targets.

How an attack unfolds

An attacker first identifies a reachable NUUO Camera web interface, typically through internet scanning, asset-search engines, or internal reconnaissance. The attacker then sends a crafted request to /handle_config.php that reaches the print_file functionality and supplies a malicious value in the log parameter. Because the parameter is handled unsafely, command separators or shell metacharacters can cause the device to execute attacker-selected operating-system commands. After confirming execution, the attacker may enumerate the device, download additional tooling, modify configuration, create persistence where possible, pivot through trusted network paths, or enroll the camera into botnet or proxy infrastructure. Public exploit availability and weaponized maturity mean automated scanning and mass exploitation attempts should be expected against exposed devices.

How to fix it

Upgrade affected NUUO Camera firmware when a vendor-supported fixed release becomes available. Because no fixed version is identified in the provided data and the vendor reportedly did not respond to early disclosure, compensating controls are essential. Remove direct internet exposure for camera management interfaces, place cameras on isolated network segments, restrict access to trusted administrative hosts through firewall rules or VPN, and block untrusted access to /handle_config.php. If the device is not business-critical, consider disconnecting or replacing affected models with supported alternatives. Rotate credentials and review device configuration after remediation, because command injection can expose stored settings or enable unauthorized changes. Where feasible, deploy a reverse proxy, WAF, or network security control that blocks requests to /handle_config.php containing shell metacharacters in the log parameter, but do not rely on filtering as the only control.

How to confirm the fix worked

Confirm exposure by inventorying NUUO Camera devices and identifying firmware builds at or before 20250203. Verify that management web interfaces are not reachable from the public internet and are only accessible from approved administrative networks. Test access controls by attempting to reach /handle_config.php from untrusted network segments and confirming it is blocked. Validate remediation by confirming firmware has been upgraded when a fixed release exists, or that compensating network controls prevent unauthenticated access to the vulnerable endpoint. Review web server, device, firewall, IDS/IPS, and proxy logs for historical requests to /handle_config.php with a log parameter containing encoded or unencoded shell metacharacters. If suspicious requests are found, perform forensic review of device configuration, running processes, scheduled jobs/startup scripts, outbound connections, and unexpected files in writable directories.

Typical attack path

  1. Discover NUUO Camera web interfaces exposed to the internet or reachable from a compromised internal network.
  2. Fingerprint the device and firmware generation to determine whether it is likely running a vulnerable version up to 20250203.
  3. Send a crafted HTTP request to /handle_config.php targeting the vulnerable print_file code path and the log parameter.
  4. Abuse command injection to execute a benign validation command, then escalate to reconnaissance commands on the device.
  5. Download or execute additional payloads using built-in utilities such as shell, wget, curl, tftp, or busybox if available.
  6. Modify files or configuration, establish persistence if supported, or disable security/logging features.
  7. Use the camera as a foothold for internal network reconnaissance, proxying traffic, botnet activity, or disruption of surveillance operations.

How to detect it

Review HTTP access logs from the camera web service, upstream reverse proxies, WAFs, load balancers, firewall logs, and IDS/IPS telemetry for requests to /handle_config.php that include the log parameter and shell metacharacters such as semicolons, pipes, backticks, command substitution, redirection, or URL-encoded equivalents. Look for repeated scanning from many sources, 200/500 responses after suspicious requests, and requests followed by unusual outbound connections from the camera to unfamiliar IPs or domains. On the device, if shell or diagnostic access is available, inspect running processes, startup scripts, cron-like schedulers, writable temporary directories, web directories, and configuration files for unauthorized changes. Network telemetry should be checked for cameras initiating unexpected outbound connections, especially to download tools or malware using wget, curl, tftp, ftp, telnet, ssh, nc/netcat, busybox, or unusual DNS lookups. If exploitation is suspected, preserve volatile evidence before rebooting, because embedded devices may store limited logs and malware may run only in memory.

  • /handle_config.php
  • print_file
  • log=
  • GET /handle_config.php
  • POST /handle_config.php
  • /handle_config.php?log=
  • log=%3B
  • log=;
  • log=%7C
  • log=|
  • log=%26
  • log=&
  • log=%60
  • log=`
  • log=%24%28
  • log=$(
  • log=%3E
  • log=>
  • log=%3C
  • log=<
  • log=%0A
  • log=%0D
  • wget http
  • curl http
  • tftp -g
  • busybox wget
  • /bin/sh
  • /bin/busybox
  • /tmp/
  • /var/tmp/
  • nc -e
  • netcat -e

What your security team should do

  • Immediately identify all NUUO Camera devices and determine whether any run firmware versions up to 20250203.
  • Prioritize any internet-facing or third-party-accessible camera interfaces for isolation or removal from public exposure.
  • Block untrusted access to /handle_config.php at firewalls, reverse proxies, WAFs, and network gateways where technically feasible.
  • Place video-surveillance devices on segmented networks with no direct access to sensitive internal systems.
  • Hunt for historical exploitation attempts against /handle_config.php, especially requests containing log= and shell metacharacters or URL-encoded command separators.
  • If suspicious activity is detected, treat the camera as potentially compromised: preserve logs, isolate the device, review outbound traffic, rotate credentials, and reimage or replace where possible.
  • Monitor vendor advisories for a fixed firmware release; if none becomes available, assess replacement with supported equipment.
  • Add IDS/SIEM detections for exploit-pattern requests and unusual outbound connections from camera VLANs.
  • Restrict camera egress to required destinations only, blocking arbitrary outbound HTTP, HTTPS, DNS, TFTP, Telnet, SSH, and IRC where not needed.
  • Because public weaponized exploitation exists and EPSS is high, handle this as an active exploitation risk even though it is not listed in CISA KEV in the provided data.

The record

A vulnerability was found in NUUO Camera up to 20250203. It has been declared as critical. This vulnerability affects the function print_file of the file /handle_config.php. The manipulation of the argument log leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities