Lucene search
K

SofaWiki 3.9.2 Cross Site Scripting

🗓️ 17 Oct 2024 00:00:00Reported by Chokri HammediType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 317 Views

SofaWiki 3.9.2 - Reflected XSS via Regex Replace Preview

Code
`# Exploit Title: SofaWiki 3.9.2 - Reflected XSS (Authenticated) via Regex  
Replace Preview  
# Date: 10/17/2024  
# Exploit Author: Chokri Hammedi  
# Vendor Homepage: https://www.sofawiki.com  
# Software Link: https://www.sofawiki.com/site/files/snapshot.zip  
# Version: 3.9.2  
# Tested on: Windows XP  
  
*Summary:*  
  
A *reflected XSS* vulnerability exists in the *Regex Replace Preview*  
feature of SofaWiki. When a malicious payload is injected into the *Replace*  
field, the payload is executed immediately in the user’s browser during the  
preview.  
Proof of Concept (PoC):  
  
1. Login to SofaWiki.  
2. Go to Special => Regex :  
http://localhost/sofawiki/index.php?action=view&name=special:regex&lang=en  
  
3. In the Regex field, enter any text (e.g., test).  
4. In the Replace field, inject the following payload:  
  
<script>alert('XSS');</script>  
  
5. Click Replace Preview to trigger the XSS.  
`

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

17 Oct 2024 00:00Current
7.4High risk
Vulners AI Score7.4
317