Headline
CVE-2023-5438: Changeset 2985394 for wp-image-slideshow – WordPress Plugin Repository
The wp image slideshow plugin for WordPress is vulnerable to SQL Injection via the plugin’s shortcode in versions up to, and including, 12.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 subscriber-level and above permissions to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Timestamp:
10/28/2023 04:39:42 PM (3 days ago)
gopiplus
Message:
Tested up to 6.4
Location:
wp-image-slideshow/trunk
Files:
- readme.txt (3 diffs)
- wp-image-slideshow.js (1 diff)
- wp-image-slideshow.php (3 diffs)
Legend:
Unmodified
Added
Removed
wp-image-slideshow/trunk/readme.txt
r2827205
r2985394
6
6
Tags: gallery, image, slideshow
7
7
Requires at least: 3.4
8
Tested up to: 6.1
9
Stable tag: 12.0
8
Tested up to: 6.4
9
Stable tag: 12.1
10
10
License: GPLv2 or later
11
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
…
…
213
213
1\. Tested up to 5.9
214
214
215
\= 12.1 =
216
217
1\. Tested up to 6.4
218
215
219
\== Changelog ==
216
220
…
…
342
346
343
347
1\. Tested up to 5.9
348
349
\= 12.1 =
350
351
1\. Tested up to 6.4
wp-image-slideshow/trunk/wp-image-slideshow.js
r2651657
r2985394
1
1
/\*\*
2
2
\* wp image slideshow
3
\* Copyright (C) 2011 - 2022 www.gopiplus.com
3
\* Copyright (C) 2011 - 2023 www.gopiplus.com
4
4
\* http://www.gopiplus.com/work/2011/05/06/wordpress-plugin-wp-image-slideshow/
5
5
\*
wp-image-slideshow/trunk/wp-image-slideshow.php
r2651657
r2985394
5
5
Description: This is advanced version of my drop in image slideshow gallery. In this gallery each image is dropped into view. Slideshow will pause on mouse over.
6
6
Author: Gopi Ramasamy
7
Version: 12.0
7
Version: 12.1
8
8
Author URI: http://www.gopiplus.com/work/2011/05/06/wordpress-plugin-wp-image-slideshow/
9
9
Donate link: http://www.gopiplus.com/work/2011/05/06/wordpress-plugin-wp-image-slideshow/
…
…
48
48
49
49
$sSql = "select wpis\_path,wpis\_link,wpis\_target,wpis\_title from ".WP\_wpis\_TABLE." where 1=1";
50
if($wpis\_type <> ""){ $sSql = $sSql . " and wpis\_type='".$wpis\_type."'"; }
50
51
if($wpis\_type <> ""){
52
$sSql = $sSql . " and wpis\_type = %s ";
53
$sSql = $wpdb->prepare($sSql, $wpis\_type);
54
}
55
51
56
if($wpis\_random == "YES"){ $sSql = $sSql . " ORDER BY RAND()"; }else{ $sSql = $sSql . " ORDER BY wpis\_order"; }
52
57
…
…
184
189
185
190
$sSql = "select wpis\_path,wpis\_link,wpis\_target,wpis\_title from ".WP\_wpis\_TABLE." where 1=1";
186
if($wpis\_type <> ""){ $sSql = $sSql . " and wpis\_type='".$wpis\_type."'"; }
191
192
if($wpis\_type <> ""){
193
$sSql = $sSql . " and wpis\_type= %s ";
194
$sSql = $wpdb->prepare($sSql, $wpis\_type);
195
}
196
187
197
if($wpis\_random == "YES"){ $sSql = $sSql . " ORDER BY RAND()"; }else{ $sSql = $sSql . " ORDER BY wpis\_order"; }
188
198
Note: See TracChangeset for help on using the changeset viewer.