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.63407
    epss-percentile: 0.99104
    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: 490a00463044022058b0a4cb25caa467715a03929c6f000f1e11b80d79aac7b929c522dd204cbb1d02203c49e6ccbf3a1dad63f57afe54bafe20ac6c58f51ec6373ef849eab814db0a8e:922c64590222798bb761d5b6d8e72950