{"id":"CVE-2026-49952","published":"2026-06-15T18:43:21Z","modified":"2026-07-28T01:49:38Z","title":"Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle","vendor":"Discuz!","product":"Discuz! X5.0","tier":"tail","description":{"text":"Discuz! X5.0 releases 20260320 through 20260501 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to gain unauthorized access to database backup and restore functionality by exploiting a shared cryptographic key between UCenter integration and the database backup API exposed by dbbak.php. Attackers can inject a crafted payload through the username parameter during login to abuse the encryption oracle in logging_ctl::logging_more(), obtain a legitimately signed token, and use it to bypass authorization for database export and import operations, with the additional ability to trigger a race condition to impersonate arbitrary users.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04717,"percentile":0.91966,"provenance":"source"},"cwes":[{"id":"CWE-323","name":"Reusing a Nonce, Key Pair in Encryption"}],"references":[{"url":"https://karmainsecurity.com/KIS-2026-09","tags":["technical-description"]},{"url":"https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce","tags":["exploit"]},{"url":"https://gitee.com/Discuz/DiscuzX/commit/9962dad52c4c6999dabaf91ecd70377c680ff3c6","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/discuz-x5-0-authentication-bypass-via-dbbak-php-encryption-oracle","tags":["third-party-advisory"]},{"url":"http://seclists.org/fulldisclosure/2026/Jun/3","tags":[]}],"priority":{"score":29.8,"factors":[{"name":"EPSS percentile","points":18.39},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-07-07"},"pocGithub":{"count":3,"skipped":0,"earliest":"2026-06-17","earliestUrl":"https://github.com/passwa11/CVE-2026-49952","repos":[{"name":"passwa11/CVE-2026-49952","url":"https://github.com/passwa11/CVE-2026-49952","stars":3,"created":"2026-06-17"},{"name":"CerberusMrXi/Discuz-X5.0-Authentication-Bypass-Exploit-Framework","url":"https://github.com/CerberusMrXi/Discuz-X5.0-Authentication-Bypass-Exploit-Framework","stars":1,"created":"2026-07-24"},{"name":"caviar-dynamo/CVE-2026-49952","url":"https://github.com/caviar-dynamo/CVE-2026-49952","stars":0,"created":"2026-11-23"}]},"nuclei":[{"id":"CVE-2026-49952","name":"Discuz! X5.0 - Authentication Bypass","severity":"critical","path":"http/cves/2026/CVE-2026-49952.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-49952.yaml"}],"first":{"date":"2026-06-17","source":"PoC-in-GitHub","url":"https://github.com/passwa11/CVE-2026-49952"},"provenance":"source"},"vendorSlug":"discuz","affectedVersions":[{"vendor":"Discuz!","product":"Discuz! X5.0","versions":[">= 20260320, <= 20260501"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-15T19:58:52.987295Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Discuz! X5.0 (releases 20260320 through 20260501) contains an authentication bypass in the dbbak.php database backup API, caused by a cryptographic key shared between the UCenter integration and that API. An unauthenticated remote attacker can send a crafted username value during login to abuse an encryption oracle in logging_ctl::logging_more(), obtain a validly signed token, and use it to perform database export and import operations, with a race condition also enabling impersonation of arbitrary users.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:01Z"},"euvd":{"id":"EUVD-2026-36792","exploited":false,"provenance":"source"},"exploits":[{"id":52621,"url":"https://www.exploit-db.com/exploits/52621","title":"Discuz! X5.0 - 'dbbak.php' Authentication Bypass","date":"2026-07-07","verified":false,"provenance":"source"}],"exploitRefs":["https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce"]}