
Cloud Vulnerability DB
A community-led vulnerabilities database
RaspAP before version 3.1.5 contains a critical local privilege escalation vulnerability (CVE-2024-41637). The vulnerability was discovered on July 16, 2024, and publicly disclosed on July 27, 2024. The issue affects RaspAP, an open-source tool used to transform Raspberry Pi devices into wireless access points (Security Online, ASEC).
The vulnerability stems from a dangerous combination of permissions where the www-data user has both write access to the restapi.service file and sudo privileges to execute several critical commands without requiring a password. The vulnerability has received a CVSS v3.1 base score of 8.3 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L (NVD). The vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command).
Successful exploitation of this vulnerability allows an attacker to escalate privileges from www-data to root, potentially leading to complete system compromise. An attacker with root access can modify any file, install malicious software, steal sensitive data, and even disable the device. Since RaspAP is often used to manage wireless networks, an attacker could intercept network traffic, launch further attacks against other devices, or redirect users to malicious websites (Security Online).
The vulnerability has been patched in RaspAP version 3.1.5. Users are strongly advised to update to this version or later. For those unable to update immediately, it is recommended to restrict sudo privileges for the www-data user if not needed and monitor for suspicious activity in system logs. Additionally, changing the permissions on /lib/systemd/system/restapi.service to disallow www-data from modifying it can help mitigate the vulnerability (ASEC).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."