CVE-2024-8621
MEDIUM
6.5
CVSS 3.1
Description
The Daily Prayer Time plugin for WordPress is vulnerable to SQL Injection via the 'max_word' attribute of the 'quran_verse' shortcode in all versions up to, and including, 2024.08.26 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected WordPress components
-
Daily Prayer Time Plugin · daily-prayer-time-for-mosquesUp to and including 2024.08.26View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- mmrs151 Daily Prayer Time — Up to and including 2024.08.26
- mmrs151 daily_prayer_time — Up to and including 2024.08.26
- mmrs151 daily_prayer_time — Before 2024.09.14
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/daily-prayer-time-for-mosques/tags/2024.08.26/Models/QuranADay/QuranDB.php#L72 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3151906/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/866e4bc3-080a-4498-b210-e692d72d3db0?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record