id: CVE-2017-20194

info:
  name: Formidable Form Builder < 2.05.03 - Unauthenticated Information Disclosure
  author: DhiyaneshDK
  severity: medium
  description: |
    The Formidable Form Builder plugin for WordPress is vulnerable to Sensitive Data Exposure in versions up to, and including, 2.05.03 via the frm_forms_preview AJAX action. This makes it possible for unauthenticated attackers to export all of the form entries for a given form.
  impact: |
    Unauthenticated attackers can export all form entries, leading to potential data breaches and privacy violations.
  remediation: |
    Update to version 2.05.04 or later.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/c7600fe1-94e4-4e3e-a9a6-ff3589813715?source=cve
    - https://wordpress.org/plugins/formidable/
    - https://nvd.nist.gov/vuln/detail/CVE-2017-20194
  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-2017-20194
    cwe-id: CWE-200
    epss-score: 0.01128
    epss-percentile: 0.63156
    cpe: cpe:2.3:a:strategy11:formidable_form_builder:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: strategy11
    product: formidable_form_builder
    framework: wordpress
    public-query: "/wp-content/plugins/formidable/"
  tags: cve,cve2017,wpscan,wordpress,wp,wp-plugin,formidable,passive,vkev,vuln

http:
  - raw:
      - |
        GET /wp-content/plugins/formidable/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'compare_versions(version, "< 2.05.03")'
          - 'contains(body, "Formidable Forms")'
          - 'status_code == 200'
        condition: and

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - "(?mi)Stable tag: ([0-9.]+)"
# digest: 490a00463044022065542930a26db16b9223bb3161fb1e330accba4e43effe0ddad62c5272e0160702201ed7862bd66465aa07877f27944bb5518e40d5f0af3269afd53f2b6daa78a78a:922c64590222798bb761d5b6d8e72950