WordPress Paid Business Listings v1.0.2 blind note

Source: Internet
Author: User

Title: WordPress Paid Business Listings v1.0.2 Blind SQL Injection
 
Author: Chris Kellum www.2cto.com
 
Official Website: http://www.blazingtorch.com/
 
: Http://downloads.wordpress.org/plugin/paid-business-listings.1.0.2.zip
 
Affected Version: 1.0.2
 

 
Plug-in details
 
This plugin in has a 3 stage process, which has des a submission form page, a submission status page, and a business listings page.
 

 
The results of the form injection can be determined by viewing whether the listing appears on the business listings page.
 
Test details:

 
When recreating this vulnerability, create a "free listing" package (leave the cost field blank) in the admin panel and select that package when submitting the form.
 

 
Free listings are added to the Business Listings page immediately after form submission, so this will allow you to immediately verify how your SQL statement was evaluated.
 

 
Defect details
 

 
Input data from the form submission is not properly sanitized.
 

 
Using blind SQL injection techniques, true statements will result in the listing appearing on the business listings page, while false statements will not.
 

 
Injection example
 

 
Using Burp Suite or other proxy, intercept the post request when submitting the form and add AND 1 = 1 to the request before forwarding:
 

 
Action = paypal_form & pbl_listing_name = My + Company + Name & pbl_listing_logo_url = & pbl_listing_description = My + business + description
 
& Pbl_listing_phone = 123-456-7890 & pbl_listing_url = http % 3A % 2F % 2Fwww.mywebsite.com % 2F & pbl_listing_email = myemail % 40address.com
 
& Amp; pbl_listing_address = 123 + Main + Street & amp; pbl_listing_city = Durham & amp; pbl_listing_state = North + Lina & amp; pbl_listing_zip = 27707
 
& Pbl_listing_cat_id = 1 & pbl_listing_pkg_id = 2 AND 1 = 1
 

 
Submission of this request will result in the listing appearing on the business listings page.
 

 
When submitting the request with AND 1 = 0, the listing will not appear on the business listings 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.