WordPress < 5.0.4 Directory Traversal Vulnerability

medium Nessus Plugin ID 125596

Synopsis

A PHP application running on the remote web server is affected by a directory traversal vulnerability.

Description

According to its self-reported version number, the WordPress application running on the remote web server is prior to 5.0.4. It is, therefore, affected by a directory traversal vulnerability in its wp_crop_image() component. An authenticated, remote attacker can exploit this, by sending a URI that contains directory traversal characters, to disclose the contents of files located outside of the server's restricted path.

Solution

Upgrade to WordPress version 5.0.4 or later.

See Also

http://www.nessus.org/u?70233294

Plugin Details

Severity: Medium

ID: 125596

File Name: wordpress_5_0_4.nasl

Version: 1.4

Type: remote

Family: CGI abuses

Published: 5/30/2019

Updated: 6/4/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2019-8943

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 6

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

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

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress

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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/13/2019

Vulnerability Publication Date: 2/19/2019

Exploitable With

Metasploit (WordPress Crop-image Shell Upload)

Reference Information

CVE: CVE-2019-8943

BID: 107089