4.7med

CVE-2022-2018

SourceCodester Prison Management System Inmate sql injection

Published 4 y ago · modified 4 mo ago · JSON

CVSS
4.7
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 57%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction (EPSS)

0.80% probability of exploitation in the next 30 days, higher than 57% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.14.7CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
CNA3.14.7CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
NVD3.17.2CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • SourceCodester Prison Management System

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

  • github.com /ch0ing/vul/blob/main/WebRay.com.cn/Prison%20Management%20System%28SQLI%29.md · x_refsource_MISC, x_transferred
  • vuldb.com /?id.201366 · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.