WordPress index.php 'cat' Parameter Local File Inclusion

medium Nessus Plugin ID 32080

Synopsis

The remote web server contains a PHP application that is affected by a local file include attack.

Description

The version of WordPress installed on the remote host fails to sanitize user input to the 'cat' parameter of the 'index.php' script.
Regardless of PHP's 'register_globals' setting, an unauthenticated attacker can exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges under which the web server operates.

Solution

Apply patches based on the SVN changeset referenced above.

See Also

https://core.trac.wordpress.org/changeset/7586

Plugin Details

Severity: Medium

ID: 32080

File Name: wordpress_cat_file_include.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 4/29/2008

Updated: 6/5/2024

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress

Required KB Items: installed_sw/WordPress, www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 4/2/2008

Vulnerability Publication Date: 4/2/2008

Reference Information

CVE: CVE-2008-4769

BID: 28845

CWE: 22

Secunia: 29949