CVE-2024-40521 Code injection in n/a

High 7.2 Published Updated

Authenticated attackers can bypass file editing restrictions in SeaCMS to inject code, execute arbitrary commands, and gain system privileges.

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-40521?

CVE-2024-40521 is a high-severity code injection vulnerability in Seacms Seacms, published on 12 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is due to the fact that although admin_template.php imposes certain restrictions on the edited file, attackers can still bypass the restrictions and write code in some way, allowing authenticated attackers to exploit the vulnerability to execute arbitrary commands and gain system privileges.

Weakness: CWE-94

Which versions are affected by CVE-2024-40521?

It affects 1 product.

Products include Seacms Seacms.

How do I fix CVE-2024-40521?

No fix has been published for CVE-2024-40521 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-40521 being exploited?

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

All Seacms Seacms vulnerabilities

Sources

Also known as GHSA-882r-xjmv-4jmx.

Is CVE-2024-40521 in your software?

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

Check your SBOMs for free