Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA adminer (vrana) Fixed in 5.4.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
vrana adminer 5.4.3
6 records Highest priority Priority HIGH 4 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-40884 Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN InjectionPriority HIGH 81
- TI-2026-40882 Adminer before 5.4.3 Remote Code Execution via SQLite VACUUM INTOPriority HIGH 72
- TI-2026-40881 Adminer before 5.4.3 Unrestricted File Upload via AdminerFileUploadPriority HIGH 66
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56706
- 2026-10-03 Alias added: GHSA-wjcm-7h7g-36vh
References
More Adminer vulnerabilities
- TI-2021-04411 SSRF in adminer KEVCVSS 3.1HIGH 7.2
- TI-2026-40884 Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection CVSS 4.0CRITICAL 9.3
- TI-2026-71163 Remote code execution in Adminer via UTF-8 BOM SQLite bypass CVSS 4.0HIGH 8.6
- TI-2026-40882 Adminer before 5.4.3 Remote Code Execution via SQLite VACUUM INTO CVSS 4.0HIGH 8.6
- TI-2026-64854 Adminer before 6.0.2 Privileged-Port SSRF via host_port Regex CVSS 4.0MEDIUM 6.9
- TI-2026-64852 Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-56706 · CVE Program
- CVE-2026-56706 · NVD
- FIRST EPSS
- GHSA-wjcm-7h7g-36vh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences