GLSA-200412-19 : phpMyAdmin: Multiple vulnerabilities

critical Nessus Plugin ID 16006

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-200412-19 (phpMyAdmin: Multiple vulnerabilities)

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.

Solution

All phpMyAdmin users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/phpmyadmin-2.6.1_rc1'

See Also

https://www.phpmyadmin.net/security/PMASA-2004-4/

http://www.nessus.org/u?8c2304be

https://security.gentoo.org/glsa/200412-19

Plugin Details

Severity: Critical

ID: 16006

File Name: gentoo_GLSA-200412-19.nasl

Version: 1.18

Type: local

Published: 12/20/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: Critical

Base Score: 10

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

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: 12/19/2004

Reference Information

CVE: CVE-2004-1147, CVE-2004-1148

GLSA: 200412-19