CVE-2024-41637: Billz/raspap webgui RaspAP Allows An Attacker To Vulnerability
CRITICALCVE-2024-41637 is a CRITICAL (CVSS 9.9) raspap allows an attacker to vulnerability (CWE-269: Improper Privilege Management) affecting Billz/raspap webgui libraries in the Packagist ecosystem. The issue involves raspap allows an attacker to escalate privileges. Remediation is available in the latest vendor maintenance releases.
CVE-2024-41637 at a Glance
Security Impact
CVSS: 9.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-41637
To remediate this vulnerability, upgrade all affected Billz/raspap webgui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade billz/raspap-webgui to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for billz/raspap-webgui
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-41637, inspect your project dependencies for Billz/raspap webgui:
inspect dependencies for billz/raspap-webgui
Analyze the terminal output to locate any version of Billz/raspap webgui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Billz/raspap webgui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-41637 Affected Billz/raspap webgui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
billz/raspap-webgui
|
Packagist |
≤ 3.1.4
|
|
References
Frequently Asked Questions
What is CVE-2024-41637?
Which Billz/raspap webgui versions are affected?
What version fixes CVE-2024-41637?
Is billz/raspap-webgui affected?
What is the CVSS score of CVE-2024-41637?
What CWE is associated with CVE-2024-41637?
How can I check Packagist dependencies for CVE-2024-41637?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q623-2j2j-23jj",
"modified" : "2024-07-29T17:01:23Z",
"published" : "2024-07-29T06:30:24Z",
"aliases" : [ "CVE-2024-41637" ],
"summary" : "RaspAP allows an attacker to escalate privileges",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "billz/raspap-webgui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41637"
}, {
"type" : "WEB",
"url" : "https://blog.0xzon.dev/2024-07-27-CVE-2024-41637"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/RaspAP/raspap-webgui"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-77" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-29T17:01:23Z",
"nvd_published_at" : "2024-07-29T06:15:02Z"
}
}