portage-ng / portage / dev-db / phpmyadmin / 5.2.3
portage-ng glsa
24 advisories reference dev-db/phpmyadmin · none place version 5.2.3 in a vulnerable range
▸ GLSA 202311-17 phpMyAdmin: Multiple Vulnerabilities this version unaffected low remote 2023-11-26

Multiple vulnerabilities have been discovered in phpMyAdmin, the worst of which allows for denial of service.

Announced
2023-11-26
Revised
2023-11-26
Access
remote
Bugs
#831841 #835071
Advisory
https://security.gentoo.org/glsa/202311-17

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 5.2.0>= 5.2.0

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the web.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-5.2.0"

References

▸ GLSA 202101-35 phpMyAdmin: Multiple vulnerabilities version not in range normal remote 2021-01-27

Multiple vulnerabilities have been found in phpMyAdmin, allowing remote attackers to conduct XSS.

Announced
2021-01-27
Revised
2021-01-27
Access
remote
Bugs
#747805
Advisory
https://security.gentoo.org/glsa/202101-35

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.9.6:4.9.6>= 4.9.6:4.9.6

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.9.6"

References

▸ GLSA 202003-39 phpMyAdmin: SQL injection this version unaffected normal remote 2020-03-19

An SQL injection vulnerability in phpMyAdmin may allow attackers to execute arbitrary SQL statements.

Announced
2020-03-19
Revised
2020-03-19
Access
remote
Bugs
#701830
Advisory
https://security.gentoo.org/glsa/202003-39

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.9.2>= 4.9.2

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

PhpMyAdmin was vulnerable to an SQL injection attack through the designer feature.

Impact

An authenticated remote attacker, by specifying a specially crafted database/table name, could trigger an SQL injection attack.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.9.2"

References

▸ GLSA 201904-16 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2019-04-15

Multiple vulnerabilities have been found in phpMyAdmin, the worst of which could result in the arbitrary execution of code.

Announced
2019-04-15
Revised
2019-04-15
Access
remote
Bugs
#658742 #672938
Advisory
https://security.gentoo.org/glsa/201904-16

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.8.4>= 4.8.4

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

Please review the CVE identifiers referenced below for details.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.8.4"

References

▸ GLSA 201707-03 phpMyAdmin: Security bypass this version unaffected normal remote 2017-07-08

A vulnerability in phpMyAdmin might allow remote attackers to bypass authentication.

Announced
2017-07-08
Revised
2017-08-06 (revision 2)
Access
remote
Bugs
#614522
Advisory
https://security.gentoo.org/glsa/201707-03

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.0.10.20, < 4.7.0>= 4.0.10.20, >= 4.7.0

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

A vulnerability was discovered where the restrictions caused by “$cfg[‘Servers’][$i][‘AllowNoPassword’] = false” are bypassed under certain PHP versions. This can lead compromised user accounts, who have no passwords set, even if the administrator has set “$cfg[‘Servers’][$i][‘AllowNoPassword’]” to false (which is the default).

This behavior depends on the PHP version used (it seems PHP 5 is affected, while PHP 7.0 is not).

Impact

A remote attacker, who only needs to know the username, could bypass security restrictions and access phpMyAdmin.

Workaround

Set a password for all users.

Resolution

All phpMyAdmin 4.0.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose
">=dev-db/phpmyadmin-4.0.10.20:4.0.10.20"

All other phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.7.0:4.7.0"

References

▸ GLSA 201701-32 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2017-01-11

Multiple vulnerabilities have been found in phpMyAdmin, the worst of which could lead to arbitrary code execution.

Announced
2017-01-11
Revised
2017-01-11
Access
remote
Bugs
#586964 #593582 #600814
Advisory
https://security.gentoo.org/glsa/201701-32

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.6.5.1>= 4.6.5.1

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

A authenticated remote attacker could exploit these vulnerabilities to execute arbitrary PHP Code, inject SQL code, or to conduct Cross-Site Scripting attacks.

