{"id":"CVE-2022-2214","aliases":["CVE-2022-2214"],"related":[],"kind":"vulnerability","state":"published","title":"SourceCodester Library Management System bookdetails.php sql injection","summary":"A vulnerability was found in SourceCodester Library Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /librarian/bookdetails.php. The manipulation of the argument id with the input ' AND (SELECT 9198 FROM (SELECT(SLEEP(5)))iqZA)-- PbtB leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability was found in SourceCodester Library Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /librarian/bookdetails.php. The manipulation of the argument id with the input ' AND (SELECT 9198 FROM (SELECT(SLEEP(5)))iqZA)-- PbtB leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad en SourceCodester Library Management System 1.0. Ha sido calificada como crítica. Este problema afecta a una funcionalidad desconocida del archivo /librarian/bookdetails.php. La manipulación del argumento id con la entrada \" AND (SELECT 9198 FROM (SELECT(SLEEP(5)))iqZA)-- PbtB conlleva a una inyección sql. El ataque puede ser lanzado remotamente. La explotación ha sido divulgada al público y puede ser usada","source":"nvd"}],"published":"2022-06-27T06:45:30.000Z","modified":"2026-06-17T04:41:30.113Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"1.0","status":"affected"}],"vendor":"SourceCodester","product":"Library Management System","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"library_management_system_project","product":"library_management_system","cpe":"cpe:2.3:a:library_management_system_project:library_management_system:1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/CyberThoth/CVE/blob/main/CVE/Library%20Management%20System%20with%20QR%20code%20Attendance/Sql%20Injection/POC.md","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?id.202760","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/k0xx11/bug_report/blob/main/vendors/kingbhob02/library-management-system/SQLi-2.md","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-14T17:07:56.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-2214","url":"https://www.cve.org/CVERecord?id=CVE-2022-2214","licence":"CVE Terms of Use","modified":"2025-04-15T14:12:51.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-2214","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2214","licence":"Public domain","modified":"2026-06-17T04:41:30.113Z"}],"updatedAt":"2026-11-25T22:58:12.568Z","epss":{"score":0.01144,"percentile":0.67623,"date":"2026-12-01T12:00:22.000Z"}}