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.18697
    epss-percentile: 0.96978
    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: 4b0a00483046022100ecedc7800681910ea705a1f29f5f3449ae09fa4232bea9fd11db6960d748bab00221008a25d5c269a52157f1be9e8f1f4271ccc64c6061476b8f4d99eea7a73bb4e17f:922c64590222798bb761d5b6d8e72950