CVE-2024-2018 WP Activity Log Premium <= 4.6.4 - Authenticated (Subscriber+) SQL Injection
Authenticated subscribers can exploit SQL injection in WP Activity Log Premium to extract sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-2018?
CVE-2024-2018 is a high-severity SQL injection vulnerability in wpwhitesecurity WP Activity Log Premium, published on 9 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP Activity Log Premium plugin for WordPress is vulnerable to SQL Injection via the entry->roles parameter in all versions up to, and including, 4.6.4 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 subscriber privileges to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. One demonstrated attack included the injection of a PHP Object.
Weakness: CWE-89
Which versions are affected by CVE-2024-2018?
It affects 1 product.
Products include Melapress Wp Activity Log.
How do I fix CVE-2024-2018?
No fix has been published for CVE-2024-2018 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-2018 being exploited?
There is no known exploitation of CVE-2024-2018 in the wild and no public exploit code.
Other vulnerabilities in wpwhitesecurity WP Activity Log Premium
- CVE-2025-0924 WP Activity Log <= 5.2.2 - Unauthenticated Stored Cross-Site Scripting
- CVE-2024-10793 WP Activity Log <= 5.2.1 - Unauthenticated Stored Cross-Site Scripting via User_id Parameter
- CVE-2023-50905 WordPress WP Activity Log Plugin <= 4.6.1 is vulnerable to Cross Site Scripting (XSS)
- CVE-2025-0767 WP Activity Log 5.3.2 - Insecure deserialization
Sources
Also known as GHSA-87q7-rp2h-q5xw.