Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable login oracle needs no auth or interaction (AV:N/AC:L/PR:N/UI:N); full DB read/write yields C:H/I:H, and the vendor-assigned 4.0 vector sets VA:N so A:N is retained.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
1DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to access database backup and restore functionality exposed by dbbak.php. The flaw stems from a shared cryptographic key (CWE-323) between UCenter integration and the backup API, which lets an attacker abuse an encryption oracle in logging_ctl::logging_more() to mint legitimately signed authorization tokens, and chain a race condition to impersonate arbitrary users. Publicly available exploit code exists and an upstream fix has been published on Gitee.
Technical ContextAI
Discuz! X5.0 is a widely deployed PHP-based community forum/CMS originally developed by Comsenz/Tencent and now maintained on Gitee. UCenter is Discuz!'s shared user-center subsystem that uses a symmetric secret for cross-application authentication; dbbak.php is the administrative endpoint exposing database export and import. The root cause is CWE-323 (Reusing a Nonce / Key Pair in Encryption): the same cryptographic key is reused across two functionally distinct contexts - UCenter integration and the dbbak backup API. The login flow's logging_ctl::logging_more() encrypts attacker-controlled input from the username parameter using that shared key, turning it into a generic encryption/signing oracle. Because dbbak.php trusts any token signed with the same key, oracle-produced ciphertext is accepted as a valid authorization token, and a TOCTOU-style race during the user lookup lets the attacker pin the resulting session to any chosen identity.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the vendor commit 9962dad52c4c6999dabaf91ecd70377c680ff3c6 from https://gitee.com/Discuz/DiscuzX or upgrade to any tagged X5.0 release built after 20260501 once published. Until the patched build is rolled out, restrict network access to dbbak.php at the web server or WAF layer (for example, block /utility/dbbak.php and any UCenter API paths from the public internet and allow them only from administrator source IPs); this disables remote backup/restore from the UI and any automation that hits those endpoints, so schedule backups via the CLI or a maintenance VLAN instead. Rotate the UCenter authentication key (UC_KEY) and force re-login of all sessions after patching, because any token minted via the oracle before the fix remains cryptographically valid; rotation will break existing UCenter-integrated apps until they are reconfigured. Review database backup directories for unexpected exports and restored content as an indicator of prior abuse, and consult the research write-up at https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce and advisory https://karmainsecurity.com/KIS-2026-09 for detection guidance.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-323 – Reusing a Nonce, Key Pair in Encryption
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36792
GHSA-mx47-h32c-x878