Administrator SQL injection via email-log selections
Published Jan 15, 2024 · Updated Jun 20, 2025
SQL injection in WPExperts Post SMTP before 2.8.7 allows remote authenticated users with administrator access to alter database queries. The ps-delete-email-logs and ps-export-email-logs AJAX actions place crafted selected[] values into SQL statements without adequate sanitization or escaping. A valid administrator session and action nonce are required; the published proof of concept demonstrates a time-delay query through wp-admin/admin-ajax.php.
Summary
What happened
SQL injection in WPExperts Post SMTP before 2.8.7 allows remote authenticated users with administrator access to alter database queries. The ps-delete-email-logs and ps-export-email-logs AJAX actions place crafted selected[] values into SQL statements without adequate sanitization or escaping. A valid administrator session and action nonce are required; the published proof of concept demonstrates a time-delay query through wp-admin/admin-ajax.php.
The record
- CVE
- CVE-2023-6620
- Published
- Jan 15, 2024
- Updated
- Jun 20, 2025
- Vendor
- WPExperts
- Product
- Post SMTP
- Classifications
- CWE-89
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 15, 2024CVE publishedPublication date reported by the CVE source.
- Jun 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2.8.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan administrator AJAX time-delay proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo