Name of the Vulnerable Software and Affected Versions:
The Ads Pro Plugin - Multi-Purpose WordPress Advertising Manager plugin versions up to, and including, 4.89
Description:
The issue allows for SQL Injection via the `id` variable of the getSpace() function 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.
Recommendations:
For versions up to, and including, 4.89, consider disabling the getSpace() function until a patch is available to prevent exploitation. Restrict access to the database to minimize the risk of sensitive information extraction. Avoid using the `id` variable in the affected function until the issue is resolved.