Skip to main content
CVE-2025-6159VulnerabilityPublished

CVE-2025-6159: code-projects Hostel Management System · SQL Injection

Affects code-projects Hostel Management SystemSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubaalok-zz/cvepkg:github/aalok-zz/cveOther threatsAffected
  • =1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Immediate mitigation steps include implementing input validation and parameterized queries or prepared statements in the /allocate_room.php script to prevent SQL injection. Organizations should audit their current installations of the Hostel Management System to identify version 1.0 deployments and isolate or restrict access to the vulnerable endpoint until a patch is available. Network-level mitigations such as Web Application Firewalls (WAFs) can be configured to detect and block SQL injection patterns targeting the 'search_box' parameter. Monitoring and logging of database queries and web requests should be enhanced to detect anomalous activities indicative of exploitation attempts. Regular backups of the database are essential to enable recovery in case of data corruption. Finally, staff awareness and incident response plans should be updated to address potential exploitation scenarios.

Description

A vulnerability classified as critical was found in code-projects Hostel Management System 1.0. This vulnerability affects unknown code of the file /allocate_room.php. The manipulation of the argument search_box leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…