CVE-2024-1797 SQL injection in WP ULike – Like & Dislike Buttons for Engagement and Feedback
Authenticated contributors can exploit SQL injection in WP ULike plugin shortcodes 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-1797?
CVE-2024-1797 is a high-severity SQL injection vulnerability in alimir WP ULike – Like & Dislike Buttons for Engagement and Feedback, published on 2 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP ULike – Most Advanced WordPress Marketing Toolkit plugin for WordPress is vulnerable to SQL Injection via the 'status' and 'id' attributes of the 'wp_ulike_counter' and 'wp_ulike' shortcodes in all versions up to, and including, 4.6.9 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.
Weakness: CWE-89
Which versions are affected by CVE-2024-1797?
It affects 1 product.
Products include Wpulike Wp Ulike.
How do I fix CVE-2024-1797?
No fix has been published for CVE-2024-1797 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-1797 being exploited?
There is no known exploitation of CVE-2024-1797 in the wild and no public exploit code.
Other vulnerabilities in alimir WP ULike – Like & Dislike Buttons for Engagement and Feedback
- CVE-2024-1572 WP ULike <= 4.6.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
- CVE-2024-1759 WP ULike <= 4.6.9 - Authenticated (Subscriber+) Stored Cross-Site Scripting
- CVE-2025-22738 WordPress WP ULike plugin <= 4.7.6 - Cross Site Scripting (XSS) vulnerability
- CVE-2024-9649 WP ULike <= 4.7.4 - Cross-Site Request Forgery to Statistic Deletion
Sources
Also known as GHSA-xmv5-qq9m-2cc7.