CVE-2024-40522 Code injection in n/a

High 8.8 Published Updated

An authenticated attacker can execute arbitrary commands and gain system permissions in SeaCMS due to improper filtering in phomebak.php.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-40522?

CVE-2024-40522 is a high-severity code injection vulnerability in Seacms Seacms, published on 12 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

There is a remote code execution vulnerability in SeaCMS 12.9. The vulnerability is caused by phomebak.php writing some variable names passed in without filtering them before writing them into the php file. An authenticated attacker can exploit this vulnerability to execute arbitrary commands and obtain system permissions.

Weakness: CWE-94

Which versions are affected by CVE-2024-40522?

It affects 1 product.

Products include Seacms Seacms.

How do I fix CVE-2024-40522?

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

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

All Seacms Seacms vulnerabilities

Sources

Also known as GHSA-cxmx-p5rj-hv5g.

Is CVE-2024-40522 in your software?

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

Check your SBOMs for free