CVE-2024-41637 RaspAP allows an attacker to escalate privileges

High 8.3 Published Updated

An attacker can escalate privileges to root by exploiting write access to a service file and passwordless sudo commands in RaspAP.

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

CVE-2024-41637 is a high-severity vulnerability in n/a, published on 29 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

RaspAP before 3.1.5 allows an attacker to escalate privileges: the www-data user has write access to the restapi.service file and also possesses Sudo privileges to execute several critical commands without a password.

Weakness: CWE-77

Which versions are affected by CVE-2024-41637?

2 open source packages ship an affected version, including billz/raspap-webgui.

PackageAffectedFixed in
billz/raspap-webgui PackagistAll versions to 3.1.4None
billz/raspap-webgui PackagistAll versions to 3.1.4None

How do I fix CVE-2024-41637?

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

Is CVE-2024-41637 being exploited?

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

Sources

Also known as GHSA-q623-2j2j-23jj.

Is CVE-2024-41637 in your software?

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

Check your SBOMs for free