CVE-2025-44163: Billz/raspap webgui Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-277f-37gw-9gmq
CWE-23 CWE-22
Published
Advisory Summary

CVE-2025-44163 is a HIGH path traversal vulnerability (CWE-23: Relative Path Traversal) affecting Billz/raspap webgui libraries in the Packagist ecosystem. The issue involves raspap-webgui has a directory traversal vulnerability. Remediation is available by upgrading affected packages to version 3.3.6.

CVE-2025-44163 at a Glance

CVE Identifier CVE-2025-44163
GHSA Identifier GHSA-277f-37gw-9gmq
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-23: Relative Path Traversal
Affected Product Billz/raspap webgui
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-44163

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.

billz/raspap-webgui fixed: 3.3.6
Upgrade billz/raspap-webgui to 3.3.6
Verify Direct and Transitive Dependencies

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-2025-44163, 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 3.3.6), 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-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. 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

RaspAP raspap-webgui 3.3.1 is vulnerable to Directory Traversal in ajax/networking/get_wgkey.php. An authenticated attacker can send a crafted POST request with a path traversal payload in the `entity` parameter to overwrite arbitrary files writable by the web server via abuse of the `tee` command used in shell execution.

CVE-2025-44163 Affected Billz/raspap webgui Versions

1 component(s)
Fixed Versions:
3.3.6
Product / Package Ecosystem Affected Versions Fixed Version
billz/raspap-webgui
Packagist
< 3.3.6
3.3.6

References

Frequently Asked Questions

What is CVE-2025-44163?
CVE-2025-44163 is a security vulnerability in Billz/raspap webgui involving raspap-webgui has a Directory Traversal vulnerability under CWE-23: Relative Path Traversal.
Which Billz/raspap webgui versions are affected?
Affected versions include releases prior to 3.3.6 across affected packages: billz/raspap-webgui.
What version fixes CVE-2025-44163?
Upgrading to 3.3.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is billz/raspap-webgui affected?
Yes, billz/raspap-webgui is affected in releases prior to 3.3.6. Upgrade your dependency to 3.3.6 or later.
What CWE is associated with CVE-2025-44163?
CVE-2025-44163 is classified under CWE-23: Relative Path Traversal (The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.).
How can I check Packagist dependencies for CVE-2025-44163?
Run the dependency tree command: 'inspect dependencies for billz/raspap-webgui'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-277f-37gw-9gmq",
  "modified" : "2025-06-27T20:49:35Z",
  "published" : "2025-06-27T15:31:24Z",
  "aliases" : [ "CVE-2025-44163" ],
  "summary" : "raspap-webgui has a Directory Traversal vulnerability",
  "details" : "RaspAP raspap-webgui 3.3.1 is vulnerable to Directory Traversal in ajax/networking/get_wgkey.php. An authenticated attacker can send a crafted POST request with a path traversal payload in the `entity` parameter to overwrite arbitrary files writable by the web server via abuse of the `tee` command used in shell execution.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "billz/raspap-webgui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-44163"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RaspAP/raspap-webgui/commit/eb53c46c336384d78336b021adea94d9257e1d67"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/YichaoXu/3694f039a3d1b973efd068e4dc662a41"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/RaspAP/raspap-webgui"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RaspAP/raspap-webgui/blob/125ae7a39ad7c9a71250d3b3e349fd767687ff8d/ajax/networking/get_wgkey.php#L9"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-23" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-27T20:48:15Z",
    "nvd_published_at" : "2025-06-27T14:15:37Z"
  }
}