WordPress Plugin Vulnerabilities

WordPress Store Locator 3.33.1 - SQL Injection

Description

Using a combination of GET fields, it is possible to perform a SQL Injection attack using the ‘sl-xml.php’ script. This injection is performed on the LIMIT of the SQL query, however retrieving data via this vulnerability is very easy, due to the outputting of the resulting SQL error by the script, should the query fail.

The vulnerable section of code can be found in the file ‘sl-xml.php’. The $_POST scope is being passed through the ‘extract’ function, after which certain variables are used when building the query, without being filtered. As the PoC shows, a couple of other fields are required to successfully exploit this vulnerability.

Affects Plugins

Fixed in 3.34

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Submitter
James Hooker
Submitter website
Submitter twitter
Verified
No

Timeline

Publicly Published
2015-02-19 (about 11 years ago)
Added
2015-02-19 (about 11 years ago)
Last Updated
2019-10-21 (about 6 years ago)

Other