CVE-2025-34059 Dahua Smart Cloud Gateway Registration Management Platform SQL Injection

High 8.7 Published Updated

Unauthenticated attackers can inject SQL via the login endpoint to disclose sensitive information in the Dahua Smart Cloud Gateway Registration Management Platform.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34059?

CVE-2025-34059 is a high-severity SQL injection vulnerability in Zhejiang Dahua Technology Co., Ltd. Smart Cloud Gateway Registration Management Platform, published on 1 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An SQL injection vulnerability exists in the Dahua Smart Cloud Gateway Registration Management Platform via the username parameter in the /index.php/User/doLogin endpoint. The application fails to properly sanitize user input, allowing unauthenticated attackers to inject arbitrary SQL statements and potentially disclose sensitive information. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.

Weakness: CWE-89, CWE-200

Which versions are affected by CVE-2025-34059?

How do I fix CVE-2025-34059?

No fix has been published for CVE-2025-34059 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-34059 being exploited?

There is no known exploitation of CVE-2025-34059 in the wild and no public exploit code.

Sources

Also known as GHSA-264g-23wx-93mv.

Is CVE-2025-34059 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free