what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Hardened-PHP Project Security Advisory 2007-01.140

Hardened-PHP Project Security Advisory 2007-01.140
Posted Jan 7, 2007
Authored by Stefan Esser, Hardened-PHP Project | Site hardened-php.net

Hardened PHP Project Security Advisory - WordPress versions 2.0.5 and below are susceptible to a cross site scripting vulnerability.

tags | advisory, php, xss
SHA-256 | 2e3cbc0dfeeffe8d32e3e64641b81da4f32b8024d0bbc6b54762599b015b0f9a

Hardened-PHP Project Security Advisory 2007-01.140

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hardened-PHP Project
www.hardened-php.net

-= Security Advisory =-


Advisory: WordPress CSRF Protection XSS Vulnerability
Release Date: 2007/01/05
Last Modified: 2007/01/05
Author: Stefan Esser [sesser@hardened-php.net]

Application: WordPress <= 2.0.5
Severity: The CSRF protection of WordPress's administration
interface is vulnerable to an XSS vulnerability
which might result in a compromise of the admin
account and the execution of arbitrary PHP code
on the server
Risk: Critical
Vendor Status: Vendor has released WordPress 2.0.6 which fixes this issue
References: https://www.hardened-php.net/advisory_012007.140.html


Overview:

Quote from https://www.wordpress.org
"WordPress was born out of a desire for an elegant, well-
architectured personal publishing system built on PHP and MySQL
and licensed under the GPL. It is the official successor of
b2/cafelog. WordPress is fresh software, but its roots and
development go back to 2001. It is a mature and stable product.
We hope by focusing on user experience and web standards we can
create a tool different from anything else out there."

While testing WordPress it was discovered that there is a XSS
vulnerability in the CSRF protection of WordPress's administration
interface. This might result in a compromise of the admin account
and might result in the execution of arbitrary PHP code.


Details:

The administration interface within WordPress comes with a token
based CSRF protection. When a request is received with an invalid
token it is not discarded like in many similar applications, but
a warning screen is returned that asks the admin to verify the
action by clicking on a link (that contains a valid token).

Unfortunately there was a bug in the way the request information
(URL variables) was put into the new link. Due to this fault it
was possible to break out of the HTML string context by embedding
quotes and HTML tags into the names of URL variables.

Due to this is is possible to launch XSS attacks against admin
users currently logged into their WordPress and perform all possible
administrative actions (or simply steal the login cookie).
Depending on the file permissions on the server (for example a
writeable wp-config.php or template file) this can also be
exploited to execute arbitrary PHP code.


Proof of Concept:

The Hardened-PHP Project is not going to release a proof of concept
exploit for this vulnerability.


Disclosure Timeline:

14. November 2006 - Notified security@wordpress.org
05. January 2007 - WordPress 2.0.6 release
05. January 2007 - Public Disclosure


Recommendation:

We strongly recommend to upgrade to WordPress 2.0.6 which also
fixes several other security vulnerabilities not covered by this
advisory.

https://wordpress.org/download/


GPG-Key:

https://www.hardened-php.net/hardened-php-signature-key.asc

pub 1024D/0A864AA1 2004-04-17 Hardened-PHP Signature Key
Key fingerprint = 066F A6D0 E57E 9936 9082 7E52 4439 14CC 0A86 4AA1


Copyright 2007 Stefan Esser. All rights reserved.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFnnflRDkUzAqGSqERAj0FAJ90O0DfF6ETzPOepDmSmERA34OoqwCeIgSP
hGSWX194r0vFm40tMaUc4bQ=
=R3/p
-----END PGP SIGNATURE-----

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close