.. / CVE-2022-0169

Exploit for Photo Gallery by 10Web < 1.6.0 - SQL Injection (CVE-2022-0169)

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

Nuclei Template

View the template here CVE-2022-0169.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-0169.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2022-0169
https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c
https://wordpress.org/plugins/photo-gallery/advanced/
https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9