CVE-2026-56706: Use of Insufficiently Random Values in vrana adminer
Description
CVE-2026-56706 affects Adminer versions before 5.4.3 and involves a flawed CSRF token scheme that exposes the session secret through token observation. The vulnerability arises from transmitting both the XOR mask and masked value in the token, combined with low-entropy session tokens and loose comparison verification. This allows attackers to recover the session secret and forge valid CSRF tokens, enabling cross-site request forgery attacks that can execute arbitrary SQL queries in authenticated sessions.
CVSS v4.0
Score 6.1medium
Affected software
vrana
adminer
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Adminer versions prior to 5.4.3 use a CSRF token scheme where each token includes both the XOR mask and the masked value in the format (rand XOR secret):rand. Because both components are transmitted, an attacker who observes a single token (via network sniffing, logs, Referrer headers, or XSS) can recover the session secret with a single XOR operation. The session token's low entropy (~20 bits from rand(1,1e6)) allows blind brute-force attacks. Additionally, the token verification uses loose comparison (==), enabling PHP type juggling attacks. Together, these weaknesses allow an attacker to forge unlimited valid CSRF tokens, facilitating cross-site request forgery against authenticated sessions, including the execution of arbitrary SQL queries.
Potential Impact
Successful exploitation allows attackers to bypass CSRF protections by forging valid tokens, leading to cross-site request forgery attacks against authenticated users. This can result in unauthorized execution of arbitrary SQL queries, potentially compromising the database integrity and confidentiality.
Mitigation Recommendations
A fix is available in Adminer version 5.4.3 and later. Users should upgrade to version 5.4.3 or newer to remediate this vulnerability. No additional mitigation is indicated in the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-22T18:48:27.060Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8cf57aacd9273b4984286d
Added to database: 08/25/2026, 01:52:58 UTC
Last enriched: 09/10/2026, 20:47:37 UTC
Last updated: 10/08/2026, 18:48:46 UTC
Views: 59
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.