CVE-2024-2016 ZhiCms setcontroller.php index code injection

Medium 6.3 Published Updated

Remote attackers can execute arbitrary code via the sitename parameter in ZhiCms, requiring administrative permissions.

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

CVE-2024-2016 is a medium-severity code injection vulnerability in ZhiCms, published on 29 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, was found in ZhiCms 4.0. Affected is the function index of the file app/manage/controller/setcontroller.php. The manipulation of the argument sitename leads to code injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-255270 is the identifier assigned to this vulnerability.

Weakness: CWE-94

Which versions are affected by CVE-2024-2016?

It affects 1 product.

Products include Zhicms Zhicms.

How do I fix CVE-2024-2016?

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

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

Sources

Also known as GHSA-gx2g-vf96-qjwv.

Is CVE-2024-2016 in your software?

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

Check your SBOMs for free