WordPress Plugin Vulnerabilities
Post SMTP < 2.6.1 - Authenticated (Administrator+) SQL Injection
Description
The Post SMTP plugin for WordPress is vulnerable to time-based SQL Injection via the log_id parameter in versions up to, and including, 2.6.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers with administrator-level privileges to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Proof of Concept
https://example.com/wp-admin/admin.php?page=postman_email_log&view=log&log_id=1%20AND%20(SELECT%20*%20FROM%20(SELECT(SLEEP(5)))a)
Affects Plugins
References
Classification
Type
SQLI
OWASP top 10
CWE
CVSS
Miscellaneous
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-10-03 (about 7 months ago)
Added
2023-12-21 (about 4 months ago)
Last Updated
2024-01-02 (about 4 months ago)