In certain configurations, an unauthenticated remote attacker could cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.6.5.1"

References

▸ GLSA 201505-03 phpMyAdmin: Multiple vulnerabilities this version unaffected low remote 2015-05-31

Multiple vulnerabilities have been found in phpMyAdmin, the worst of which could lead to arbitrary code execution.

Announced
2015-05-31
Revised
2016-05-14 (revision 2)
Access
remote
Bugs
#517858 #522844 #530054
Advisory
https://security.gentoo.org/glsa/201505-03

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.2.13>= 4.2.13, >= 4.1.14.7 (revision), >= 4.0.10.6 (revision), >= 4.0.10.15 (revision), >= 4.0.10.16 (revision), >= 4.0.10.17 (revision), >= 4.0.10.18 (revision)

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

A remote authenticated attacker could exploit these vulnerabilities to include and execute arbitrary local files via a crafted parameter, inject SQL code, or to conduct Cross-Site Scripting attacks.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin 4.2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.2.13"

All phpMyAdmin 4.1 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.1.14.7"

All phpMyAdmin 4.0 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.0.10.6"

References

▸ GLSA 201311-02 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2013-11-04

Multiple vulnerabilities have been found in phpMyAdmin, allowing remote authenticated attackers to execute arbitrary code, inject SQL code or conduct other attacks.

Announced
2013-11-04
Revised
2013-11-04
Access
remote
Bugs
#465420 #467080 #478696 #479870
Advisory
https://security.gentoo.org/glsa/201311-02

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 4.0.5>= 4.0.5

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers referenced below for details.

Impact

A remote authenticated attacker could exploit these vulnerabilities to execute arbitrary code with the privileges of the process running phpMyAdmin, inject SQL code, or to conduct Cross-Site Scripting and Clickjacking attacks.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-4.0.5"

References

▸ GLSA 201201-01 phpMyAdmin: Multiple vulnerabilities this version unaffected high remote 2012-01-04

Multiple vulnerabilities were found in phpMyAdmin, the most severe of which allows the execution of arbitrary PHP code.

Announced
2012-01-04
Revised
2012-01-04
Access
remote
Bugs
#302745 #335490 #336462 #354227 #373951 #376369 #387413 #389427 #395715
Advisory
https://security.gentoo.org/glsa/201201-01

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 3.4.9>= 3.4.9

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been discovered in phpMyAdmin. Please review the CVE identifiers and phpMyAdmin Security Advisories referenced below for details.

Impact

Remote attackers might be able to insert and execute PHP code, include and execute local PHP files, or perform Cross-Site Scripting (XSS) attacks via various vectors.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-3.4.9"

References

▸ GLSA 200906-03 phpMyAdmin: Multiple vulnerabilities this version unaffected high remote 2009-06-29

Multiple errors in phpMyAdmin might allow the remote execution of arbitrary code or a Cross-Site Scripting attack.

Announced
2009-06-29
Revised
2009-06-29
Access
remote
Bugs
#263711
Advisory
https://security.gentoo.org/glsa/200906-03

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.11.9.5>= 2.11.9.5

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been reported in phpMyAdmin:

  • Greg Ose discovered that the setup script does not sanitize input properly, leading to the injection of arbitrary PHP code into the configuration file (CVE-2009-1151).
  • Manuel Lopez Gallego and Santiago Rodriguez Collazo reported that data from cookies used in the "Export" page is not properly sanitized (CVE-2009-1150).

Impact

A remote unauthorized attacker could exploit the first vulnerability to execute arbitrary code with the privileges of the user running phpMyAdmin and conduct Cross-Site Scripting attacks using the second vulnerability.

Workaround

Removing the "scripts/setup.php" file protects you from CVE-2009-1151.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.9.5"

References

▸ GLSA 200903-32 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2009-03-18

