CVE-2023-29004: Path Traversal Vulnerability in hap-wi/roxy-wi
hap-wi/roxy-wi is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. A Path Traversal vulnerability was found in the current version of Roxy-WI (6.3.9.0 at the moment of writing this report). The vulnerability can be exploited via an HTTP request to /app/options.py and the configfilename parameter. Successful exploitation of this vulnerability could allow an attacker with user level privileges to obtain the content of arbitrary files on the file server within the scope of what the server process has access to. The root-cause of the vulnerability lies in the getconfig function of the /app/modules/config/config.py file, which only checks for relative path traversal, but still allows to read files from absolute locations passed via the configfilename parameter.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-29004?
CVE-2023-29004 has been rated as a critical vulnerability due to its potential for path traversal exploitation.
How can I fix CVE-2023-29004?
To fix CVE-2023-29004, update Roxy-WI to the latest version beyond 6.3.9.0.
What systems are affected by CVE-2023-29004?
CVE-2023-29004 affects Roxy-WI versions up to and including 6.3.9.0.
What type of vulnerability is CVE-2023-29004?
CVE-2023-29004 is classified as a Path Traversal vulnerability.
How can CVE-2023-29004 be exploited?
CVE-2023-29004 can be exploited through crafted HTTP requests that navigate the server file structure.