CVE-2021-48016
DedeCMS through 5.8.1-beta contains a PHP code injection …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dedecms/DedeCMS/blob/v5.8.1/include/common.func.php
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/dedecms/dedecm
- srcincite.io/blog/2021/09/30/chasing-a-dream-pwning-the-biggest-cms-in-china.html
- www.vulncheck.com/advisories/dedecms-5.8.1-beta-unauthenticated-rce-via-plus-flink-php
- nvd.nist.gov/vuln/detail/CVE-2021-48016
- cve.org/CVERecord?id=CVE-2021-48016
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.