FreeBSD : phpMyAdmin -- File disclosure and SQL injection (111aefca-2213-11e9-9c8d-6805ca0b3d42)

high Nessus Plugin ID 121403

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The phpMyAdmin development team reports : Summary Arbitrary file read vulnerability Description When AllowArbitraryServer configuration set to true, with the use of a rogue MySQL server, an attacker can read any file on the server that the web server's user can access.

phpMyadmin attempts to block the use of LOAD DATA INFILE, but due to a bug in PHP, this check is not honored. Additionally, when using the 'mysql' extension, mysql.allow_local_infile is enabled by default.
Both of these conditions allow the attack to occur. Severity We consider this vulnerability to be critical. Mitigation factor This attack can be mitigated by setting the `AllowArbitraryServer` configuration directive to false (which is the default value).
Affected Versions phpMyAdmin versions from at least 4.0 through 4.8.4 are affected Summary SQL injection in Designer feature Description A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.
Severity We consider this vulnerability to be serious. Affected Versions phpMyAdmin versions from 4.5.0 through 4.8.4 are affected

Solution

Update the affected packages.

See Also

https://www.phpmyadmin.net/security/PMASA-2019-1/

https://www.phpmyadmin.net/security/PMASA-2019-2/

http://www.nessus.org/u?0cca6f90

Plugin Details

Severity: High

ID: 121403

File Name: freebsd_pkg_111aefca221311e99c8d6805ca0b3d42.nasl

Version: 1.1

Type: local

Published: 1/28/2019

Updated: 1/28/2019

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:phpmyadmin, p-cpe:/a:freebsd:freebsd:phpmyadmin-php56, p-cpe:/a:freebsd:freebsd:phpmyadmin-php70, p-cpe:/a:freebsd:freebsd:phpmyadmin-php71, p-cpe:/a:freebsd:freebsd:phpmyadmin-php72, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 1/27/2019

Vulnerability Publication Date: 1/21/2019