Path Traversal in Hap-Wi Roxy-Wi
CVE-2023-29004
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 config_file_name 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 get_config 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 config_file_name parameter.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.009 (57.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Hap-wi Roxy-wi — versions <= 6.3.9.0
- Roxy-wi
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-29004?
- CVE-2023-29004 is a medium-severity vulnerability in Hap-Wi Roxy-Wi, classified under Path Traversal. CVSS score: 6.5/10. Published 2023-04-17.
- How severe is CVE-2023-29004?
- Medium severity. CVSS v3 base score is 6.5 out of 10.