Headline
CVE-2022-1768: Changeset 2725322 for rsvpmaker – WordPress Plugin Repository
The RSVPMaker plugin for WordPress is vulnerable to unauthenticated SQL Injection due to insufficient escaping and parameterization on user supplied data passed to multiple SQL queries in the ~/rsvpmaker-email.php file. This makes it possible for unauthenticated attackers to steal sensitive information from the database in versions up to, and including, 9.3.2. Please note that this is separate from CVE-2022-1453 & CVE-2022-1505.
rsvpmaker/trunk/README.txt
r2723888
r2725322
9
9
Requires at least: 5.0
10
10
Tested up to: 6.0
11
Stable tag: 9.3.1
11
Stable tag: 9.3.3
12
12
13
13
Schedule events, send invitations, track RSVPs, and collect payment via PayPal or Stripe.
…
…
119
119
120
120
== Changelog ==
121
122
= 9.3.2 =
123
124
* Security updates
125
* Added rsvp_to_array filter
121
126
122
127
= 9.3.1 =
rsvpmaker/trunk/rsvpmaker-api-endpoints.php
r2720194
r2725322
400
400
$namespace = 'rsvpmaker/v1';
401
401
402
$path = 'stripesuccess/(?P<txkey>.+)';
402
$path = 'stripesuccess/(?P<txkey>\[a-zA-Z0-9\]+)';
403
403
404
404
register\_rest\_route(
rsvpmaker/trunk/rsvpmaker-email.php
r2723003
r2725322
69
69
$mail\['text'\] = strip\_tags($mail\['html'\]);
70
70
71
$unsubscribe\_email = (strpos($mail\['to'\],'noreply')) ? '' : $mail\['to'\];
72
71
73
if(!strpos($mail\['text'\],'rsvpmail\_unsubscribe'))
72
$mail\['text'\] .= "\\n\\nUnsubscribe from email notifications\\n".site\_url('?rsvpmail\_unsubscribe='.$mail\['to'\]);
74
$mail\['text'\] .= "\\n\\nUnsubscribe from email notifications\\n".site\_url('?rsvpmail\_unsubscribe='.$unsubscribe\_email);
73
75
74
76
if(!strpos($mail\['html'\],'/html>'))
75
77
$mail\['html'\] = "<html><body>\\n".$mail\['html'\]."\\n</body></html>";
76
78
if(!strpos($mail\['html'\],'rsvpmail\_unsubscribe'))
77
$mail\['html'\] = str\_replace('</html>',"\\n<p>".sprintf('Unsubscribe from email notifications<br /><a href="%s">%s</a></p>',site\_url('?rsvpmail\_unsubscribe='.$mail\['to'\]),site\_url('?rsvpmail\_unsubscribe='.$mail\['to'\])).'</html>',$mail\['html'\]);
79
$mail\['html'\] = str\_replace('</html>',"\\n<p>".sprintf('Unsubscribe from email notifications<br /><a href="%s">%s</a></p>',site\_url('?rsvpmail\_unsubscribe='.$mail\['to'\]),site\_url('?rsvpmail\_unsubscribe='.$unsubscribe\_email)).'</html>',$mail\['html'\]);
78
80
79
81
if(function\_exists('rsvpmailer\_override'))
…
…
92
94
if(!empty($mail\["html"\]))
93
95
{
94
$mail\["html"\] = str\_replace('\*|UNSUB|\*',site\_url('?rsvpmail\_unsubscribe='.$to),$mail\["html"\]);
96
$mail\["html"\] = str\_replace('\*|UNSUB|\*',site\_url('?rsvpmail\_unsubscribe='.$unsubscribe\_email),$mail\["html"\]);
95
97
96
98
$body = $mail\["html"\];
…
…
2783
2785
2784
2786
$rsvp\_to\_array = explode(",", $rsvp\_to);
2787
$rsvp\_to\_array = apply\_filters('rsvp\_to\_array',$rsvp\_to\_array);
2785
2788
foreach($rsvp\_to\_array as $to)
2786
2789
{
…
…
2866
2869
global $rsvp\_options;
2867
2870
global $wpdb;
2868
$sql = "SELECT \* FROM ".$wpdb->prefix."rsvpmaker WHERE id=$rsvp\_id";
2871
$rsvp\_id = intval($rsvp\_id);
2872
$sql = "SELECT \* FROM ".$wpdb->prefix."rsvpmaker WHERE id=".intval($rsvp\_id);
2869
2873
$rsvp = (array) $wpdb->get\_row($sql);
2870
2874
$post = get\_post($rsvp\['event'\]);
rsvpmaker/trunk/rsvpmaker-group-email.php
r2723888
r2725322
220
220
rsvpmailer( $mail, '<div class="rsvpexplain">' . $message\_description . '</div>' );
221
221
add\_post\_meta( $post->ID, 'rsvpmail\_sent', $mail\['to'\] . ' ' . rsvpmaker\_date( 'r' ) );
222
sleep(2);
222
//sleep(2);
223
223
}
224
224
//delete old transients used to prevent duplicate sends
rsvpmaker/trunk/rsvpmaker-stripe.php
r2714389
r2725322
633
633
634
634
if ( ! empty( $vars\['rsvp\_id'\] ) ) {
635
rsvp\_confirmation\_after\_payment( $vars\['rsvp\_id'\] );
635
rsvp\_confirmation\_after\_payment( intval($vars\['rsvp\_id'\]) );
636
636
637
637
return;
rsvpmaker/trunk/rsvpmaker.php
r2723888
r2725322
8
8
Text Domain: rsvpmaker
9
9
Domain Path: /translations
10
Version: 9.3.1
10
Version: 9.3.3
11
11
*/
12
12
13
13
function get_rsvpversion() {
14
return '9.3.1';
14
return '9.3.3';
15
15
}
16
16
global $wp_version;
Related news
The Beaver Builder – WordPress Page Builder for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Caption - On Hover' value associated with images in versions up to, and including, 2.5.5.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with access to the Beaver Builder editor to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The WordPress Infinite Scroll – Ajax Load More plugin for WordPress is vulnerable to deserialization of untrusted input via the 'alm_repeaters_export' parameter in versions up to, and including 5.5.3. This makes it possible for unauthenticated users to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.
The uContext for Amazon plugin for WordPress is vulnerable to Cross-Site Request Forgery to Cross-Site Scripting in versions up to, and including 3.9.1. This is due to missing nonce validation in the ~/app/sites/ajax/actions/keyword_save.php file that is called via the doAjax() function. This makes it possible for unauthenticated attackers to modify the plugin's settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
The Beaver Builder – WordPress Page Builder for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Text Editor' block in versions up to, and including, 2.5.5.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with access to the Beaver Builder editor to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The Image Hover Effects Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Video Link values that can be added to an Image Hover in versions up to, and including, 9.7.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. By default, the plugin only allows administrators access to edit Image Hovers, however, if a site admin makes the plugin's features available to lower privileged users through the 'Who Can Edit?' setting then this can be exploited by those users.
The String Locator plugin for WordPress is vulnerable to deserialization of untrusted input via the 'string-locator-path' parameter in versions up to, and including 2.5.0. This makes it possible for unauthenticated users to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.
The Beaver Builder – WordPress Page Builder for WordPress is vulnerable to Stored Cross-Site Scripting via the 'caption' parameter added to images via the media uploader in versions up to, and including, 2.5.5.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with access to the Beaver Builder editor and the ability to upload media files to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The Stockists Manager for Woocommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.0.2.1. This is due to missing nonce validation on the stockist_settings_main() function. This makes it possible for unauthenticated attackers to modify the plugin's settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
The WP Users Exporter plugin for WordPress is vulnerable to CSV Injection in versions up to, and including, 1.4.2 via the 'Export Users' functionality. This makes it possible for authenticated attackers, such as a subscriber, to add untrusted input into profile information like First Names that will embed into the exported CSV file triggered by an administrator and can result in code execution when these files are downloaded and opened on a local system with a vulnerable configuration.
The Visual Composer Website Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the post/page 'Title' value in versions up to, and including, 45.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with access to the visual composer editor to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
The Link Optimizer Lite plugin for WordPress is vulnerable to Cross-Site Request Forgery to Cross-Site Scripting in versions up to, and including 1.4.5. This is due to missing nonce validation on the admin_page function found in the ~/admin.php file. This makes it possible for unauthenticated attackers to modify the plugin's settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
The Image Hover Effects Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Media Image URL value that can be added to an Image Hover in versions up to, and including, 9.7.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. By default, the plugin only allows administrators access to edit Image Hovers, however, if a site admin makes the plugin's features available to lower privileged users through the 'Who Can Edit?' setting then this can be exploited by those users.
The plugin WP All Import is vulnerable to arbitrary file uploads due to missing file type validation via the wp_all_import_get_gz.php file in versions up to, and including, 3.6.7. This makes it possible for authenticated attackers, with administrator level permissions and above, to upload arbitrary files on the affected sites server which may make remote code execution possible.
The WordPress plugin Gallery for Social Photo is vulnerable to Cross-Site Request Forgery in versions up to, and including 1.0.0.27 due to failure to properly check for the existence of a nonce in the function gifeed_duplicate_feed. This make it possible for unauthenticated attackers to duplicate existing posts or pages granted they can trick a site administrator into performing an action such as clicking on a link.
The Visualizer: Tables and Charts Manager for WordPress plugin for WordPress is vulnerable to deserialization of untrusted input via the 'remote_data' parameter in versions up to, and including 3.7.9. This makes it possible for authenticated attackers with contributor privileges and above to call files using a PHAR wrapper that will deserialize the data and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.
The DX Share Selection plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including 1.4. This is due to missing nonce protection on the dxss_admin_page() function found in the ~/dx-share-selection.php file. This makes it possible for unauthenticated attackers to inject malicious web scripts into the page, granted they can trick a site's administrator into performing an action such as clicking on a link.
The Mitsol Social Post Feed plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.10 due to insufficient input sanitization and output escaping on the application id parameters. This makes it possible for authenticated (admin+) attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html is disabled.
The WPMK Ajax Finder WordPress plugin is vulnerable to Cross-Site Request Forgery via the createplugin_atf_admin_setting_page() function found in the ~/inc/config/create-plugin-config.php file due to a missing nonce check which allows attackers to inject arbitrary web scripts, in versions up to and including 1.0.1.
The Sticky Popup plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘ popup_title' parameter in versions up to, and including, 1.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with admin level capabilities and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This issue mostly affects sites where unfiltered_html has been disabled for administrators and on multi-site installations where unfiltered_html is disabled for administrators.
The Copify plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.3.0. This is due to missing nonce validation on the CopifySettings page. This makes it possible for unauthenticated attackers to update the plugins settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
The RSVPMaker plugin for WordPress is vulnerable to unauthenticated SQL Injection due to missing SQL escaping and parameterization on user supplied data passed to a SQL query in the rsvpmaker-util.php file. This makes it possible for unauthenticated attackers to steal sensitive information from the database in versions up to and including 9.2.5.
The RSVPMaker plugin for WordPress is vulnerable to unauthenticated SQL Injection due to missing SQL escaping and parameterization on user supplied data passed to a SQL query in the rsvpmaker-api-endpoints.php file. This makes it possible for unauthenticated attackers to steal sensitive information from the database in versions up to and including 9.2.6.
The Metform WordPress plugin is vulnerable to sensitive information disclosure due to improper access control in the ~/core/forms/action.php file which can be exploited by an unauthenticated attacker to view all API keys and secrets of integrated third-party APIs like that of PayPal, Stripe, Mailchimp, Hubspot, HelpScout, reCAPTCHA and many more, in versions up to and including 2.1.3.
The Random Banner WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping via the category parameter found in the ~/include/models/model.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 4.1.4. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.
The Variation Swatches for WooCommerce WordPress plugin is vulnerable to Stored Cross-Site Scripting via several parameters found in the ~/includes/class-menu-page.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 2.1.1. Due to missing authorization checks on the tawcvs_save_settings function, low-level authenticated users such as subscribers can exploit this vulnerability.
The WordPress Popular Posts WordPress plugin is vulnerable to arbitrary file uploads due to insufficient input file type validation found in the ~/src/Image.php file which makes it possible for attackers with contributor level access and above to upload malicious files that can be used to obtain remote code execution, in versions up to and including 5.3.2.
The LearnPress WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping on the $custom_profile parameter found in the ~/inc/admin/views/backend-user-profile.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 4.1.3.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled. Please note that this is seperate from CVE-2021-24702.
A vulnerability in the getSelectedMimeTypesByRole function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to view custom extensions added by administrators. This issue affects versions 2.2.3 and prior.
A vulnerability in the deleteCustomType function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to delete custom extensions added by administrators. This issue affects versions 2.2.3 and prior.