CVE-2026-56706
Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
- State
- Published
- Severity
- 6.1 Medium
- Published
- Aug 25, 2026
- Updated
- Aug 25, 2026
- Reserved
- Jun 22, 2026
Description
Adminer before 5.4.3 uses a CSRF token scheme that transmits both the XOR mask and the masked value in every token (format (rand XOR secret):rand), allowing anyone who observes a single CSRF token (e.g., via network sniffing, log files, Referrer header, or XSS) to recover the session secret with a single XOR operation and forge unlimited valid tokens. The implementation is further weakened by a low-entropy session token (rand(1,1e6), ~20 bits) that permits blind brute-force, and by use of loose comparison (==) in token verification, enabling PHP type juggling. Exploitation enables cross-site request forgery against authenticated sessions, including execution of arbitrary SQL queries.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.1 Medium | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.8 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H | VulnCheck |
Weaknesses
- CWE-330 Use of Insufficiently Random Values
Affected Products
| Product | Versions |
|---|---|
adminervrana |
|
References
- GitHub Security Advisory (GHSA-33j4-hc95-pggg)vendor-advisory
- VulnCheck Advisory: Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Maskingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.