id: CVE-2021-28854

info:
  name: VICIdial Sensitive Information Disclosure
  author: pdteam
  severity: high
  description: VICIdial's Web Client is susceptible to information disclosure because it contains many sensitive files that can be accessed from the client side. These files contain mysqli logs, auth logs, debug information, successful and unsuccessful login attempts with their corresponding IP's, User-Agents, credentials and much more. This information can be leveraged by an attacker to gain further access to VICIdial systems.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information, such as user credentials or customer data.
  remediation: |
    Apply the latest security patches and updates provided by VICIdial to fix the vulnerability and ensure sensitive information is properly protected.
  reference:
    - https://github.com/JHHAX/VICIdial
  classification:
    cve-id: CVE-2021-28854
  metadata:
    max-request: 1
  tags: cve2021,cve,sqli,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/agc/vicidial_mysqli_errors.txt"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'text/plain'
        part: header

      - type: status
        status:
          - 200

      - type: word
        words:
          - 'vdc_db_query'
        part: body
# digest: 4b0a00483046022100b49beb4a8d579cba036538433e7f7290f3b75ff9327e4f7caa3e3d082301779b022100df5465275570a386a71b724e37a3856781a67631f03c5c2068a6da110bcea5ef:922c64590222798bb761d5b6d8e72950