id: CVE-2024-2340

info:
  name: Avada < 7.11.7 - Information Disclosure
  author: t3l3machus
  severity: medium
  description: |
    The Avada theme for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 7.11.6 via the '/wp-content/uploads/fusion-forms/' directory. This makes it possible for unauthenticated attackers to extract sensitive data uploaded via an Avada created form with a file upload mechanism.
  impact: |
    Unauthenticated attackers can access sensitive files uploaded via Avada forms by browsing the fusion-forms directory, potentially exposing personal information or confidential data.
  remediation: |
    Update Avada theme to version 7.11.7 or later.
  reference:
    - https://vulners.com/wpvulndb/WPVDB-ID:507E1D07-4953-4A31-81E8-80F01F971E2A
    - https://avada.com/documentation/avada-changelog/
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/8db8bbc3-43ca-4ef5-a44d-2987c8597961?source=cve
    - https://nvd.nist.gov/vuln/detail/CVE-2024-2340
  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-2024-2340
    epss-score: 0.27997
    epss-percentile: 0.97909
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2024,wp-theme,wp,wordpress,wpscan,avada,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/fusion-forms/"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '<title>Index of [\s\S]*title>'
          - 'fusion'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022025702f1fab371cf9f149c3521c8f34f8112dcc083f7ffa03bbc03e0287e5f67f022100920b9f1061b9ebd2e13ce360371b07bd05e1f787e9d715f1ea72959cf58b691a:922c64590222798bb761d5b6d8e72950