CVE-2021-4340 uListing <= 1.6.6 - Unauthenticated SQL Injection
Unauthenticated attackers can exploit SQL injection in the uListing WordPress plugin to extract sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-4340?
CVE-2021-4340 is a critical SQL injection vulnerability in stylemix Directory Listings WordPress plugin – uListing, published on 7 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The uListing plugin for WordPress is vulnerable to generic SQL Injection via the ‘listing_id’ parameter in versions up to, and including, 1.6.6 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers 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-2021-4340?
It affects 1 product.
Products include Stylemixthemes Ulisting.
How do I fix CVE-2021-4340?
No fix has been published for CVE-2021-4340 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-2021-4340 being exploited?
There is no known exploitation of CVE-2021-4340 in the wild and no public exploit code.
Other vulnerabilities in stylemix Directory Listings WordPress plugin – uListing
- CVE-2021-4341 uListing <= 1.6.6 - Unauthenticated Wordpress Options Changes via AJAX
- CVE-2021-4343 uListing <= 1.6.6 - Unauthenticated Arbitrary Account Creation
- CVE-2021-4346 uListing <= 1.6.6 - Unauthenticated Arbitrary Account Changes
- CVE-2021-4370 uListing <= 1.6.6 - Missing Authorization
- CVE-2021-4381 uListing <= 1.6.6 - Unauthenticated Options Changes via wp_route
Sources
Also known as GHSA-hv43-fjj6-p6qh.