WordPress 'query.php' is_admin() Function Information Disclosure

medium Nessus Plugin ID 29745

Synopsis

The remote web server contains a PHP application that is affected by an information disclosure vulnerability.

Description

The version of WordPress running on the remote web server is affected by an information disclosure vulnerability due to improper checks for administrative credentials by the is_admin() function in 'wp-includes/query.php'. A remote attacker can exploit this, via a specially crafted URL containing the string 'wp-admin/', to view posts for which the status is classified as 'future', 'draft', or 'pending', which would otherwise be available only to authenticated users.

Solution

Upgrade to WordPress version 2.3.2 or later.

See Also

https://core.trac.wordpress.org/ticket/5487

https://wordpress.org/news/2007/12/wordpress-232/

https://www.securityfocus.com/archive/1/485160/30/0/threaded

Plugin Details

Severity: Medium

ID: 29745

File Name: wordpress_is_admin_info_disclosure.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 12/23/2007

Updated: 6/4/2024

Supported Sensors: Nessus

Enable CGI Scanning: true

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress

Required KB Items: installed_sw/WordPress, www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2007

Vulnerability Publication Date: 12/14/2007

Reference Information

BID: 26885

Secunia: 28130