CVE-2022-0169CWE-89

Photo Gallery by 10Web < 1.6.0 - Unauthenticated SQL Injection

published March 14, 2022

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.5th percentile for exploit probability.

CVSS
—
EPSS
75%
Percentile
99.5
In the wild
Unconfirmed
What it is

⚠️ A simple AJAX call could expose your database! The Photo Gallery plugin by 10Web before version 1.6.0 is missing crucial validation, opening the door for an unauthenticated SQL injection attack. 🔥 Think of this like a restaurant that takes orders without checking IDs. Anyone can waltz in and request anything on the menu, leading to potential kitchen chaos! An attacker could exploit this vulnerability to manipulate your database, potentially accessing or altering sensitive data. This could lead to unauthorized data exposure or even complete control over the site, making it a dangerous loophole for your WordPress environment.

Put simply

Think of this like a restaurant that takes orders without checking IDs. Anyone can waltz in and request anything on the menu, leading to potential kitchen chaos! The vulnerability arises because the `bwg_tag_id_bwg_thumbnails_0` parameter is directly used in a SQL statement without proper validation or escaping. This allows attackers to inject malicious SQL code into the database via the `bwg_frontend_data` AJAX action, which is accessible to both authenticated and unauthenticated users.

What to do

An attacker could exploit this vulnerability to manipulate your database, potentially accessing or altering sensitive data. This could lead to unauthorized data exposure or even complete control over the site, making it a dangerous loophole for your WordPress environment. To mitigate this risk, update the Photo Gallery plugin to version 1.6.0 or later immediately. Additionally, review your database interactions to ensure all inputs are validated and escaped properly to prevent SQL injections in the future. You've got this! Secure your site today and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.74615 · 99.5th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-03-14T14:41Z
EPSS history
Timeline
  • 14 MAR 14:41Z
    Photo Gallery by 10Web < 1.6.0 - Unauthenticated SQL Injection
    cvelistv5