Prison Management System
CVE-2025-14589
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain administrative credentials
-
DeliveryAccess /admin/search.php via admin panel
-
ExploitInject SQL metacharacters into keyname parameter
-
ExecutionBypass query logic
-
ImpactExtract unauthorized database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid authenticated access to the Prison Management System administrative interface (PR:L in CVSS vector). An attacker must already possess valid login credentials for an administrative account. The vulnerability is exploitable over the network (AV:N) and does not require user interaction (UI:N), but the authentication barrier is a mandatory prerequisite - unauthenticated remote attackers cannot exploit this flaw. Non-default configuration is not a limiting factor; the vulnerability exists in default /admin/search.php functionality. Exploitation is limited to confidentiality impact; SQL injection does not enable data modification or deletion due to the restricted scope (SC:N/SI:N/SA:N). |
| Impact | This vulnerability presents LOW real-world risk despite public exploit availability. Multiple risk signals are misaligned: CVSS 2.1 is extremely low, reflecting the authentication requirement (PR:L) and limited impact scope (only confidentiality affected: VC:L/VI:L/VA:L, with integrity and availability unaffected). EPSS score of 0.05% (15th percentile) confirms minimal exploitation probability, suggesting targeted attacks against specific deployments rather than mass exploitation. The combination of authenticated access requirement, low CVSS score, and very low EPSS percentile indicates this is NOT a critical priority for most defenders, despite public POC availability. However, organizations running Prison Management System 2.0 should still assess whether admin account compromise is realistic in their threat model - if administrative credentials are weak or widely shared, this becomes a higher priority for that specific environment. The limited impact (read-only access to data via SQL injection, no code execution or data modification) further reduces risk severity. |
| Exploit ScenarioDerived | An authenticated administrator or attacker with stolen admin credentials accesses the Prison Management System administrative panel. They navigate to /admin/search.php and inject malicious SQL syntax into the keyname parameter (e.g., keyname=admin' OR '1'='1), which bypasses query logic and returns unauthorized database records containing sensitive inmate or staff information. The attacker exfiltrates confidential data without triggering integrity or availability alerts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects Prison Management System 2.0 allows authenticated remote attackers to execute arbitrary SQL commands via the keyname parameter in /admin/search.php, with publicly available exploit code but limited real-world impact due to authentication requirement and restricted scope (confidentiality only, CVSS 2.1).
RemediationAI
Upgrade to a patched version if available from code-projects; however, no fixed version has been publicly confirmed in available advisory data. As an interim measure, implement input validation and parameterized queries in /admin/search.php to properly escape or bind the keyname parameter before SQL execution - consult the code-projects security advisory or patch release for exact remediation steps. Additionally, restrict administrative access through network-level controls (limit admin panel access to trusted IP ranges), enforce strong authentication (unique, complex passwords; multi-factor authentication if supported), and apply Web Application Firewall (WAF) rules to detect and block SQL injection patterns in keyname parameter submissions. Monitor /admin/search.php access logs for suspicious query patterns. Note that WAF mitigation may result in false positives and slow legitimate administrative searches if rules are overly broad.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the PHP-based Prison Management System administrative search functionality. The /admin/search.php endpoint fails to properly sanitize user-supplied input in the keyname parameter before incorporating it into SQL queries, violating CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). This classic SQL injection flaw allows manipulation of query logic through unescaped string concatenation or improper parameterized query implementation. The vulnerability requires authenticated access (PR:L in CVSS vector), meaning an attacker must already possess valid login credentials to the administrative panel.
Know when Prison Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in code-projects Prison Management System 2.0. This issue affects some unknown processing of the file /admin/search.php. Executing a manipulation of the argument keyname can lead to sql injection. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
More in Prison Management System
View allFile Upload vulnerability in Prison Management System v.1.0 allows a remote attacker to execute arbitrary code via the f
A vulnerability was found in SourceCodester Prison Management System 1.0. Rated critical severity (CVSS 9.8), this vulne
A vulnerability was found in SourceCodester Prison Management System 1.0 and classified as critical.php. Rated critical
A vulnerability was found in SourceCodester Prison Management System 1.0. Rated high severity (CVSS 8.8), this vulnerabi
A vulnerability classified as critical has been found in SourceCodester Prison Management System 1.0. Rated high severit
A vulnerability was found in SourceCodester Prison Management System 1.0. Rated high severity (CVSS 8.8), this vulnerabi
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
Prison Management System v1.0 was discovered to contain a SQL injection vulnerability via the 'id' parameter at /pms/adm
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB