| タイトル | 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 年 ago) |
|---|
| モデレーション | 2024年04月01日 19:42 (7 hours later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 258915 [SourceCodester Computer Laboratory Management System 1.0 Users.php?f=save middlename クロスサイトスクリプティング] |
|---|
| ポイント | 20 |
|---|