id: CVE-2023-6065

info:
  name: Quttera Web Malware Scanner <= 3.4.1.48 - Sensitive Data Exposure
  author: s4e-io
  severity: medium
  description: |
    The Quttera Web Malware Scanner WordPress plugin before 3.4.2.1 doesn't restrict access to detailed scan logs, which allows a malicious actor to discover local paths and portions of the site's code
  impact: |
    Unauthenticated attackers can access detailed scan logs revealing local file paths and portions of the site's source code, facilitating further targeted attacks.
  remediation: Fixed in 3.4.2.1
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-6065
    - https://wpscan.com/vulnerability/64f2557f-c5e4-4779-9e28-911dfaf2dda5
    - https://wordpress.org/plugins/quttera-web-malware-scanner/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2023-6065
    epss-score: 0.3753
    epss-percentile: 0.9725
    cpe: cpe:2.3:a:quttera:quttera_web_malware_scanner:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: quttera
    product: quttera_web_malware_scanner
    framework: wordpress
  tags: cve,cve2023,wp-plugin,quttera,wpscan,wordpress,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/quttera-web-malware-scanner/quttera_wp_report.txt"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Website Malware Scan Report"
          - "Scanned Website"
          - "Scan type"
        condition: and

      - type: word
        part: header
        words:
          - "text/plain"

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