Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-56706— Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking

Quick assessment

Affected
vrana adminer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Adminer 5.4.3 之前的版本中,其 CSRF 令牌机制存在安全缺陷:每个令牌均同时传输异或掩码(XOR mask)和掩码后的值,格式为 。攻击者若通过嗅探网络流量、日志文件、Referer 头信息或跨站脚本攻击(XSS)等方式观察到单个 CSRF 令牌,仅执行一次异或运算即可还原出会话密钥(secret),进而伪造无限数量的有效令牌。 该实现的安全性进一步被以下因素削弱: 1. 会话令牌(rand)的熵值较低(取值范围为 1 到 1,000,000,约 20 比特),使得攻击者能够进行盲暴力破解; 2

CVSS 6.8 · Medium EPSS 0.29% · P21

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
vrana adminer < 5.4.3 affected
5.4.3 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56706

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
使用不充分的随机数
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
vrana adminer 0 ~ 5.4.3 -

II. Public POCs for CVE-2026-56706

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56706

登录查看更多情报信息。

Vendor Advisories for CVE-2026-56706 (2)

Same Patch Batch · vrana · 2026-08-25 · 10 CVEs total

CVE-2026-56705 9.8 CRITICAL Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection
CVE-2026-56702 8.8 HIGH Adminer before 5.4.3 Unrestricted File Upload via AdminerFileUpload
CVE-2026-34968 8.1 HIGH Adminer before 5.4.3 Arbitrary File Deletion via SQLite Drop
CVE-2026-56703 7.2 HIGH Adminer before 5.4.3 Remote Code Execution via SQLite VACUUM INTO
CVE-2026-56704 6.1 MEDIUM Adminer before 5.4.3 Cross-Site Scripting via MySQL Version String
CVE-2026-34964 5.8 MEDIUM Adminer before 5.5.0 SSRF via PDO DSN Injection
CVE-2026-34967 5.4 MEDIUM Adminer sql-log Plugin 5.3.0 through 5.4.2 Arbitrary File Write
CVE-2026-34959 4.7 MEDIUM Adminer before 5.5.0 Open Redirect via X-Forwarded-Prefix
CVE-2026-16434 2.3 LOW Adminer before 5.5.1 X-Forwarded-Prefix Backslash Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-56706

No comments yet


Leave a comment