CVE-2015-10112: URL Redirection to Untrusted Site ('Open Redirect') (CWE-601)
value: A vulnerability classified as problematic has been found in WooFramework Branding Plugin up to 1.0.1 on WordPress. Affected is the function admin_screen_logic of the file wooframework-branding.php. The manipulation of the argument url leads to open redirect. It is possible to launch the attack remotely. Upgrading to version 1.0.2 is able to address this issue. The name of the patch is f12fccd7b5eaf66442346f748c901ef504742f78. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-230652.
CWE 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.
CVSS v3 base score: 6.1
Published: 2023-06-05T08:15Z
Repository: https://github.com/wp-plugins/wooframework-branding
Language: Other
Files changed: readme.txt, wooframework-branding.php
Commit date: 2015-04-22 13:41:26 +0000
Commit message: V1.0.2 - Security Fix for _query_arg vulnerability.

git-svn-id: https://plugins.svn.wordpress.org/wooframework-branding/trunk@1142177 b8457f37-d9ea-0310-8a92-e5e31aec5664

Diff: diff --git a/readme.txt b/readme.txt
index 0e42b72..f399268 100755
--- a/readme.txt
+++ b/readme.txt
@@ -1,12 +1,12 @@
 === WooFramework Branding ===
 Contributors: woothemes,mattyza,jeffikus
 Donate link: http://woothemes.com/
 Tags: wooframework, branding, settings
 Requires at least: 3.9.1
-Tested up to: 3.9.1
-Stable tag: 1.0.1
+Tested up to: 4.1.1
+Stable tag: 1.0.2
 License: GPLv3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 
 Rebrand the WooFramework.
 
@@ -44,20 +44,28 @@ We encourage everyone to contribute their ideas, thoughts and code snippets. Thi
 1. The settings screen.
 
 
 == Upgrade Notice ==
 
+= 1.0.2 =
+* 2015-04-22
+* Security Fix for remove_query_arg vulnerability
+
 = 1.0.1 =
 * 2014-08-22
 * Adds WF export capabilities
 
 = 1.0.0 =
 * 2014-07-03
 * Initial release. Woo!
 
 == Changelog ==
 
+= 1.0.2 =
+* 2015-04-22
+* Security Fix for remove_query_arg vulnerability
+
 = 1.0.1 =
 * 2014-08-22
 * Adds WF export capabilities
 
 = 1.0.0 =
diff --git a/wooframework-branding.php b/wooframework-branding.php
index 46584d2..c61238b 100755
--- a/wooframework-branding.php
+++ b/wooframework-branding.php
@@ -1,15 +1,15 @@
 <?php
 /**
  * Plugin Name: WooFramework Branding
  * Plugin URI: http://woothemes.com/products/wooframework-branding/
  * Description: Well, g'day there! Lets work together to rebrand your copy of the WooFramework using your logo, your icon and your brand name.
- * Version: 1.0.1
+ * Version: 1.0.2
  * Author: Matty
  * Author URI: http://woothemes.com/
  * Requires at least: 3.9.1
- * Tested up to: 3.9.1
+ * Tested up to: 4.1.1
  *
  * Text Domain: wooframework-branding
  * Domain Path: /languages/
  *
  * @package WooFramework_Branding
@@ -284,11 +284,11 @@ final class WooFramework_Branding {
 
 			// Redirect on settings save, and exit.
 			$url = add_query_arg( 'page', $page );
 			$url = add_query_arg( 'updated', 'true', $url );
 
-			wp_safe_redirect( $url );
+			wp_safe_redirect( esc_url( $url ) );
 			exit;
 		}
 	} // End admin_screen_logic()
 
 	/**

Vulnerable code: Tested up to: 3.9.1
Stable tag: 1.0.1
 * Version: 1.0.1
 * Tested up to: 3.9.1
			wp_safe_redirect( $url );
Fixed code: Tested up to: 4.1.1
Stable tag: 1.0.2
= 1.0.2 =
* 2015-04-22
* Security Fix for remove_query_arg vulnerability

= 1.0.2 =
* 2015-04-22
* Security Fix for remove_query_arg vulnerability

 * Version: 1.0.2
 * Tested up to: 4.1.1
			wp_safe_redirect( esc_url( $url ) );