id: CVE-2024-5333

info:
  name: WordPress Events Calendar 6.8.2.1 - Information Disclosure
  author: DhiyaneshDk
  severity: medium
  description: |
    The Events Calendar WordPress plugin 6.8.2.1 contains missing access checks in the REST API, letting unauthenticated users access information about password protected events, exploit requires no authentication.
  impact: |
    Unauthenticated users can access sensitive event information, potentially leading to information disclosure.
  remediation: |
    Update to version 6.8.2.1 or later.
  reference:
    - https://wpscan.com/vulnerability/764b5a23-8b51-4882-b899-beb54f684984/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-5333
  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-5333
    cwe-id: CWE-639
    epss-score: 0.01071
    epss-percentile: 0.60458
  metadata:
    verified: true
    max-request: 1
    vendor: stellarwp
    product: the_events_calendar
    framework: wordpress
    publicwww-query: "/wp-content/plugins/the-events-calendar/"
    shodan-query: html:"/wp-content/plugins/the-events-calendar/"
  tags: cve,cve2024,wordpress,wp,wp-plugin,the-events-calendar,disclosure

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-json/tribe/events/v1/events/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"events":'
          - '"rest_url":'
          - '"total":'
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

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