SQL injection via crafted state parameter
Published Apr 7, 2025 · Updated Apr 8, 2025
SQL injection in Xiaozhi ESP32 Server Java at commit a14fe811 allows remote authenticated users to read or alter database data. The /api/user/update handler incorporates the state field into an SQL statement without safely binding it as data, enabling conditional and time-delay expressions. The CNA scores access as requiring low privileges, while the public proof of concept reports no permission check; successful injection can read or alter database data and delay queries.
Summary
What happened
SQL injection in Xiaozhi ESP32 Server Java at commit a14fe811 allows remote authenticated users to read or alter database data. The /api/user/update handler incorporates the state field into an SQL statement without safely binding it as data, enabling conditional and time-delay expressions. The CNA scores access as requiring low privileges, while the public proof of concept reports no permission check; successful injection can read or alter database data and delay queries.
The record
- CVE
- CVE-2025-3382
- Published
- Apr 7, 2025
- Updated
- Apr 8, 2025
- Vendor
- joey-zhou
- Product
- Xiaozhi ESP32 Server Java
- Classifications
- CWE-89, CWE-74, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 7, 2025CVE publishedPublication date reported by the CVE source.
- Apr 8, 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=a14fe8115842ee42ab5c7a51706b8a85db5200b7
What conditions does exploitation require?
What is affected?
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
- xiaozhi-sqli proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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