CVE-2024-40520 Code injection in n/a
Authenticated attackers can execute arbitrary commands and gain system permissions in SeaCMS due to unsafe handling of user input in configuration files.
- 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-40520?
CVE-2024-40520 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
SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is caused by admin_config_mark.php directly splicing and writing the user input data into inc_photowatermark_config.php without processing it, which allows authenticated attackers to exploit the vulnerability to execute arbitrary commands and obtain system permissions.
Weakness: CWE-20
Which versions are affected by CVE-2024-40520?
It affects 1 product.
Products include Seacms Seacms.
How do I fix CVE-2024-40520?
No fix has been published for CVE-2024-40520 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-40520 being exploited?
There is no known exploitation of CVE-2024-40520 in the wild and no public exploit code.
Other vulnerabilities in Seacms Seacms
Sources
Also known as GHSA-h2j3-p7q9-whch.