PT-2022-13770 · WordPress · Photo Gallery

Jrxnm

+1

·

Published

2022-05-02

·

Updated

2022-05-09

·

CVE-2022-1281

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions The Photo Gallery WordPress plugin versions 1.6.3 and earlier
Description The issue arises from the improper escaping of the filter tag parameter in the SQL query, allowing for SQL Injection attacks. This occurs when user input from the $ POST['filter tag'] parameter is directly appended to an SQL query without proper sanitization.
Recommendations For versions 1.6.3 and earlier, update to a version later than 1.6.3 to resolve the issue. As a temporary workaround, consider restricting access to the SQL query that utilizes the filter tag parameter until a patch is available. Avoid using the filter tag parameter in affected queries until the issue is resolved.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-1281

Affected Products

Photo Gallery