CVE-2025-44163 Details
Description
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.
A directory traversal vulnerability has been identified in RaspAP WebGUI version 3.3.1, specifically within the WireGuard key generation interface located at '/ajax/networking/get_wgkey.php'. This vulnerability allows authenticated attackers to send crafted POST requests that exploit path traversal in the 'entity' parameter. The exploitation involves overwriting arbitrary files that are writable by the web server, using the 'tee' command to manipulate file outputs. This could lead to unauthorized file modifications, site defacement, or potentially remote code execution.
It is recommended to replace 'escapeshellcmd()' with 'escapeshellarg()' to properly sanitize the 'entity' parameter. Additionally, input should be validated to allow only alphanumeric characters, underscores, and hyphens, and to disallow path traversal sequences. Consider removing the use of shell commands altogether and utilizing native PHP file and cryptographic functions instead.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YichaoXu/3694f039a3d1b973efd068e4dc662a41 | [email protected] | ExploitMitigationThird Party Advisory |
| https://github.com/RaspAP/raspap-webgui/blob/125ae7a39ad7c9a71250d3b3e349fd767687ff8d/ajax/networking/get_wgkey.php#L9 | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-23 | Relative Path Traversal | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| raspap raspap-webgui | 3.3.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| Jun 27, 2025 | CVE Modified | CISA-ADP |
| Jun 27, 2025 | New CVE Received | [email protected] |