CVE-2011-0987 SQL injection in n/a
Authenticated users can execute arbitrary SQL queries on behalf of other users via crafted bookmarks, leading to potential data exposure or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2011-0987?
CVE-2011-0987 is a medium-severity SQL injection vulnerability in Phpmyadmin Phpmyadmin, published on 14 Feb 2011. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The PMA_Bookmark_get function in libraries/bookmark.lib.php in phpMyAdmin 2.11.x before 2.11.11.3, and 3.3.x before 3.3.9.2, does not properly restrict bookmark queries, which makes it easier for remote authenticated users to trigger another user's execution of a SQL query by creating a bookmark.
Weakness: CWE-20
Which versions are affected by CVE-2011-0987?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2011-0987?
Upgrade to a fixed version.
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-2011-0987 being exploited?
There is no known exploitation of CVE-2011-0987 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2011-0987, DSA-2167-1, GHSA-36hv-fqvj-3wq3.