Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354227 (CVE-2011-0986) - <dev-db/phpmyadmin-3.4.0: multiple vulnerabilities (CVE-2011-{0986,0987})
Summary: <dev-db/phpmyadmin-3.4.0: multiple vulnerabilities (CVE-2011-{0986,0987})
Alias: CVE-2011-0986
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa]
Depends on:
Blocks: CVE-2010-4480
  Show dependency tree
Reported: 2011-02-09 12:33 UTC by Marcin Mirosław
Modified: 2012-01-04 23:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2011-02-09 12:33:51 UTC
"Welcome to these two security releases."
This is security fix, please bump without huge delay;)

Reproducible: Always
Comment 1 Tim Sammut (RETIRED) gentoo-dev 2011-02-10 07:06:31 UTC
This appears to be due to
Comment 2 Yury German Gentoo Infrastructure gentoo-dev Security 2011-02-15 12:40:24 UTC
There is another security release this one a little bit more serious:

Announcement-ID: PMASA-2011-2

SQL query could be executed under another user.

It was possible to create a bookmark which would be executed unintentionally by other users.

We consider this vulnerability to be critical.
Mitigation factor

To use this vulnerability, phpMyAdmin configuration storage needs to be set up and enabled and bookmarks function needs to be enabled.
Affected Versions

The 2.11.x and 3.3.x versions are affected.

Upgrade to phpMyAdmin or newer ( or newer for the older family) or apply the related patch listed below.

This issue was found by Michal Čihař.

Assigned CVE ids: CVE-2011-0987

CWE ids: CWE-661 CWE-89

I would recommend to skip and go direct to
Comment 3 Alex Legler (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2011-05-17 16:14:35 UTC
Arches, please test and mark stable:
Target keywords : "alpha amd64 hppa ppc ppc64 sparc x86"
Comment 4 Agostino Sarubbo gentoo-dev 2011-05-18 16:46:06 UTC
amd64 ok
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2011-05-19 08:59:26 UTC
Works perfect on my VPS. amd64 done. Thanks Agostino
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2011-05-19 09:02:26 UTC
x86 stable. Thanks
Comment 7 Jeroen Roovers gentoo-dev 2011-05-21 05:57:05 UTC
Stable for HPPA.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2011-05-21 17:23:41 UTC
alpha/sparc stable
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-05-22 18:08:48 UTC
ppc/ppc64 stable, last arch done
Comment 10 Tim Sammut (RETIRED) gentoo-dev 2011-05-23 02:33:32 UTC
Thanks, everyone. GLSA request filed.
Comment 11 GLSAMaker/CVETool Bot gentoo-dev 2011-06-13 18:07:57 UTC
CVE-2011-0987 (
  The PMA_Bookmark_get function in libraries/bookmark.lib.php in phpMyAdmin
  2.11.x before, and 3.3.x before, 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

CVE-2011-0986 (
  phpMyAdmin 2.11.x before, and 3.3.x before, does not
  properly handle the absence of the (1) README, (2) ChangeLog, and (3)
  LICENSE files, which allows remote attackers to obtain the installation path
  via a direct request for a nonexistent file.
Comment 12 GLSAMaker/CVETool Bot gentoo-dev 2012-01-04 23:42:01 UTC
This issue was resolved and addressed in
 GLSA 201201-01 at
by GLSA coordinator Tim Sammut (underling).