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.58179
    epss-percentile: 0.98213
  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: 490a0046304402205c1a815a51c703eb62a38d67ed335022edede10c49af86feb20c2f35a179b66b0220679af6a3e5a08e0a98626282694d981949959f89414047113a36d3f0b1a25d9d:922c64590222798bb761d5b6d8e72950