User impersonation via trusted username cookie
Published Dec 28, 2025 · Updated Dec 28, 2025
Improper authentication in joey-zhou Xiaozhi ESP32 Server Java 3.0 allows remote attackers to impersonate users via a forged cookie. AuthenticationInterceptor.tryAuthenticateWithCookies treats the username cookie as proof of identity, loads the named account, and writes it into the session without verifying a credential or signature. The public queryUsers endpoint discloses usernames, including the default administrator name, so network access is sufficient to obtain the selected account's application privileges.
Summary
What happened
Improper authentication in joey-zhou Xiaozhi ESP32 Server Java 3.0 allows remote attackers to impersonate users via a forged cookie. AuthenticationInterceptor.tryAuthenticateWithCookies treats the username cookie as proof of identity, loads the named account, and writes it into the session without verifying a credential or signature. The public queryUsers endpoint discloses usernames, including the default administrator name, so network access is sufficient to obtain the selected account's application privileges.
The record
- CVE
- CVE-2025-15135
- Published
- Dec 28, 2025
- Updated
- Dec 28, 2025
- Vendor
- joey-zhou
- Product
- Xiaozhi ESP32 Server Java
- Classifications
- CWE-287, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 28, 2025CVE publishedPublication date reported by the CVE source.
- Dec 28, 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=3.0
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.
Public exploit references
- GitHub issue 143 authentication-bypass reproductionproof 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