Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Vista
BugTraq
Re: Wordpress - Broken Access Control Dec 16 2007 10:07AM
otto ottodestruct com (1 replies)
Re: Wordpress - Broken Access Control Dec 19 2007 09:29PM
Abel Cheung (abelcheung gmail com)
On 2007-12-16(Sun) 10:07:29 -0000, otto (at) ottodestruct (dot) com [email concealed] wrote:
> The is_admin() function is not supposed to tell whether a user is an administrator or not, it tells whether the user is looking at one of the administration pages. As such, this function does exactly what it is supposed to do.
>
> As for the rest, there is no flaw. To view a draft, the user must authenticate and have the correct capability set. There is no way to view drafts without being logged in and having that capability set on the user's role level.
>
> This "vulnerability" is non-existent.

Here I confirm the validity of the vulnerability:

Machine: Windows 2000 SP4, Apache 2.2.4, MySQL 5.0.45
Wordpress version tested: 2.2.0, 2.2.3, 2.3.1
Everytime the URL http://localhost/wordpress/index.php/wp-admin/ is
used, and user is NOT logged in. In each wordpress version draft
posts are indeed shown.

And according to wordpress bug report, a patch is applied on
19th to address the problem.

Abel
--
Abel Cheung (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
--------------------------------------------------------------------
* My blog - http://me.abelcheung.org/
* Opensource Application Knowledge Assoc. - http://oaka.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHaY0cQVLh8cZxhv8RAta2AJ9tQSJK+ddM0WEfCRLlnaI8/3Hu0ACg7PNx
f0aY7p0SsM+Sm5L4CBVWZSw=
=FFYX
-----END PGP SIGNATURE-----

[ reply ]







 

Privacy Statement
Copyright 2007, SecurityFocus