SourceCodester Lost and Found Information System view_inquiry.php sql injection
Description
A vulnerability has been found in SourceCodester Lost and Found Information System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file admin\inquiries\view_inquiry.php. The manipulation leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-231151.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Lost and Found Information System 1.0 is vulnerable to SQL injection in view_inquiry.php, enabling remote attackers to extract or modify database contents.
Vulnerability
In SourceCodester Lost and Found Information System 1.0, the file admin\inquiries\view_inquiry.php does not sanitize user-supplied input before using it in SQL queries. This leads to a classic SQL injection vulnerability. The code directly concatenates the id parameter into a query without proper escaping or parameterized statements, allowing an attacker to inject arbitrary SQL commands. The affected version is 1.0. [1]
Exploitation
An unauthenticated attacker can trigger the vulnerability remotely by sending a crafted HTTP request to the admin/inquiries/view_inquiry.php endpoint with a malicious id parameter. The exploit does not require any prior authentication or special privileges. The public proof-of-concept demonstrates how to inject SQL using a time-based blind technique, such as ' AND (SELECT 9094 FROM (SELECT(SLEEP(5)))psGp) AND 'osaz'='osaz. The attack can be automated with tools like sqlmap. [1]
Impact
Successful exploitation allows the attacker to execute arbitrary SQL commands on the database, leading to unauthorized disclosure of sensitive data (e.g., user credentials, personal information), as well as data modification or deletion. The attacker gains read and write access to the database contents, potentially compromising the entire application backend. [1]
Mitigation
As of the publication date, no official patch or fixed version has been released by SourceCodester. The vendor has not acknowledged the vulnerability. Users should upgrade to a patched version if available, or apply input validation and parameterized queries to the affected file. Until a fix is provided, restricting network access to the admin panel and using a web application firewall can help reduce risk. [1]
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: = 1.0
- SourceCodester/Lost and Found Information Systemv5Range: 1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
3- github.com/AnotherN/cvv/blob/main/imgs/Lost%20and%20Found%20Information%20System%20-%20multiple%20vulnerabilities.mdmitreexploit
- vuldb.commitresignaturepermissions-required
- vuldb.commitrevdb-entrytechnical-description
News mentions
0No linked articles in our index yet.