Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-10408: SQL Injection in SourceCodester Student Grading System

0
Medium
VulnerabilityCVE-2025-10408cvecve-2025-10408
Published: Sun Sep 14 2025 (09/14/2025, 20:02:08 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Student Grading System

Description

A security flaw has been discovered in SourceCodester Student Grading System 1.0. Affected by this issue is some unknown functionality of the file /edit_user.php. Performing manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been released to the public and may be exploited.

AI-Powered Analysis

AILast updated: 09/22/2025, 00:36:47 UTC

Technical Analysis

CVE-2025-10408 is a medium severity SQL Injection vulnerability identified in SourceCodester Student Grading System version 1.0. The flaw exists in the /edit_user.php file, where manipulation of the 'ID' parameter allows an attacker to inject malicious SQL code. This vulnerability can be exploited remotely without requiring user interaction or authentication, as indicated by the CVSS vector (AV:N/AC:L/AT:N/UI:N/PR:L). The injection flaw could allow an attacker to read, modify, or delete data within the underlying database, potentially compromising the confidentiality and integrity of sensitive student and user information. The vulnerability has a CVSS 4.0 base score of 5.3, reflecting a moderate risk due to limited privileges required (PR:L) and low impact on confidentiality, integrity, and availability (VC:L, VI:L, VA:L). Although no public exploits are currently known in the wild, the exploit code has been released publicly, increasing the risk of exploitation. The lack of patches or vendor-provided mitigations further elevates the threat. The vulnerability stems from insufficient input validation and improper sanitization of the 'ID' parameter in the PHP script, a common issue in web applications that interact with databases. Attackers leveraging this flaw could potentially escalate privileges, access unauthorized data, or disrupt application functionality, impacting the reliability of the grading system.

Potential Impact

For European organizations, especially educational institutions using the SourceCodester Student Grading System 1.0, this vulnerability poses a significant risk to the confidentiality and integrity of student records and personal data. Exploitation could lead to unauthorized disclosure of sensitive information, manipulation of grades, or disruption of academic processes. Given the GDPR regulations in Europe, a data breach resulting from this vulnerability could lead to substantial legal and financial penalties. The remote exploitability without user interaction means attackers can automate attacks, increasing the likelihood of compromise. Additionally, the integrity of academic records is critical for institutional reputation and trust; any tampering could have long-term consequences for students and institutions alike. The vulnerability could also be leveraged as a foothold for further attacks within the network if the grading system is integrated with other institutional systems.

Mitigation Recommendations

1. Immediate code review and sanitization: Developers should implement prepared statements with parameterized queries in the /edit_user.php file to prevent SQL injection. 2. Input validation: Enforce strict validation and sanitization of all user-supplied inputs, especially the 'ID' parameter, to ensure only expected data types and formats are accepted. 3. Principle of least privilege: Ensure the database user account used by the application has minimal privileges, limiting the potential damage from a successful injection attack. 4. Web Application Firewall (WAF): Deploy a WAF with rules to detect and block SQL injection attempts targeting the grading system. 5. Monitoring and logging: Enable detailed logging of database queries and application access to detect suspicious activities early. 6. Patch management: Engage with the vendor or community to obtain or develop patches addressing this vulnerability and apply them promptly. 7. Network segmentation: Isolate the grading system from critical infrastructure to limit lateral movement in case of compromise. 8. Regular security assessments: Conduct periodic penetration testing and code audits to identify and remediate similar vulnerabilities proactively.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-09-13T19:52:32.776Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68c721247a11a6d763ce7421

Added to database: 9/14/2025, 8:10:12 PM

Last enriched: 9/22/2025, 12:36:47 AM

Last updated: 10/30/2025, 5:44:04 AM

Views: 44

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats