SQL Injection Vulnerability in Hostel Management System by Code-Projects
CVE-2025-6159

6.9MEDIUM

Key Information:

Vendor
CVE Published:
17 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-6159?

A vulnerability exists in the Hostel Management System 1.0 developed by Code-Projects, specifically in the allocate_room.php file. This flaw arises from improper handling of input in the search_box argument, which exposes the system to SQL injection attacks. Consequently, a malicious actor can manipulate SQL queries and gain unauthorized access to confidential database information. The vulnerability can be exploited remotely, allowing attackers to execute arbitrary SQL commands without needing physical access to the system. Mitigation strategies include input validation and sanitization to protect against such threats.

Affected Version(s)

Hostel Management System 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Aalok-zz (VulDB User)
.
CVE-2025-6159 : SQL Injection Vulnerability in Hostel Management System by Code-Projects