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.
Published: 2026-06-15
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability in Discuz! X5.0 allows unauthenticated remote attackers to bypass the authentication system by exploiting an encryption oracle that reuses a cryptographic key shared between UCenter integration and the database backup API exposed by dbbak.php. By injecting a crafted username into the login request, an attacker can trigger the logging_ctl::logging_more() routine to produce a legitimately signed token. That token can then be used to perform database export and import operations without proper authorization, effectively granting the attacker privileged access to the database and potentially allowing further compromise. This flaw arises from CWE‑323, weak password cryptographic storage, and constitutes an authentication bypass that can be leveraged to gain unauthorized database access.

Affected Systems

Discuz! X5.0 products released between 20260320 and 20260501 are affected. The vulnerability exists across all installations of Discuz!:Discuz! X5.0 within this release window, regardless of specific configuration, because the shared cryptographic key is hard‑coded in the code base. The issue is present in all distributions that ship with the dbbak.php script and UCenter integration.

Risk and Exploitability

CVSS base score 9.3 indicates critical severity, and the configuration and privileges required are minimal: unauthenticated remote users can trigger the flaw via the publicly exposed login endpoint. EPSS score of less than 1% suggests exploitation is currently rare or low‑probability, and the vulnerability is not listed in CISA KEV, but the high impact and exploitability via a simple HTTP request mean that an attacker with internet exposure to the target can readily misuse it. Organizations should act swiftly to remediate. The attack path involves injecting a crafted payload during login, harvesting a signed token, and then using that token to hydrate database backup endpoints or manipulate runtime tokens to impersonate arbitrary users.

Generated by OpenCVE AI on June 16, 2026 at 23:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Discuz! X5.0 version released on or after 20260502 that removes the shared cryptographic key and implements proper token validation.
  • If an upgrade is not immediately available, disable the dbbak.php script by removing or restricting access to it, and disable or reconfigure UCenter integration to eliminate the shared key.
  • Configure a web application firewall to block requests containing suspicious usernames used to trigger the oracle and monitor authentication logs for repeated unauthorized attempts.

Generated by OpenCVE AI on June 16, 2026 at 23:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 14:00:00 +0000

Type Values Removed Values Added
First Time appeared Discuz
Discuz discuzx
Vendors & Products Discuz
Discuz discuzx

Tue, 16 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
References

Mon, 15 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 15 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle
Weaknesses CWE-323
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-16T09:48:23.903Z

Reserved: 2026-06-02T16:30:15.232Z

Link: CVE-2026-49952

cve-icon Vulnrichment

Updated: 2026-06-16T09:48:23.903Z

cve-icon NVD

Status : Deferred

Published: 2026-06-15T20:16:29.103

Modified: 2026-06-16T12:16:26.373

Link: CVE-2026-49952

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-16T13:45:16Z

Weaknesses
  • CWE-323

    Reusing a Nonce, Key Pair in Encryption