Fedora 30 : php-phpmyadmin-sql-parser / phpMyAdmin (2019-13d2ba0aed)

High Nessus Plugin ID 125906

Synopsis

The remote Fedora host is missing one or more security updates.

Description

Upstream announcement :

Welcome to **phpMyAdmin 4.9.0.1**, a bugfix release that includes important security fixes.

This release fixes two security vulnerabilities :

- PMASA-2019-3 is a SQL injection flaw in the Designer feature

- PMASA-2019-4 is a CSRF attack that's possible through the 'cookie' login form

Upgrading is highly recommended for all users. Using the 'http' auth_type instead of 'cookie' can mitigate the CSRF attack.

The solution for the CSRF attack does remove the former functionality to log in directly through URL parameters (as mentioned in FAQ 4.8, such as https://example.com/phpmyadmin/?pma_username=root&password=foo). Such behavior was discouraged and is now removed. Other query parameters work as expected; only pma_username and pma_password have been removed.

This release also includes fixes for many bugs, including :

- Several issues with SYSTEM VERSIONING tables

- Fixed json encode error in export

- Fixed JavaScript events not activating on input (sql bookmark issue)

- Show Designer combo boxes when adding a constraint

- Fix edit view

- Fixed invalid default value for bit field

- Fix several errors relating to GIS data types

- Fixed JavaScript error PMA_messages is not defined

- Fixed import XML data with leading zeros

- Fixed php notice, added support for 'DELETE HISTORY' table privilege (MariaDB >= 10.3.4)

- Fixed MySQL 8.0.0 issues with GIS display

- Fixed 'Server charset' in 'Database server' tab showing wrong information

- Fixed can not copy user on Percona Server 5.7

- Updated sql-parser to version 4.3.2, which fixes several parsing and linting problems

There are many, many more bug fixes thanks to the efforts of our developers, Google Summer of Code applicants, and other contributors.

The phpMyAdmin team

----

**phpmyadmin/sql-parser version 4.3.2**

- Fix redundant whitespaces in build() outputs (#228)

- Fix incorrect error on DEFAULT keyword in ALTER operation (#229)

- Fix incorrect outputs from Query::getClause (#233)

- Add support for reading a SQL file from stdin

- Fix for missing tokenize-query in Composer's vendor/bin/ directory

- Fix for PHP warnings with an incomplete CASE expression (#241)

- Fix for error message with multiple CALL statements (#223)

- Recognize the question mark character as a parameter (#242)

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected php-phpmyadmin-sql-parser and / or phpMyAdmin packages.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2019-13d2ba0aed

https://example.com/phpmyadmin/?pma_username=root&password=foo

Plugin Details

Severity: High

ID: 125906

File Name: fedora_2019-13d2ba0aed.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2019/06/14

Updated: 2019/06/18

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:fedoraproject:fedora:php-phpmyadmin-sql-parser, p-cpe:/a:fedoraproject:fedora:phpMyAdmin, cpe:/o:fedoraproject:fedora:30

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2019/06/14

Vulnerability Publication Date: 2019/06/05

Reference Information

CVE: CVE-2019-11768, CVE-2019-12616