CVE-2025-6154
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-17

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in PHPGurukul Hostel Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /includes/login.inc.php. The manipulation of the argument student_roll_no leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-17
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-06-17
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
phpgurukul hostel_management_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.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-6154 is a critical SQL injection vulnerability in PHPGurukul Hostel Management System 1.0, specifically in the /includes/login.inc.php file. It occurs because the input parameter student_roll_no is improperly handled and directly used in SQL queries without proper sanitization, allowing attackers to inject malicious SQL code. This flaw can be exploited remotely without authentication, making it highly accessible. [1]


How can this vulnerability impact me? :

This vulnerability can impact the confidentiality, integrity, and availability of the affected system. Attackers can remotely exploit it to manipulate or access sensitive data, potentially leading to data breaches, unauthorized data modification, or disruption of service. Since the exploit is publicly available and requires no authentication, the risk of compromise is high. [1]


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

This vulnerability can be detected by checking for the presence of the vulnerable file /includes/login.inc.php in PHPGurukul Hostel Management System 1.0 and testing the student_roll_no parameter for SQL injection. Attackers may use Google dorking such as 'inurl:includes/login.inc.php' to identify vulnerable targets. To detect it on your system, you can attempt to send crafted SQL injection payloads to the student_roll_no parameter and observe if the system is vulnerable. For example, using curl or sqlmap commands to test the parameter could help detect the vulnerability. Example command with sqlmap: sqlmap -u "http://target/includes/login.inc.php?student_roll_no=1" --batch --risk=3 --level=5 [1]


What immediate steps should I take to mitigate this vulnerability?

No known countermeasures or mitigations have been documented for this vulnerability. The recommended immediate step is to replace the affected component (PHPGurukul Hostel Management System 1.0) with an alternative product. Additionally, restricting access to the vulnerable endpoint and monitoring for exploitation attempts may help reduce risk until a fix or patch is available. [1]


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