CVE-2022-31126 Unauthenticated Remote Code Execution in Roxy-wi

Critical 10.0 Published Updated

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.

Sources

Also known as GHSA-mh86-878h-43c9.

Is CVE-2022-31126 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free