CVE-2024-42166 Command Injection in Applicationname

Critical 9.1 Published Updated

An authenticated user can execute arbitrary OS commands by providing a malicious application name in FIWARE Keyrock.

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

CVE-2024-42166 is a critical command injection vulnerability in FIWARE Keyrock, published on 12 Aug 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The function "generate_app_certificates" in lib/app_certificates.js of FIWARE Keyrock <= 8.4 does not neutralize special elements used in an OS Command properly. This allows an authenticated user with permissions to create applications to execute commands by creating an application with a malicious name.

Weakness: CWE-78

Which versions are affected by CVE-2024-42166?

It affects 1 product.

Products include Fiware Keyrock.

How do I fix CVE-2024-42166?

No fix has been published for CVE-2024-42166 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-42166 being exploited?

There is no known exploitation of CVE-2024-42166 in the wild and no public exploit code.

Sources

Also known as GHSA-3949-74rr-85j5.

Is CVE-2024-42166 in your software?

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

Check your SBOMs for free