id: CVE-2020-35234

info:
  name: SMTP WP Plugin Directory Listing
  author: PR3R00T
  severity: high
  description: The WordPress Easy WP SMTP Plugin has its log folder remotely accessible and its content available for access.
  impact: |
    Low: Information disclosure
  remediation: Upgrade to version 1.4.3 or newer and consider disabling debug logs.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2020-35234
    - https://blog.nintechnet.com/wordpress-easy-wp-smtp-plugin-fixed-zero-day-vulnerability/
    - https://wordpress.org/plugins/easy-wp-smtp/#developers
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-35234
    cwe-id: CWE-532
    epss-score: 0.64603
    epss-percentile: 0.99162
    cpe: cpe:2.3:a:wp-ecommerce:easy_wp_smtp:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: wp-ecommerce
    product: easy_wp_smtp
    framework: wordpress
  tags: cve2020,cve,wordpress,wp-plugin,smtp,wp-ecommerce,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/easy-wp-smtp/"
      - "{{BaseURL}}/wp-content/plugins/wp-mail-smtp-pro/"

    matchers:
      - type: word
        words:
          - "debug"
          - "log"
          - "Index of"
        condition: and
# digest: 4b0a00483046022100e89091158ccd9ccf05852f2094d142d98d95d2a9855c0e164c5fe1772478719b022100a0ff44da8d6ce5b09ad48de7d6837918652a394186dd96f9d6e3cf763919017f:922c64590222798bb761d5b6d8e72950