Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2022-51025 Overview
CVE-2022-51025 is a path traversal vulnerability [CWE-22] in Penta Security WAPPLES, a web application firewall product. The flaw affects WAPPLES versions 4.0.54.1, 5.0, and 6.0. Authenticated attackers can download arbitrary files from the appliance by abusing the name parameter of the /webapi/file/transfer endpoint. A hardcoded systemi account makes the authentication requirement trivial to satisfy. The Shadowserver Foundation first observed exploitation evidence on 2023-10-19.
Critical Impact
Attackers can read arbitrary files from a WAPPLES appliance, including /etc/passwd and backup data, undermining the integrity of a device deployed to protect other web applications.
Affected Products
- Penta Security WAPPLES 4.0.54.1
- Penta Security WAPPLES 5.0
- Penta Security WAPPLES 6.0
Discovery Timeline
- 2023-10-19 - Exploitation evidence first observed by the Shadowserver Foundation
- 2026-10-22 - CVE-2022-51025 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2022-51025
Vulnerability Analysis
The vulnerability resides in the /webapi/file/transfer endpoint of the WAPPLES management interface. The handler accepts a type parameter and a name parameter that identifies the file to transfer. When type=db_backup is supplied, the backend reads the file referenced by name without canonicalizing the path or restricting it to the backup directory.
An authenticated attacker can submit ../ sequences in the name parameter to escape the intended directory. The server returns the contents of any file readable by the WAPPLES web service account, including /etc/passwd and other sensitive system files.
Authentication is not a meaningful barrier. A hardcoded systemi account exists on the appliance, which lowers the practical bar to pre-authenticated exploitation on exposed management interfaces.
Root Cause
The root cause is missing input validation on a user-supplied file path, classified as Improper Limitation of a Pathname to a Restricted Directory [CWE-22]. The name parameter is concatenated into a filesystem path without rejecting traversal sequences or enforcing a safe base directory. The presence of static credentials compounds the exposure by eliminating the credential-stealing step from the attack chain.
Attack Vector
Exploitation requires network access to the WAPPLES management interface and valid credentials, which the hardcoded systemi account can satisfy. The attacker sends a GET request to /webapi/file/transfer with type=db_backup and a name value containing ../ sequences pointing to the target file, for example ../../../../etc/passwd. The server responds with the raw contents of the requested file. Technical details are documented in the VulnCheck advisory, the Nuclei detection template, and the public vulnerability analysis on Medium.
Detection Methods for CVE-2022-51025
Indicators of Compromise
- HTTP GET requests to /webapi/file/transfer containing type=db_backup and ../ sequences in the name parameter.
- Authentication events on the WAPPLES appliance using the hardcoded systemi account from unexpected source addresses.
- Outbound responses from the WAPPLES management interface containing contents of system files such as /etc/passwd or /etc/shadow.
- Access to the WAPPLES management interface from sources outside the administrative network segment.
Detection Strategies
- Deploy the projectdiscovery Nuclei template wapples-firewall-lfi.yaml to identify vulnerable WAPPLES instances in your environment.
- Create web server or WAF signatures that match requests to /webapi/file/transfer containing URL-encoded or raw path traversal sequences.
- Alert on any authentication to WAPPLES using the systemi account, as this credential should not be used for routine administration.
Monitoring Recommendations
- Forward WAPPLES access logs and administrative authentication logs to a centralized logging platform for correlation.
- Monitor response sizes and content types for the /webapi/file/transfer endpoint to spot anomalous file disclosures.
- Track management interface exposure using external attack surface scans and verify no WAPPLES appliance is reachable from untrusted networks.
How to Mitigate CVE-2022-51025
Immediate Actions Required
- Restrict network access to the WAPPLES management interface to a dedicated administrative VLAN or jump host.
- Rotate or disable the hardcoded systemi account where supported by the appliance configuration.
- Audit WAPPLES logs for prior use of the /webapi/file/transfer endpoint with traversal sequences and investigate matches.
- Contact Penta Security to confirm the fixed version applicable to your deployment and schedule an upgrade.
Patch Information
No fixed version is listed in the NVD entry at the time of publication. Operators should consult the Penta Security WAPPLES product page and open a support case to obtain remediation guidance for versions 4.0.54.1, 5.0, and 6.0. The VulnCheck advisory tracks vendor status updates.
Workarounds
- Block external HTTP requests to the /webapi/file/transfer path at an upstream proxy or network ACL until a vendor patch is applied.
- Enforce source IP allowlisting for the WAPPLES management interface so only known administrator hosts can reach it.
- Deploy a WAF rule or reverse proxy filter that rejects requests containing ../ or URL-encoded equivalents in the name query parameter.
# Example nginx reverse-proxy filter blocking traversal attempts
# against the WAPPLES management endpoint
location /webapi/file/transfer {
if ($args ~* "(\.\./|%2e%2e%2f|%2e%2e/)") {
return 403;
}
allow 10.0.10.0/24; # admin subnet
deny all;
proxy_pass https://wapples.internal;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

