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.81457
    epss-percentile: 0.99197
    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: 490a00463044022074d1df8066884048e18337eb8fdc41c755aefadcafe22116fb845342ebf9d15402204c392d8c833e6d035a6e62c29aa5adaac9bae84f7aa8ecefbdf4467de4c96269:922c64590222798bb761d5b6d8e72950