Multiple vulnerabilities have been discovered in phpMyAdmin, the worst of which may allow for remote code execution.

Announced
2009-03-18
Revised
2009-03-18
Access
remote
Bugs
#237781 #244914 #246831 #250752
Advisory
https://security.gentoo.org/glsa/200903-32

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.11.9.4>= 2.11.9.4

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been reported in phpMyAdmin:

  • libraries/database_interface.lib.php in phpMyAdmin allows remote authenticated users to execute arbitrary code via a request to server_databases.php with a sort_by parameter containing PHP sequences, which are processed by create_function (CVE-2008-4096).
  • Cross-site scripting (XSS) vulnerability in pmd_pdf.php allows remote attackers to inject arbitrary web script or HTML via the db parameter, a different vector than CVE-2006-6942 and CVE-2007-5977 (CVE-2008-4775).
  • Cross-site request forgery (CSRF) vulnerability in phpMyAdmin allows remote authenticated attackers to perform unauthorized actions as the administrator via a link or IMG tag to tbl_structure.php with a modified table parameter. NOTE: this can be leveraged to conduct SQL injection attacks and execute arbitrary code (CVE-2008-5621).
  • Multiple cross-site request forgery (CSRF) vulnerabilities in phpMyAdmin allow remote attackers to conduct SQL injection attacks via unknown vectors related to the table parameter, a different vector than CVE-2008-5621 (CVE-2008-5622).

Impact

A remote attacker may execute arbitrary code with the rights of the webserver, inject and execute SQL with the rights of phpMyAdmin or conduct XSS attacks against other users.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.9.4"

References

▸ GLSA 200805-02 phpMyAdmin: Information disclosure this version unaffected low remote 2008-05-05

A vulnerability in phpMyAdmin may lead to information disclosure.

Announced
2008-05-05
Revised
2008-05-05
Access
remote
Bugs
#219005
Advisory
https://security.gentoo.org/glsa/200805-02

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.11.5.2>= 2.11.5.2

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.

Description

Cezary Tomczak reported that an undefined UploadDir variable exposes an information disclosure vulnerability when running on shared hosts.

Impact

A remote attacker with CREATE TABLE permissions can exploit this vulnerability via a specially crafted HTTP POST request in order to read arbitrary files.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.5.2"

References

▸ GLSA 200803-15 phpMyAdmin: SQL injection vulnerability this version unaffected low local 2008-03-09

A SQL injection vulnerability has been discovered in phpMyAdmin.

Announced
2008-03-09
Revised
2008-03-09
Access
local
Bugs
#212000
Advisory
https://security.gentoo.org/glsa/200803-15

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.11.5>= 2.11.5

Background

phpMyAdmin is a free web-based database administration tool.

Description

Richard Cunningham reported that phpMyAdmin uses the $_REQUEST variable of $_GET and $_POST as a source for its parameters.

Impact

An attacker could entice a user to visit a malicious web application that sets an "sql_query" cookie and is hosted on the same domain as phpMyAdmin, and thereby conduct SQL injection attacks with the privileges of the user authenticating in phpMyAdmin afterwards.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.5"

References

▸ GLSA 200512-03 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2005-12-11

Multiple flaws in phpMyAdmin may lead to several XSS issues and local and remote file inclusion vulnerabilities.

Announced
2005-12-11
Revised
2005-12-11
Access
remote
Bugs
#114662
Advisory
https://security.gentoo.org/glsa/200512-03

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.7.0_p1>= 2.7.0_p1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the web.

Description

Stefan Esser from Hardened-PHP reported about multiple vulnerabilties found in phpMyAdmin. The $GLOBALS variable allows modifying the global variable import_blacklist to open phpMyAdmin to local and remote file inclusion, depending on your PHP version (CVE-2005-4079, PMASA-2005-9). Furthermore, it is also possible to conduct an XSS attack via the $HTTP_HOST variable and a local and remote file inclusion because the contents of the variable are under total control of the attacker (CVE-2005-3665, PMASA-2005-8).

