CVE-2015-10115 (published 2023-06-05T18:15Z)

A vulnerability, which was classified as problematic, was found in WooSidebars Sidebar Manager Converter Plugin up to 1.1.1 on WordPress. This affects the function process_request of the file classes/class-woosidebars-sbm-converter.php. The manipulation leads to open redirect. It is possible to initiate the attack remotely. Upgrading to version 1.1.2 is able to address this issue. The patch is named a0efb4ffb9dfe2925b889c1aa5ea40b4abbbda8a. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-230655.

CVSS v3 base score: 6.1, MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

Weakness information:
cwe_id: CWE-601
cwe_name: URL Redirection to Untrusted Site ('Open Redirect')
description: A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.
extended_description: An http parameter may contain a URL value and could cause the web application to redirect the request to the specified URL. By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. Because the server name in the modified link is identical to the original site, phishing attempts have a more trustworthy appearance. Whether this issue poses a vulnerability will be subject to the intended behavior of the application. For example, a search engine might intentionally provide redirects to arbitrary URLs.
         

Fix information:
repo_url: https://github.com/wp-plugins/woosidebars-sbm-converter
commit_details: repo_url: https://github.com/wp-plugins/woosidebars-sbm-converter
author: jeffikus
author_date: 2015-04-22 13:44:37+00:00
msg: V1.1.2 - Security Fix for _query_arg vulnerability.

git-svn-id: https://plugins.svn.wordpress.org/woosidebars-sbm-converter/trunk@1142182 b8457f37-d9ea-0310-8a92-e5e31aec5664
repository: repo_url: https://github.com/wp-plugins/woosidebars-sbm-converter
repo_name: wp-plugins/woosidebars-sbm-converter
description: WordPress.org Plugin Mirror
repo_language: PHP
owner: wp-plugins
file_changes: filename: changelog.txt
change_type: ModificationType.MODIFY
diff: @@ -1,5 +1,8 @@
 *** Sidebar Manager to WooSidebars Converter Changelog ***
 
+2015.04.22 - version 1.1.2
+* classes/class-woosidebars-sbm-converter.php - Security Fix for remove_query_arg vulnerability
+
 2013.01.14 - version 1.1.1
  * /classes/class-woosidebars-sbm-converter-updater.php - REMOVED.
  * /classes/class-woosidebars-sbm-converter.php - Replaced camelCase WooSidebars with Woosidebars in class name, in accordance with WordPress class naming standards.

programming_language: Markdown
filename: class-woosidebars-sbm-converter.php
change_type: ModificationType.MODIFY
diff: @@ -143,7 +143,7 @@ class Woosidebars_SBM_Converter {
 				$status = 'true';
 			}
 
-			wp_safe_redirect( add_query_arg( 'type', urlencode( $_GET['action'] ),  add_query_arg( 'status', urlencode( $status ), add_query_arg( 'page', urlencode( $this->token ),  admin_url( 'tools.php' ) ) ) ) );
+			wp_safe_redirect( esc_url( add_query_arg( 'type', urlencode( $_GET['action'] ),  add_query_arg( 'status', urlencode( $status ), add_query_arg( 'page', urlencode( $this->token ),  admin_url( 'tools.php' ) ) ) ) ) );
 			exit;
 		}
 	} // End process_request()

programming_language: PHP
filename: readme.txt
change_type: ModificationType.MODIFY
diff: @@ -2,8 +2,8 @@
 Contributors: woothemes, mattyza, jeffikus
 Tags: widgets, sidebars, widget-areas, import, tools, converter
 Requires at least: 3.3
-Tested up to: 3.5
-Stable tag: 1.1.1
+Tested up to: 4.1.1
+Stable tag: 1.1.2
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
@@ -71,11 +71,19 @@ Looking to contribute code to this plugin? [Fork the repository over at GitHub](
 
 == Upgrade Notice ==
 
+= 1.1.2 =
+* 2015-04-22
+* Security Fix for add_query_arg vulnerability
+
 = 1.1.1 =
 Moved to WordPress.org. Woo!
 
 == Changelog ==
 
+= 1.1.2 =
+* 2015-04-22
+* Security Fix for add_query_arg vulnerability
+
 = 1.1.1 = 
 * 2013-01-14
 * Moved to WordPress.org. Woo!
\ No newline at end of file

programming_language: Markdown
filename: woosidebars-sbm-converter.php
change_type: ModificationType.MODIFY
diff: @@ -3,7 +3,7 @@
 Plugin Name: WooSidebars - Sidebar Manager to WooSidebars Converter
 Plugin URI: http://woothemes.com/
 Description: Convert your custom sidebars in the WooFramework's Sidebar Manager to Widget Areas in WooSidebars, with the appropriate conditions assigned.
-Version: 1.1.1
+Version: 1.1.2
 Author: WooThemes
 Author URI: http://woothemes.com/
 License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
@@ -27,5 +27,5 @@ License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2
 
 	global $woosidebars_sbm_converter;
 	$woosidebars_sbm_converter = new Woosidebars_SBM_Converter( __FILE__ );
-	$woosidebars_sbm_converter->version = '1.1.1';
+	$woosidebars_sbm_converter->version = '1.1.2';
 ?>
\ No newline at end of file

programming_language: PHP