提交 #308214: sourcecodester Computer Laboratory Management System 1.0 stord xss信息

标题sourcecodester Computer Laboratory Management System 1.0 stord xss
描述The provided code contains a Cross-Site Scripting (XSS) vulnerability due to inadequate validation and sanitization of user input. Specifically, the registration() method within the Users class lacks proper filtering of user-supplied data before incorporating it into SQL queries. This flaw enables an attacker to inject malicious scripts, such as JavaScript code, into the application. Exploiting this vulnerability allows attackers to execute arbitrary code within the context of an administrator's session. An attacker can craft a payload containing a malicious script and submit it through user input fields like firstname, middlename, lastname, or username. Upon viewing the user list, the injected script executes, leading to XSS attacks. This vulnerability poses significant risks, including data theft, session hijacking, and application defacement.
来源⚠️ https://github.com/Sospiro014/zday1/blob/main/xss_1.md
用户
 SoSPiro (UID 67134)
提交2024-04-01 12時52分 (3 年前)
管理2024-04-01 19時42分 (7 hours later)
状态已接受
VulDB条目258915 [SourceCodester Computer Laboratory Management System 1.0 Users.php?f=save middlename 跨网站脚本]
积分20

Do you need the next level of professionalism?

Upgrade your account now!