Headline
CVE-2023-1395: SourceCodester Yoga Class Registration System list.php cross site scripting_Dwayne_Wade的博客-CSDN博客
A vulnerability was found in SourceCodester Yoga Class Registration System 1.0. It has been declared as problematic. This vulnerability affects the function query of the file admin/user/list.php. The manipulation of the argument name leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-222982 is the identifier assigned to this vulnerability.
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
SourceCodester Yoga Class Registration System list.php cross site scripting
url:admin/user/list.php
Abstract:
Line 56 of list.php sends unvalidated data to a web browser, which can result in the browser executing malicious code.
Explanation:
Cross-site scripting (XSS) vulnerabilities occur when:
- Data enters a web application through an untrusted source. In the case of persistent (also known as stored) XSS, the untrusted source is typically a database or other back-end data store, while in the case of reflected XSS it is typically a web request.
In this case, the data enters at query() in list.php at line 48.
- The data is included in dynamic content that is sent to a web user without being validated.
In this case, the data is sent at builtin_echo() in list.php at line 56.
It is clear that the application doesn’t perform data validation and trust user-supplied data, we can use the below XSS payload as input which may be stored in the application.
<img src=0 onerror=alert(1)>
Download Code:
https://www.sourcecodester.com/php/16097/yoga-class-registration-system-php-and-mysql-free-source-code.html