{"id":"CVE-2026-56706","aliases":["CVE-2026-56706"],"related":[],"kind":"vulnerability","state":"published","title":"Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"Adminer antes de la versión 5.4.3 utiliza un esquema de token CSRF que transmite tanto la máscara XOR como el valor enmascarado en cada token (formato (rand XOR secreto):rand), permitiendo que cualquiera que observe un único token CSRF (por ejemplo, a través de la monitorización de red, archivos de registro, encabezado Referrer o XSS) recupere el secreto de la sesión con una única operación XOR y falsifique tokens válidos ilimitados. La implementación se debilita aún más por un token de sesión de baja entropía (rand(1,1e6), ~20 bits) que permite la fuerza bruta ciega, y por el uso de comparación laxa (==) en la verificación del token, lo que permite la manipulación de tipos de PHP. La explotación permite la falsificación de petición en sitios cruzados contra sesiones autenticadas, incluyendo la ejecución de consultas SQL arbitrarias.","source":"nvd"}],"published":"2026-08-25T01:30:05.474Z","modified":"2026-10-12T15:10:00.207Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":6.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-330"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.4.3","status":"affected"},{"type":"semver","version":"5.4.3","status":"unaffected"}],"vendor":"vrana","product":"adminer","source":"cvelist"}],"references":[{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["az0mb13"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-25T15:34:13.264Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56706","url":"https://www.cve.org/CVERecord?id=CVE-2026-56706","licence":"CVE Terms of Use","modified":"2026-08-25T15:34:21.769Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56706","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56706","licence":"Public domain","modified":"2026-10-12T15:10:00.207Z"}],"updatedAt":"2026-11-25T22:59:35.089Z","epss":{"score":0.0036,"percentile":0.31818,"date":"2026-12-01T12:00:22.000Z"}}