CVE-2015-10114 (published 2023-06-05T16:15Z)

A vulnerability, which was classified as problematic, has been found in WooSidebars Plugin up to 1.4.1 on WordPress. Affected by this issue is the function enable_custom_post_sidebars of the file classes/class-woo-sidebars.php. The manipulation of the argument sendback leads to open redirect. The attack may be launched remotely. Upgrading to version 1.4.2 is able to address this issue. The patch is identified as 1ac6d6ac26e185673f95fc1ccc56a392169ba601. It is recommended to upgrade the affected component. VDB-230654 is the identifier assigned to this vulnerability.

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
commit_details: repo_url: https://github.com/wp-plugins/woosidebars
author: jeffikus
author_date: 2015-04-22 13:45:12+00:00
msg: V1.4.2 - Security Fix for _query_arg vulnerability.

git-svn-id: https://plugins.svn.wordpress.org/woosidebars/trunk@1142184 b8457f37-d9ea-0310-8a92-e5e31aec5664
repository: repo_url: https://github.com/wp-plugins/woosidebars
repo_name: wp-plugins/woosidebars
description: WordPress.org Plugin Mirror
repo_language: PHP
owner: wp-plugins
file_changes: filename: changelog.txt
change_type: ModificationType.MODIFY
diff: @@ -1,5 +1,9 @@
 *** WooSidebars Changelog ***
 
+2015-04-22 - version 1.4.2
+* Security Fix - remove_query_arg vulnerability
+  /classes/class-woo-sidebars.php
+
 2015.02.17 - version 1.4.1
  * Fix - Fixes an error notice on the homepage, caused by the tag check logic.
    /classes/class-woo-conditions.php

programming_language: Markdown
filename: class-woo-sidebars.php
change_type: ModificationType.MODIFY
diff: @@ -703,7 +703,7 @@ class Woo_Sidebars {
 		}
 
 		$sendback = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), wp_get_referer() );
-		wp_safe_redirect( $sendback );
+		wp_safe_redirect( esc_url( $sendback ) );
 	} // End enable_custom_post_sidebars()
 
 	/**

programming_language: PHP
filename: readme.txt
change_type: ModificationType.MODIFY
diff: @@ -2,8 +2,8 @@
 Contributors: woothemes, mattyza
 Tags: widgets, sidebars, widget-areas
 Requires at least: 3.3
-Tested up to: 4.1.0
-Stable tag: 1.4.1
+Tested up to: 4.1.1
+Stable tag: 1.4.2
 License: GPLv3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 
@@ -71,6 +71,9 @@ Looking to contribute code to this plugin? [Fork the repository over at GitHub](
 
 == Upgrade Notice ==
 
+= 1.4.2 =
+Security Fix for XSS vulnerability
+
 = 1.4.1 =
 Fixes an error notice on the homepage, caused by the tag check logic.
 
@@ -95,6 +98,10 @@ Moved to WordPress.org. Woo! Added scope to methods and properties where missing
 
 == Changelog ==
 
+= 1.4.2 =
+* 2015-04-22
+* Security Fix for remove_query_arg vulnerability
+
 = 1.4.1 =
 * 2015-02-17
 Fixes an error notice on the homepage, caused by the tag check logic.

programming_language: Markdown
filename: woosidebars.php
change_type: ModificationType.MODIFY
diff: @@ -5,8 +5,8 @@
  * Description: Replace widget areas in your theme for specific pages, archives and other sections of WordPress.
  * Author: WooThemes
  * Author URI: http://woothemes.com/
- * Version: 1.4.1
- * Stable tag: 1.4.1
+ * Version: 1.4.2
+ * Stable tag: 1.4.2
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  */
 
@@ -22,6 +22,6 @@
 
  global $woosidebars;
  $woosidebars = new Woo_Sidebars( __FILE__ );
- $woosidebars->version = '1.4.1';
+ $woosidebars->version = '1.4.2';
  $woosidebars->init();
 ?>
\ No newline at end of file

programming_language: PHP