Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-56706 EUVD-2026-65204GHSA-wjcm-7h7g-36vh

Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
vrana adminer < 5.4.3 5.4.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 adminer 5.4.3+dfsg-1 —
Debian 13 adminer No fix yet —
Debian 12 adminer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS adminer No fix yet —
Ubuntu 24.04 LTS adminer No fix yet —
Ubuntu 22.04 LTS adminer No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS adminer No fix yet —
Ubuntu Pro 18.04 LTS adminer No fix yet —
Ubuntu Pro 16.04 LTS adminer No fix yet —

References