bugtraq
[Top] [All Lists]

Re: Path Disclosure - Wordpress 2.1.2

To: bugtraq@securityfocus.com
Subject: Re: Path Disclosure - Wordpress 2.1.2
From: jm <jm@hcn.com.au>
Date: Tue, 27 Mar 2007 10:12:17 +1000
Delivered-to: sp-com-lists@consult.net
Delivered-to: bugtraq-list@securepoint.com
Delivered-to: mailing list bugtraq@securityfocus.com
Delivered-to: moderator for bugtraq@securityfocus.com
In-reply-to: <20070325035056.20485.qmail@securityfocus.com>
List-help: <mailto:bugtraq-help@securityfocus.com>
List-id: <bugtraq.list-id.securityfocus.com>
List-post: <mailto:bugtraq@securityfocus.com>
List-subscribe: <mailto:bugtraq-subscribe@securityfocus.com>
List-unsubscribe: <mailto:bugtraq-unsubscribe@securityfocus.com>
Mailing-list: contact bugtraq-help@securityfocus.com; run by ezmlm
References: <20070325035056.20485.qmail@securityfocus.com>
User-agent: Thunderbird 1.5.0.10 (X11/20070302)
"All sites"? That's a bit of a stretch. Maybe you should rephrase that
to "All sites with 'display_errors = On'" in their php.ini, which by the
way is disabled in php.ini-recommended in 4.4.6 and 5.2.1.

There's even a comment in php.ini* about it:

"Print out errors (as a part of the output).  For production web sites,
you're strongly encouraged to turn this feature off, and use error
logging instead (see below).  Keeping display_errors enabled on
a production web site may reveal security information to end users,
such as file paths on your Webserver, your database schema or other
information."

--jason

lj@subjectzero.net wrote:
Product : Wordpress 2.1.2
Vulnerability Details :
All the sites running on the latest version of wordpress 2.1.2 are exposed to a 
full path disclosure vulnerability.

Proof of Concept:
http://www.anysite.com/Path_to_wordpress/wp-includes/vars.php

Error Returned:

Fatal error: Call to undefined function get_option() in 
/home/santoshp/public_html/wp-includes/vars.php on line 92

Location:
www.indiaesecure.com/exploits.htm/wp212.txt




<Prev in Thread] Current Thread [Next in Thread>