CVE-2025-51045
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-29

Last updated on: 2025-08-07

Assigner: MITRE

Description
Phpgurukul Pre-School Enrollment System 1.0 contains a SQL injection vulnerability in the /admin/password-recovery.php file. This vulnerability is attributed to the insufficient validation of user input for the username parameter.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-29
Last Modified
2025-08-07
Generated
2026-05-07
AI Q&A
2025-07-29
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
phpgurukul pre-school_enrollment_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-51045 is a SQL injection vulnerability in the Pre-School Enrollment System version 1.0, specifically in the /admin/password-recovery.php file. The issue occurs because the username parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code, potentially manipulating the database in unauthorized ways without needing to log in. [1]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized database access, data leakage, data tampering, full system compromise, and potential service disruption. Attackers can exploit it without any authentication, which makes it highly critical. The exploitation can allow attackers to manipulate SQL queries to extract sensitive information or alter data. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the /admin/password-recovery.php endpoint for SQL injection on the username parameter. Tools like sqlmap can be used to automate detection and database enumeration. Example command: sqlmap -u "http://target/admin/password-recovery.php" --data="username=admin&mobileno=1234567890&newpassword=test&confirmpassword=test&resetpwd=Reset" --risk=3 --level=5 --batch [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implement prepared statements with parameter binding to prevent SQL injection. 2) Enforce strict input validation and filtering on the username parameter to ensure only expected input is accepted. 3) Minimize database user privileges by avoiding use of high-privilege accounts for routine operations. These steps help protect system security and maintain data integrity. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart