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