CVE Catalog

CVE-2021-48016

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

DedeCMS through 5.8.1-beta contains a PHP code injection vulnerability in ShowMsg() where the HTTP Referer header is written into a DedeTemplate string and included. Unauthenticated attackers can send a crafted Referer to /plus/flink.php?dopost=save with an empty validation code to execute arbitrary PHP and system commands.

Risk Assessment

An unauthenticated attacker can execute arbitrary PHP code and system commands on the server, leading to full system compromise. Exploitation has been observed in the wild.

Recommendation

Update DedeCMS to a version later than 5.8.1-beta and restrict access to /plus/flink.php.

Other vulnerabilities in DedeCMS

See all
Original NVD description (English source)

DedeCMS through 5.8.1-beta contains a PHP code injection vulnerability in ShowMsg() where the HTTP Referer header is written into a DedeTemplate string and included. Unauthenticated attackers can send a crafted Referer to /plus/flink.php?dopost=save with an empty validate code to execute arbitrary PHP and system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS