Lucene search

K
wpvulndbWpvulndbWPVDB-ID:542CAA40-B199-4397-90BB-4FDB693EBB24
HistoryJun 26, 2023 - 12:00 a.m.

POST SMTP Mailer < 2.5.7 - Account Takeover via CSRF

2023-06-2600:00:00
wpscan.com
1
csrf checks
ajax actions
sql injections
account takeover
post smtp mailer

0.001 Low

EPSS

Percentile

41.1%

The plugin does not have proper CSRF checks in some AJAX actions, which could allow attackers to make logged in users with the manage_postman_smtp capability resend an email to an arbitrary address (for example a password reset email could be resent to an attacker controlled email, and allow them to take over an account). Note: The AJAX actions are also affected by SQL injections, making the issue easier to exploit by being able to choose which email to resend, for example the latest email related to a password reset

PoC

Make a logged in admin open a page containing the HTML code below To make them resend the email with ID 1 to an attacker controlled address: To make them resend the last sent email to an attacker controlled address (using an SQL injection):

CPENameOperatorVersion
post-smtplt2.5.7

0.001 Low

EPSS

Percentile

41.1%

Related for WPVDB-ID:542CAA40-B199-4397-90BB-4FDB693EBB24