CVE-2022-0169
CRITICAL EXPLOITED NUCLEIWordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)
Title source: metasploitExploitation Summary
CVE-2022-0169 has been observed exploited in the wild (reported by VulnCheck KEV).
EIP tracks 2 public exploits from researchers including X3RX3SSec, Krzysztof Zając, Valentin Lobstein, X3RX3S, including a Metasploit module auxiliary/gather/wp_photo_gallery_sqli.
A Nuclei detection template is also available.
AI-analyzed exploit summary This is a functional Python PoC for CVE-2022-0169, an SQL injection vulnerability in the WordPress Photo Gallery plugin. It exploits the vulnerable `admin-ajax.php` endpoint to dump `wp_users` credentials and optionally cracks them using hashcat.
Description
The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection
Exploits (2)
This is a functional Python PoC for CVE-2022-0169, an SQL injection vulnerability in the WordPress Photo Gallery plugin. It exploits the vulnerable `admin-ajax.php` endpoint to dump `wp_users` credentials and optionally cracks them using hashcat.
This Metasploit module exploits an unauthenticated SQL injection vulnerability in the WordPress Photo Gallery plugin via the 'bwg_tag_id_bwg_thumbnails_0[]' parameter. It retrieves user credentials by injecting a malicious SQL query through the admin-ajax.php endpoint.
Nuclei Templates (1)
http.html:/wp-content/plugins/photo-gallery
body=/wp-content/plugins/photo-gallery
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H