Document Title:
===============
Wordpress EELV Newsletter v4.5 - Multiple Vulnerabilities
Product & Service Introduction:
===============================
Add a registration form on FrontOffice, a newsletter manager on backoffice manage skins, address book, archives and direct answers.
Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered a stored cross site and cross site request forgery vulnerability in the official EELV Newsletter v4.5 Plugin.
Vulnerability Disclosure Timeline:
==================================
2017-05-15: Public Disclosure (Vulnerability Laboratory)
Discovery Status:
=================
Published
Affected Product(s):
====================
Bastien Ho
Product: EELV Newsletter - Plugin (Wordpress) 4.5
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
Multiple client-side cross site web vulnerabilities has been discovered in the official Wordpress EELV Newsletter v4.5 web-application plugin.
The persistent web vulnerability allows remote attackers to inject own malicious script code on the application-side of the web-application.
The cross site request forgery vulnerability allows remote attackers to perform malicious client-side requests with user interaction to
manipulate the web-application.
1.1
The application-side cross site vulnerability is located in the `s` value of the page module POST method request. Remote attackers are able to
inject own malicious script codes to the application-side of the online service web-application to compromise user session information or data.
The request method to inject is POST and the attack vector is persistent.
1.2
The cross site request forgery vulnerability is located in the `delgroupe` parameter of the `addressbook`. Remote attackers can prepare special
crafted webpages to perform client-side delete requests with the administrator session. The request method to execute is GET and the attack
vector of the vulnerability is non-persistent.
The security risk of the client-side web vulnerabilities are estimated as medium with a cvss (common vulnerability scoring system) count of 3.3.
Exploitation of the persistent web vulnerability requires no privileged web application user account and low user interaction (click link).
Exploitation of the csrf web vulnerability requires no privileged web application user account and low user interaction (click link).
Successful exploitation of the vulnerability results in session hijacking, persistent phishing, persistent external redirects,
persistent load of malicious script codes or persistent web module context manipulation.
Request Method(s):
[+] GET
Vulnerable Service(s):
[+] Truemag Theme (Wordpress)
Vulnerable Module(s):
[+] ./wp-contact/theme/truemag
Vulnerable Parameter(s):
[+] s
Proof of Concept (PoC):
=======================
The persistent cross site vulnerability can be exploited by remote attackers with privileged web-application user account and low user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
1.1
PoC: XSS (Payload)
"><script>alert(document.cookie)</script>
Manual steps to reproduce the vulnerability ...
1. First go to http://localhost:8080/wordpress/wp-admin/edit.php?post_type=newsletter&page=news_carnet_adresse
2. Create new adress book
3. Include the following payload to the input field
Note: "><script>alert(document.cookie)</script>
4. Click save and the payload executes within the same module context
5. Successful reproduce of the persistent cross site vulnerability!
1.2
PoC CSRF:
<img src="http://king.coder/wordpress/wp-admin/edit.php?post_type=newsletter&page=news_carnet_adresse&delgroupe=[CSRF VULNERABILITY VIA BOOK ID]">
Reference(s):
http://localhost:8080/wordpress/
http://localhost:8080/wordpress/wp-admin/
http://localhost:8080/wordpress/wp-admin/edit.php
http://localhost:8080/wordpress/wp-admin/edit.php?post_type=newsletter
http://localhost:8080/wordpress/wp-admin/edit.php?post_type=newsletter&page=news_carnet_adresse
Solution - Fix & Patch:
=======================
The vulnerability can be patched by a secure parse the webpage GET method request.
Encode the parameter and restrict the input value to prevent further script code injection attacks.
# 0day.today [2018-01-02] #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