SQL Injection in Prison Management System Project

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.

Vulnerability class: SQL Injection

EPSS: 0.007 (51.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-2018?
CVE-2022-2018 is a medium-severity vulnerability in Prison Management System Project, classified under SQL Injection. CVSS score: 4.7/10. Published 2022-06-09.
How severe is CVE-2022-2018?
Medium severity. CVSS v3 base score is 4.7 out of 10.