CVE-2024-30247 Command Injection as root in NextCloudPi web panel

Critical 10.0 Published Updated

Unauthenticated attackers can execute arbitrary commands as root via the NextCloudPi web panel due to a security misconfiguration.

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

What is CVE-2024-30247?

CVE-2024-30247 is a critical command injection vulnerability in nextcloudpi, published on 29 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

NextcloudPi is a ready to use image for Virtual Machines, Raspberry Pi, Odroid HC1, Rock64 and other boards. A command injection vulnerability in NextCloudPi allows command execution as the root user via the NextCloudPi web-panel. Due to a security misconfiguration this can be used by anyone with access to NextCloudPi web-panel, no authentication is required. It is recommended that the NextCloudPi is upgraded to 1.53.1.

Weakness: CWE-78

Which versions are affected by CVE-2024-30247?

It affects 1 product.

Products include Nextcloud Nextcloudpi.

How do I fix CVE-2024-30247?

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

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

Sources

Also known as GHSA-m597-72v7-j982.

Is CVE-2024-30247 in your software?

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

Check your SBOMs for free