CVE-2024-6940 DedeCMS article_template_rand.php code injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary code in DedeCMS via the article_template_rand.php file, requiring immediate mitigation due to public exploit availability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-6940?

CVE-2024-6940 is a medium-severity code injection vulnerability in Dedecms Dedecms, published on 21 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in DedeCMS 5.7.114. It has been classified as critical. This affects an unknown part of the file article_template_rand.php. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-271995. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-94

Which versions are affected by CVE-2024-6940?

It affects 1 product.

Products include Dedecms Dedecms.

How do I fix CVE-2024-6940?

No fix has been published for CVE-2024-6940 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-6940 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6940 exists.

All Dedecms Dedecms vulnerabilities

Sources

Also known as GHSA-pw8x-jq9m-hmc9.

Is CVE-2024-6940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free