CVE-2026-56706
published medium CVSS 4.0 · 6.1Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vrana | — | adminer0 to < 5.4.3 (affected · semver) · 5.4.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vrana | adminer | 0 to < 5.4.3 (affected · semver)5.4.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-330 Use of Insufficiently Random Values
References
2- GitHub Security Advisory (GHSA-33j4-hc95-pggg) https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg
- VulnCheck Advisory: Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking
Provider assertions
2VulnCheck · cna
Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 350450ec0dfe849bef0055584eddb5ca899a9d3788644a007a3d572bdabf8b13
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record