vendor:
Simple College Website using PHP/MySQLi with Source Code
by:
Marco Catalano (@stunn4)
8.8
CVSS
HIGH
Stored Cross Site Scripting
79
CWE
Product Name: Simple College Website using PHP/MySQLi with Source Code
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: 2.3:a:sourcecodester:simple_college_website_using_php_and_mysql:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Linux, PHP/7.4.11
2021
Simple College Website 1.0 – ‘full’ Stored Cross Site Scripting
The source of "/admin_pages/admission.php" file defines the following lines of code which allow to an authenticated administrator to modify the source code of the page. Every change is then reflected and the user-input is not properly sanitized, this leads to cross site scripting attacks. An attacker may try to gain access to the admin panel using authentication bypass through sql injection exploit.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.