vendor:
Online Examination System Project
by:
Ramil Mustafayev (kryptohaker)
7.5
CVSS
HIGH
Cross-Site Request Forgery (CSRF)
352
CWE
Product Name: Online Examination System Project
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE:
CPE: a:projectworldsofficial:online_examination_system_project:1.0
Platforms Tested: Windows 10, XAMPP for Windows 8.0.28 / PHP 8.0.28
2023
Online Examination System Project 1.0 – Cross-site request forgery (CSRF)
Online Examination System Project <=1.0 versions (PHP/MYSQL) are vulnerable to Cross-Site Request Forgery (CSRF) attacks. An attacker can craft a malicious link that, when clicked by an admin user, will delete a user account from the database without the admin’s consent. This is possible because the application uses GET requests to perform account deletion and does not implement any CSRF protection mechanism. The email of the user to be deleted is passed as a parameter in the URL, which can be manipulated by the attacker. This could result in loss of data.
Mitigation:
To mitigate this vulnerability, the application should implement CSRF protection mechanisms, such as using anti-CSRF tokens or checking the referer header. Additionally, sensitive operations like account deletion should be performed using POST requests instead of GET requests.