[UNIX] Multiple XSS Vulnerabilities in WordPress

From: SecuriTeam (support_at_securiteam.com)
Date: 12/27/04

  • Next message: SecuriTeam: "[NEWS] Lycos Free Email Cross-Site Scripting Vulnerability"
    To: list@securiteam.com
    Date: 27 Dec 2004 16:54:03 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      Multiple XSS Vulnerabilities in WordPress
    ------------------------------------------------------------------------

    SUMMARY

     <http://wordpress.org/> WordPress is "a state-of-the-art semantic
    personal publishing platform with a focus on aesthetics, web standards,
    and usability".

    The WordPress product has been found to contain multiple cross site
    scripting vulnerabilities.

    DETAILS

    Vulnerable Systems:
     * WordPress version 1.2.1 and prior

    Immune Systems:
     * WordPress version 1.2.2

    wp-login.php CSS:
    The following code can be seen inside the wp-login.php file:
    > // If someone has moved WordPress let's try to detect it
    > if ( dirname('http://' . $_SERVER['HTTP_HOST'] .
    $_SERVER['REQUEST_URI']) != get_settings('siteurl') )
    > update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] .
    $_SERVER['REQUEST_URI']) );

    With an URI like
    /wp-login.php?=">< script>alert(document.cookie)</script></script>
    An attacker is able to store arbitrary values in the global siteurl
    setting.

    An additional parameter of wp-login.php that is vulnerable is
    'redirect_to'.

    Multiple /wp-admin/ CSS:
    The following files and their corresponding parameters are vulnerable to a
    cross site scripting vulnerabilities:

    /wp-admin/bookmarklet.php?popupurl=[XSS]
    /wp-admin/bookmarklet.php?content=[XSS]
    /wp-admin/edit-comments.php?s=[XSS]
    /wp-admin/edit-comments.php?s=bla&submit=Search&mode=[XSS]
    /wp-admin/templates.php?file=[XSS]
    /wp-admin/link-add.php?linkurl=[XSS]
    /wp-admin/link-add.php?name=[XSS]
    /wp-admin/link-categories.php?cat_id=[XSS]&action=Edit
    /wp-admin/link-manager.php?order_by=[XSS]
    /wp-admin/link-manager.php?cat_id=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_url=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_name=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_description=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_rel=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_image=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_rss_uri=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_notes=[XSS]
    /wp-admin/link-manager.php?action=linkedit&link_id=[XSS]
    /wp-admin/link-manager.php?action=linkedit&order_by=[XSS]
    /wp-admin/link-manager.php?action=linkedit&cat_id=[XSS]
    /wp-admin/post.php?content=[XSS]
    /wp-admin/moderation.php?action=update&item_approved=[XSS]

    Solution:
    Upgrade to WordPress version 1.2.2.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:bugtraq@morph3us.org> Thomas
    Waldegger.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NEWS] Lycos Free Email Cross-Site Scripting Vulnerability"

    Relevant Pages

    • [NT] CA ARCServe Backup for Laptops and Desktops Multiple Buffer Overflow Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... CA ARCServe Backup for Laptops and Desktops Multiple Buffer Overflow ... Remote exploitation of multiple buffer overflow vulnerabilities in ... rxsGetSubDirs, rxsGetServerDBPathName, rxsSetServerOptions, rxsDeleteFile, ...
      (Securiteam)
    • [NT] Novell eDirectory Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Novell eDirectory Multiple Vulnerabilities ... Three different vulnerabilities were discovered in Novell's eDirectory ... NCP over IP length Heap Overflow: ...
      (Securiteam)
    • [NEWS] Multiple Vendor ImageMagick DCM and XWD Buffer Overflow Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Multiple Vendor ImageMagick DCM and XWD Buffer Overflow Vulnerabilities ...
      (Securiteam)
    • [UNIX] Apache HTTPD suEXEC Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Apache HTTPD suEXEC Multiple Vulnerabilities ... Local exploitation of multiple vulnerabilities within Apache Software ... Foundation's suexec utility could allow an attacker to execute arbitrary ...
      (Securiteam)
    • [UNIX] IBM DB2 Universal Database Multiple Privilege Escalation Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... IBM DB2 Universal Database Multiple Privilege Escalation Vulnerabilities ...
      (Securiteam)