CVE-2026-49952 Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHP
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Discuz! X5.0 | >= 20260320, <= 20260501 | after 20260501 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Discuz! X5.0 | >= 20260320, <= 20260501 | No fix listed |
References
- karmainsecurity.com technical-description
- karmainsecurity.com exploit
- gitee.com patch
- www.vulncheck.com third-party-advisory
- seclists.org