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

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