phpMyAdmin <= 4.9.1 Cross-Site Request Forgery Vulnerability

medium Nessus Plugin ID 129696

Synopsis

The remote web server hosts a PHP application that is affected by a cross-site request forgery vulnerability

Description

A cross-site request forgery (XSRF) vulnerability exists in the Setup page of phpMyAdmin. A remote attacker can exploit this by tricking a user into visiting a specially crafted web page, allowing the attacker to delete any server in the setup page by creating a fake hyperlink containing the malicious request it wants the victim's web browser to execute.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to phpMyAdmin version 4.9.1 or later.

See Also

https://www.phpmyadmin.net/files/4.9.1/

Plugin Details

Severity: Medium

ID: 129696

File Name: phpmyadmin_pmasa_4_9_1.nasl

Version: 1.6

Type: remote

Family: CGI abuses

Published: 10/8/2019

Updated: 6/4/2024

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2019-12922

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: cpe:/a:phpmyadmin:phpmyadmin

Required KB Items: www/PHP, Settings/ParanoidReport, installed_sw/phpMyAdmin

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/21/2019

Vulnerability Publication Date: 9/21/2019

Reference Information

CVE: CVE-2019-12922

CWE: 352