CVE-2022-31126 Unauthenticated Remote Code Execution in Roxy-wi
Unauthenticated remote attackers can execute arbitrary code via crafted HTTP requests to the Roxy-wi web interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31126?
CVE-2022-31126 is a critical code injection vulnerability in hap-wi roxy-wi, published on 6 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Roxy-wi is an open source web interface for managing Haproxy, Nginx, Apache and Keepalived servers. A vulnerability in Roxy-wi allows a remote, unauthenticated attacker to code execution by sending a specially crafted HTTP request to /app/options.py file. This affects Roxy-wi versions before 6.1.1.0. Users are advised to upgrade. There are no known workarounds for this issue.
Weakness: CWE-74
Which versions are affected by CVE-2022-31126?
It affects 1 product.
Products include Roxy-Wi Roxy-Wi.
How do I fix CVE-2022-31126?
No fix has been published for CVE-2022-31126 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-31126 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31126 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Other vulnerabilities in hap-wi roxy-wi
- CVE-2022-31161 Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload
- CVE-2022-31137 Unauthenticated Remote Code Execution in Roxy-WI
- CVE-2022-31125 Authentication Bypass in Roxy-wi
- CVE-2021-38167 SQL injection in n/a
- CVE-2026-33076 Roxy-WI vulnerable to path traversal and arbitrary file writing
Sources
Also known as GHSA-mh86-878h-43c9.