CVE-2026-49952
JSON

9.3critical

Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
3.65% (higher than 90% of CVEs)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
Discuz! Discuz! X5.0from 20260320 up to 20260501CVE List

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-323

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones 20260320 a 20260501 de Discuz! X5.0 contienen una vulnerabilidad de omisión de autenticación que permite a atacantes remotos no autenticados obtener acceso no autorizado a la funcionalidad de copia de seguridad y restauración de la base de datos explotando una clave criptográfica compartida entre la integración de UCenter y la API de copia de seguridad de la base de datos expuesta por dbbak.php. Los atacantes pueden inyectar una carga útil manipulada a través del parámetro de nombre de usuario durante el inicio de sesión para abusar del oráculo de cifrado en logging_ctl::logging_more(), obtener un token firmado legítimamente y usarlo para omitir la autorización para operaciones de exportación e importación de la base de datos, con la capacidad adicional de desencadenar una condición de carrera para suplantar a usuarios arbitrarios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49952 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-49952 changed 2026-10-25Public domain