{"id":"UBUNTU-CVE-2026-56706","details":"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.","modified":"2026-09-02T19:36:20.417644299Z","published":"2026-08-25T02:16:00Z","upstream":["CVE-2026-56706"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-56706"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-56706"},{"type":"REPORT","url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg"}],"affected":[{"package":{"name":"adminer","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-1","4.2.1-1ubuntu1","4.2.1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"adminer","binary_version":"4.2.1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}},{"package":{"name":"adminer","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.1-2","4.5.0-1","4.6.1-1","4.6.2-1","4.6.2-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.6.2-1ubuntu0.1~esm1","binary_name":"adminer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}},{"package":{"name":"adminer","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.2-1","4.7.4-1","4.7.5-1","4.7.6-1","4.7.6-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.7.6-1ubuntu0.1~esm1","binary_name":"adminer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}},{"package":{"name":"adminer","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.9-2","4.8.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.8.1-1","binary_name":"adminer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}},{"package":{"name":"adminer","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.1-1","4.8.1-1ubuntu1","4.8.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"adminer","binary_version":"4.8.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}},{"package":{"name":"adminer","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/adminer?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1+dfsg-1","5.3.0+dfsg-1","5.4.0+dfsg-1","5.4.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.4.1+dfsg-1","binary_name":"adminer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56706.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}