module

WordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)

Disclosed
Mar 14, 2022
Created
Jul 19, 2025

Description

The Photo Gallery by 10Web WordPress plugin unauthenticated SQL injection via the 'bwg_tag_id_bwg_thumbnails_0[]'
parameter in admin-ajax.php (action=bwg_frontend_data).

Authors

Krzysztof Zając
Valentin Lobstein
X3RX3S

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/gather/wp_photo_gallery_sqli
msf auxiliary(wp_photo_gallery_sqli) > show actions
...actions...
msf auxiliary(wp_photo_gallery_sqli) > set ACTION < action-name >
msf auxiliary(wp_photo_gallery_sqli) > show options
...show and set options...
msf auxiliary(wp_photo_gallery_sqli) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.