{"id":"CVE-2026-56706","state":"PUBLISHED","title":"Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking","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.","publishedAt":"2026-08-25T01:30:05.474Z","updatedAt":"2026-08-25T15:34:21.769Z","severity":{"score":6.1,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["vrana adminer"],"affected":[{"vendor":"vrana","product":"adminer","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.3","versionType":"semver"},{"version":"5.4.3","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking"],"weaknesses":["CWE-330"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56706.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56706","state":"PUBLISHED","datePublished":"2026-08-25T01:30:05.474Z","dateUpdated":"2026-08-25T15:34:21.769Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-22T18:48:27.060Z"},"containers":{"cna":{"title":"Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking","descriptions":[{"lang":"en","value":"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":[{"vendor":"vrana","product":"adminer","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.3","versionType":"semver"},{"version":"5.4.3","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-33j4-hc95-pggg)"},{"url":"https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking","name":"VulnCheck Advisory: Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-330","lang":"en","description":"Use of Insufficiently Random Values","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-25T01:30:05.474Z"},"datePublic":"2026-07-09T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.3"}]}]}],"credits":[{"lang":"en","value":"az0mb13","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-25T15:34:13.264084Z","id":"CVE-2026-56706","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-25T15:34:21.769Z"}}]}}}