Impact

A remote attacker may exploit these vulnerabilities by sending malicious requests, causing the execution of arbitrary code with the rights of the user running the web server. The cross-site scripting issues allow a remote attacker to inject and execute malicious script code or to steal cookie-based authentication credentials, potentially allowing unauthorized access to phpMyAdmin.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.7.0_p1"

References

▸ GLSA 200510-21 phpMyAdmin: Local file inclusion and XSS vulnerabilities this version unaffected normal local and remote 2005-10-25

phpMyAdmin contains a local file inclusion vulnerability that may lead to the execution of arbitrary code, along with several cross-site scripting issues.

Announced
2005-10-25
Revised
2006-05-22 (revision 2)
Access
local and remote
Bugs
#110146
Advisory
https://security.gentoo.org/glsa/200510-21

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.4_p3>= 2.6.4_p3

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the web.

Description

Stefan Esser discovered that by calling certain PHP files directly, it was possible to workaround the grab_globals.lib.php security model and overwrite the $cfg configuration array. Systems running PHP in safe mode are not affected. Futhermore, Tobias Klein reported several cross-site-scripting issues resulting from insufficient user input sanitizing.

Impact

A local attacker may exploit this vulnerability by sending malicious requests, causing the execution of arbitrary code with the rights of the user running the web server. Furthermore, the cross-site scripting issues give a remote attacker the ability to inject and execute malicious script code or to steal cookie-based authentication credentials, potentially compromising the victim's browser.

Workaround

There is no known workaround for all those issues at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.4_p3"

References

▸ GLSA 200510-16 phpMyAdmin: Local file inclusion vulnerability this version unaffected normal local 2005-10-17

phpMyAdmin contains a local file inclusion vulnerability that may lead to the execution of arbitrary code.

Announced
2005-10-17
Revised
2006-05-22 (revision 2)
Access
local
Bugs
#108939
Advisory
https://security.gentoo.org/glsa/200510-16

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.4_p2>= 2.6.4_p2

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the web.

Description

Maksymilian Arciemowicz reported that in libraries/grab_globals.lib.php, the $__redirect parameter was not correctly validated. Systems running PHP in safe mode are not affected.

Impact

A local attacker may exploit this vulnerability by sending malicious requests, causing the execution of arbitrary code with the rights of the user running the web server.

Workaround

Run PHP in safe mode.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.4_p2"

References

▸ GLSA 200504-30 phpMyAdmin: Insecure SQL script installation this version unaffected normal local 2005-04-30

phpMyAdmin leaves the SQL install script with insecure permissions, potentially leading to a database compromise.

Announced
2005-04-30
Revised
2006-05-22 (revision 2)
Access
local
Bugs
#88831
Advisory
https://security.gentoo.org/glsa/200504-30

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.2-r1>= 2.6.2-r1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser. phpMyAdmin uses a pma MySQL user to control the linked-tables infrastructure. The SQL install script sets the initial password for the pma user.

Description

The phpMyAdmin installation process leaves the SQL install script with insecure permissions.

Impact

A local attacker could exploit this vulnerability to obtain the initial phpMyAdmin password and from there obtain information about databases accessible by phpMyAdmin.

Workaround

Change the password for the phpMyAdmin MySQL user (pma):

mysql -u root -p
SET PASSWORD FOR 'pma'@'localhost' = PASSWORD('MyNewPassword');

Update your phpMyAdmin config.inc.php:

$cfg['Servers'][$i]['controlpass']   = 'MyNewPassword';

Resolution

All phpMyAdmin users should change password for the pma user as described above and upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.2-r1"

References

▸ GLSA 200504-08 phpMyAdmin: Cross-site scripting vulnerability this version unaffected low remote 2005-04-11

phpMyAdmin is vulnerable to a cross-site scripting attack.

