WordPress Leads 1.6.1-1.6.2 - Stored XSS

Sign up to our free email alerts service for instant vulnerability notifications!

Description
The WordPress Leads plugin exposes a number of functions via AJAX to Anonymous users via the ‘nopriv_’ prefix. One of these functions that is registered in ‘leads/shared/classes/class.lead-storage.php’ controls the insertion of leads into the database.

A number of fields accepted as POST parameters (since they are merged into the $args array) can be manipulated to include arbitrary content, such as HTML or Java Script.

This content is then output to users with access to the Leads section of the WordPress Administrator (wp-admin/edit.php?post_type=wp-lead), in addition to the WordPress Admin home page by default (due to widgets being output). This would result in malicious code being executed under the context of the current user, with the possibility of modifying WordPress settings, or users, to facilitate escalation of access.

Affects

Plugin leads
fixed in version 1.6.3

References

URL https://research.g0blin.co.uk/g0blin-00042/

Classification

Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter James Hooker
Submitter Website https://research.g0blin.co.uk
Submitter Twitter g0blinResearch
Views 98
Verified No
WPVDB ID 7871

Timeline

Publicly Published 2015-03-31 (over 1 year ago)
Added 2015-03-31 (over 1 year ago)
Last Updated 2015-05-15 (over 1 year ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.