`============================================================
- Title: Ninja Forms WordPress Plugin Multiple Cross-Site Scripting Vulnerability
- Vulnerable Version: 2.8.8 and probably prior
-Tested Version:2.8.8
- Vendor Notification: 20 November 2014
- Vendor Patch: 20 November 2014
-Vulnerability Type: Cross-Site Scripting [CWE-79]
-CVE Reference: TBC
- Discovered by: Sergio Navarro of Dionach
- - ============================================================
VULNERABILITY
Two XSS vulnerabilities have been discovered in Ninja Forms WordPress plugin which can be exploited against administrators of WordPress (with the vulnerable plugin) to perform Cross-Site Scripting
1) Reflected XSS
The issue was found in the success notification message that the Ninja Forms plugin displays in users browser after users submit their details successfully through the plugin contact form. Anonymous attackers could use the vulnerability to take control of the victims browser or steal other users' sessions and so access their personal details.
Proof of concept:
POST http://www.example.com/wp-admin/admin-ajax.php?action=ninja_forms_ajax_submit
[ ]
ninja_forms_field_1=<b onmouseover=alert('XSS!')>TEST</b>
[ ]
--------------------------------------------------------------------------------------------------------------------------------------
2)Stored XSS
This issue was exploited when administrator users with access to the Ninja Forms submissions list attempt to edit the user submitted values. A malicious administration can hijack other users session, take control of another administrators browser or install malware on their computer.
Proof of concept:
POST http://www.example.com/wp-admin/post.php
fields[1]=<b+onmouseover=alert('XSS!')>TEST</b>
-===========================================================================
SOLUTION:
Update to Ninja Forms 2.8.11 which includes a fix for this vulnerability
-===========================================================================
Credits: Sergio Navarro of Dionach
`
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