Announced
2005-04-11
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#87952
Advisory
https://security.gentoo.org/glsa/200504-08

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.2_rc1>= 2.6.2_rc1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.

Description

Oriol Torrent Santiago has discovered that phpMyAdmin fails to validate input to the "convcharset" variable, rendering it vulnerable to cross-site scripting attacks.

Impact

By sending a specially-crafted request, an attacker can inject and execute malicious script code, potentially compromising the victim's browser.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.2_rc1"

References

▸ GLSA 200503-07 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2005-03-03

phpMyAdmin contains multiple vulnerabilities that could lead to command execution, XSS issues and bypass of security restrictions.

Announced
2005-03-03
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#83190 #83792
Advisory
https://security.gentoo.org/glsa/200503-07

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.1_p2-r1>= 2.6.1_p2-r1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.

Description

phpMyAdmin contains several security issues:

  • Maksymilian Arciemowicz has discovered multiple variable injection vulnerabilities that can be exploited through "$cfg" and "GLOBALS" variables and localized strings
  • It is possible to force phpMyAdmin to disclose information in error messages
  • Failure to correctly escape special characters

Impact

By sending a specially-crafted request, an attacker can include and execute arbitrary PHP code or cause path information disclosure. Furthermore the XSS issue allows an attacker to inject malicious script code, potentially compromising the victim's browser. Lastly the improper escaping of special characters results in unintended privilege settings for MySQL.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.1_p2-r1"

References

▸ GLSA 200412-19 phpMyAdmin: Multiple vulnerabilities this version unaffected high remote 2004-12-19

phpMyAdmin contains multiple vulnerabilities which could lead to file disclosure or command execution.

Announced
2004-12-19
Revised
2004-12-19
Access
remote
Bugs
#74303
Advisory
https://security.gentoo.org/glsa/200412-19

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.1_rc1>= 2.6.1_rc1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.

Description

Nicolas Gregoire (exaprobe.com) has discovered two vulnerabilities that exist only on a webserver where PHP safe_mode is off. These vulnerabilities could lead to command execution or file disclosure.

Impact

On a system where external MIME-based transformations are enabled, an attacker can insert offensive values in MySQL, which would start a shell when the data is browsed. On a system where the UploadDir is enabled, read_dump.php could use the unsanitized sql_localfile variable to disclose a file.

Workaround

You can temporarily enable PHP safe_mode or disable external MIME-based transformation AND disable the UploadDir. But instead, we strongly advise to update your version to 2.6.1_rc1.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.1_rc1"

References

▸ GLSA 200411-36 phpMyAdmin: Multiple XSS vulnerabilities this version unaffected low remote 2004-11-27

phpMyAdmin is vulnerable to cross-site scripting attacks.

Announced
2004-11-27
Revised
2004-11-27
Access
remote
Bugs
#71819
Advisory
https://security.gentoo.org/glsa/200411-36

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.0_p3>= 2.6.0_p3

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.

Description

Cedric Cochin has discovered multiple cross-site scripting vulnerabilities in phpMyAdmin. These vulnerabilities can be exploited through the PmaAbsoluteUri parameter, the zero_rows parameter in read_dump.php, the confirm form, or an error message generated by the internal phpMyAdmin parser.

Impact

By sending a specially-crafted request, an attacker can inject and execute malicious script code, potentially compromising the victim's browser.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.0_p3"

References

▸ GLSA 200410-14 phpMyAdmin: Vulnerability in MIME-based transformation system this version unaffected high remote 2004-10-18

A vulnerability has been found in the MIME-based transformation system of phpMyAdmin, which may allow remote execution of arbitrary commands if PHP's "safe mode" is disabled.

Announced
2004-10-18
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#67409
Advisory
https://security.gentoo.org/glsa/200410-14

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*< 2.6.0_p2>= 2.6.0_p2

Background

