Use of Insufficiently Random Values Affecting adminer package, versions <5.4.3+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-ADMINER-19257275
  • published26 Aug 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

NewCVE-2026-56706  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade Debian:unstable adminer to version 5.4.3+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream adminer package and not the adminer package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1