phpMyAdmin < 2.6.4-pl3 Multiple Vulnerabilities

medium Nessus Plugin ID 20088

Synopsis

The remote web server contains a PHP application that is prone to several flaws.

Description

The version of phpMyAdmin installed on the remote host is affected by a local file inclusion vulnerability that can be exploited by an unauthenticated attacker to read arbitrary files, and possibly even to execute arbitrary PHP code on the affected host subject to the permissions of the web server user id.

In addition, the application fails to sanitize user-supplied input to the 'hash' parameter in the 'left.php' and 'queryframe.php' scripts as well as the 'sort_order' and 'sort_by' parameters in the 'server_databases.php' script before using it to generate dynamic HTML, which can lead to cross-site scripting attacks against the affected application.

Solution

Upgrade to phpMyAdmin 2.6.4-pl3 or later.

See Also

http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-5

Plugin Details

Severity: Medium

ID: 20088

File Name: phpMyAdmin_264pl3.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 10/26/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4

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

Vulnerability Information

CPE: cpe:/a:phpmyadmin:phpmyadmin

Required KB Items: www/phpMyAdmin, www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 10/22/2005

Reference Information

CVE: CVE-2005-3300, CVE-2005-3301

BID: 15169, 15196

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990