CVE-2024-0196 Magic-Api code injection

Medium 6.3 Published Updated

Remote attackers can execute arbitrary code via the file save endpoint in Magic-Api, requiring immediate patching.

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

CVE-2024-0196 is a medium-severity code injection vulnerability in Magic-Api, published on 2 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in Magic-Api up to 2.0.1 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /resource/file/api/save?auto=1. The manipulation leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249511.

Weakness: CWE-94

Which versions are affected by CVE-2024-0196?

It affects 1 product.

Products include Ssssssss Magic-Api.

How do I fix CVE-2024-0196?

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

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

Sources

Also known as GHSA-pf33-q9qc-h48r.

Is CVE-2024-0196 in your software?

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

Check your SBOMs for free