PT-2022-13438 · WordPress · Daily Prayer Time
Cydave
·
Published
2022-04-18
·
Updated
2022-04-27
·
CVE-2022-0785
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
The Daily Prayer Time WordPress plugin versions prior to 2022.03.01
Description
The issue concerns an unauthenticated SQL injection. It occurs because the
month parameter is not properly sanitized and escaped before being used in a SQL statement via the "get monthly timetable" AJAX action, which is accessible to unauthenticated users.Recommendations
For versions prior to 2022.03.01, update to version 2022.03.01 or later to resolve the issue. As a temporary workaround, consider restricting access to the "get monthly timetable" AJAX action to authenticated users only until a patch is applied. Avoid using the
month parameter in the affected AJAX endpoint 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
Affected Products
Daily Prayer Time