phpMyAdmin is a popular web-based MySQL administration tool written in PHP. It allows users to browse and administer a MySQL database from a web-browser. Transformations are a phpMyAdmin feature allowing plug-ins to rewrite the contents of any column seen in phpMyAdmin's Browsing mode, including using insertion of PHP or JavaScript code.

Description

A defect was found in phpMyAdmin's MIME-based transformation system, when used with "external" transformations.

Impact

A remote attacker could exploit this vulnerability to execute arbitrary commands on the server with the rights of the HTTP server user.

Workaround

Enabling PHP safe mode ("safe_mode = On" in php.ini) may serve as a temporary workaround.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=dev-db/phpmyadmin-2.6.0_p2"
# emerge ">=dev-db/phpmyadmin-2.6.0_p2"

References

▸ GLSA 200407-22 phpMyAdmin: Multiple vulnerabilities this version unaffected normal remote 2004-07-29

Multiple vulnerabilities in phpMyAdmin may allow a remote attacker with a valid user account to alter configuration variables and execute arbitrary PHP code.

Announced
2004-07-29
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#57890
Advisory
https://security.gentoo.org/glsa/200407-22

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*<= 2.5.7>= 2.5.7_p1

Background

phpMyAdmin is a popular, web-based MySQL administration tool written in PHP. It allows users to administer a MySQL database from a web-browser.

Description

Two serious vulnerabilities exist in phpMyAdmin. The first allows any user to alter the server configuration variables (including host, name, and password) by appending new settings to the array variables that hold the configuration in a GET statement. The second allows users to include arbitrary PHP code to be executed within an eval() statement in table name configuration settings. This second vulnerability is only exploitable if $cfg['LeftFrameLight'] is set to FALSE.

Impact

Authenticated users can alter configuration variables for their running copy of phpMyAdmin. The impact of this should be minimal. However, the second vulnerability would allow an authenticated user to execute arbitrary PHP code with the permissions of the webserver, potentially allowing a serious Denial of Service or further remote compromise.

Workaround

The second, more serious vulnerability is only exploitable if $cfg['LeftFrameLight'] is set to FALSE. In the default Gentoo installation, this is set to TRUE. There is no known workaround for the first.

Resolution

All phpMyAdmin users should upgrade to the latest version:

# emerge sync

# emerge -pv ">=dev-db/phpmyadmin-2.5.7_p1"
# emerge ">=dev-db/phpmyadmin-2.5.7_p1"

References

▸ GLSA 200402-05 phpMyAdmin &lt; 2.5.6-rc1: possible attack against export.php this version unaffected normal remote 2004-02-17

A vulnerability in phpMyAdmin which was not properly verifying user generated input could lead to a directory traversal attack.

Announced
2004-02-17
Revised
2004-02-17
Access
remote
Bugs
#40268
Advisory
https://security.gentoo.org/glsa/200402-05

Affected packages

PackageArchVulnerableUnaffected
dev-db/phpmyadmin*<= 2.5.5_p1>= 2.5.6_rc1

Background

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databased over the Web.

Description

One component of the phpMyAdmin software package (export.php) does not properly verify input that is passed to it from a remote user. Since the input is used to include other files, it is possible to launch a directory traversal attack.

Impact

Private information could be gleaned from the remote server if an attacker uses a malformed URL such as http://phpmyadmin.example.com/export.php?what=../../../[existing_file]

In this scenario, the script does not sanitize the "what" argument passed to it, allowing directory traversal attacks to take place, disclosing the contents of files if the file is readable as the web-server user.

Workaround

The workaround is to either patch the export.php file using the referenced CVS patch or upgrade the software via Portage.

Resolution

Users are encouraged to upgrade to phpMyAdmin-2.5.6_rc1:

# emerge sync
# emerge -pv ">=dev-db/phpmyadmin-2.5.6_rc1"
# emerge ">=dev-db/phpmyadmin-2.5.6_rc1"
# emerge clean

References