SourceCodester Prison Management System Inmate sql injection

4.7MEDIUM

CVE-2022-2018

Key Information:

CVE ID
CVE ID:
CVE-2022-2018
Vendor
CVE Published:
9 June 2022

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Prison Management System. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (4.7).

What is CVE-2022-2018?

A vulnerability classified as critical has been found in SourceCodester Prison Management System 1.0. Affected is an unknown function of the file /admin/?page=inmates/view_inmate of the component Inmate Handler. The manipulation of the argument id with the input 1%27%20and%201=2%20union%20select%201,user(),3,4,5,6,7,8,9,0,database(),2,3,4,5,6,7,8,9,0,1,2,3,4--+ leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Affected Version(s)

Prison Management System 1.0

References

SQL Injection in SourceCodester Client Database Management System

CVE-2025-46188
SourceCodesterClient Database Manage...πŸ”₯πŸ˜„πŸ‘Ύ9.8CRITICAL
View more Sourcecodester vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
.