CVE-2022-0785
published 2022-04-18CVE-2022-0785: The Daily Prayer Time WordPress plugin before 2022.03.01 does not sanitise and escape the month parameter before using it in a SQL statement via the…
PriorityP181critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
9.21%
94.7th percentile
The Daily Prayer Time WordPress plugin before 2022.03.01 does not sanitise and escape the month parameter before using it in a SQL statement via the get_monthly_timetable AJAX action (available to unauthenticated users), leading to an unauthenticated SQL injection
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| daily_prayer_time_project | daily_prayer_time | < 2022.03.01 | 2022.03.01 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor unauthenticated POST/GET requests to wp-admin/admin-ajax.php with action=get_monthly_timetable and a manipulated 'month' parameter containing SQL injection payloads. ↗
- →Fingerprint vulnerable Daily Prayer Time WordPress plugin installations by checking HTTP 200 responses with body containing 'dptTimetable customStyles dptUserStyles'.
- →The vulnerability affects Daily Prayer Time WordPress plugin versions before 2022.03.01; flag any installations running versions <= 2022.03.01. ↗
- ·The AJAX action is available to unauthenticated users, meaning no authentication is required to trigger the SQL injection — detection rules should not filter out unauthenticated requests. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9qv2-4g99-78c9: The Daily Prayer Time WordPress plugin before 2022
ghsa_unreviewed·2022-04-19
CVE-2022-0785 [CRITICAL] CWE-89 GHSA-9qv2-4g99-78c9: The Daily Prayer Time WordPress plugin before 2022
The Daily Prayer Time WordPress plugin before 2022.03.01 does not sanitise and escape the month parameter before using it in a SQL statement via the get_monthly_timetable AJAX action (available to unauthenticated users), leading to an unauthenticated SQL injection
VulnCheck
daily_prayer_time_project daily_prayer_time Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2022·CVSS 9.8
CVE-2022-0785 [CRITICAL] daily_prayer_time_project daily_prayer_time Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
daily_prayer_time_project daily_prayer_time Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The Daily Prayer Time WordPress plugin before 2022.03.01 does not sanitise and escape the month parameter before using it in a SQL statement via the get_monthly_timetable AJAX action (available to unauthenticated users), leading to an unauthenticated SQL injection
Affected: daily_prayer_time_project daily_prayer_time
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-03-10&host_type=src&vulnerability=cve-2022-0785; https://dashboard.shadowserver.org/
No detection rules found.
Nuclei
WordPress Daily Prayer Time <2022.03.01 - SQL Injection
nuclei·CVSS 9.8
CVE-2022-0785 [CRITICAL] WordPress Daily Prayer Time <2022.03.01 - SQL Injection
WordPress Daily Prayer Time =6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "dptTimetable customStyles dptUserStyles")'
condition: and
# digest: 4a0a00473045022100ae4ad1eea9c29538dc461dfe7db92cb7cc74be72ee0293f21b90d59070429e4d02200c3c7471fa5448b285168403433445f60faf3b65111fb4c2a9cc4942bb668e57:922c64590222798bb761d5b6d8e72950
2022-04-18
Published
Exploited in the wild