Mindskipe XZS-MySQL Cross-Site Request Forgery Vulnerability

Vulnerability

A cross-site request forgery (CSRF) vulnerability has been identified in Mindskip XZS-MySQL version 3.9.0. The application lacks proper CSRF protections, allowing attackers to manipulate authenticated users into performing unintended actions, such as submitting exam answers without consent. This vulnerability affects multiple endpoints, including the answer submission endpoint for exam papers.

Impact

Exploitation of this vulnerability could lead to unauthorized actions being performed on behalf of the user, such as submitting incorrect exam answers or modifying user profile information. Additionally, this vulnerability could be exploited to perform sensitive actions under the guise of an authenticated user.

Reproduction

To reproduce this vulnerability, an authenticated user must be logged into the Mindskip XZS-MySQL application. An attacker can then create a malicious HTML page that sends a POST request to the answer submission endpoint, using the victim's session to submit exam answers without their knowledge. Once the page is hosted and the victim is tricked into visiting it, the unauthorized request is sent, exploiting the CSRF vulnerability.

Remediation

To address this vulnerability, implement CSRF protections by generating unique CSRF tokens for each session or request and validating them server-side for all state-changing actions. Additionally, consider checking the 'Origin' and 'Referer' headers to ensure requests come from trusted sources, and configure cookies with 'SameSite=Strict' or 'SameSite=Lax' to prevent cross-origin transmission.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
5.8
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.