Sensitive database disclosure via unsanitized login username
Published Jul 1, 2025 · Updated Nov 20, 2025
SQL injection in Dahua Smart Cloud Gateway Registration Management Platform allows remote attackers to disclose database data without authentication. The /index.php/User/doLogin handler incorporates the username parameter into a database query without neutralizing SQL syntax, enabling error-based extraction through updatexml(). No account is required; a public proof of concept exposes the database user, and honeypot telemetry records exploitation against deployed instances.
Summary
What happened
SQL injection in Dahua Smart Cloud Gateway Registration Management Platform allows remote attackers to disclose database data without authentication. The /index.php/User/doLogin handler incorporates the username parameter into a database query without neutralizing SQL syntax, enabling error-based extraction through updatexml(). No account is required; a public proof of concept exposes the database user, and honeypot telemetry records exploitation against deployed instances.
The record
- CVE
- CVE-2025-34059
- Published
- Jul 1, 2025
- Updated
- Nov 20, 2025
- Vendor
- Zhejiang Dahua Technology Co., Ltd.
- Product
- Smart Cloud Gateway Registration Management Platform
- Classifications
- CWE-200, CWE-89, CAPEC-66, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 5, 2025Exploitation reportedShadowserver honeypot exploitation observations
- Jul 1, 2025CVE publishedPublication date reported by the CVE source.
- Nov 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Dahua Smart Cloud Gateway username SQL injection proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo