GLSA-200407-22 : phpMyAdmin: Multiple vulnerabilities

high Nessus Plugin ID 14555

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200407-22 (phpMyAdmin: Multiple vulnerabilities)

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.

Solution

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'

See Also

https://www.securityfocus.com/archive/1/367486

https://security.gentoo.org/glsa/200407-22

Plugin Details

Severity: High

ID: 14555

File Name: gentoo_GLSA-200407-22.nasl

Version: 1.17

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:phpmyadmin, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 7/29/2004

Reference Information

CVE: CVE-2004-2631, CVE-2004-2632

GLSA: 200407-22