SourceCodester Yoga Class Registration System list.php cross site scripting

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:

  1. 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.

  1. 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值