{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-2492",
        "TITLE": "SourceCodester Library Management System index.php sql injection",
        "REQUESTER": "cna@vuldb.com",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "generator": "vuldb.com",
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "SourceCodester",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Library Management System",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "1.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-89 SQL Injection"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability was found in SourceCodester Library Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /index.php. The manipulation of the argument RollNo with the input admin' AND (SELECT 2625 FROM (SELECT(SLEEP(5)))MdIL) AND 'KXmq'='KXmq&Password=1231312312 leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used."
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "baseScore": "6.3",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Library-Management-System-with-QR-code-Attendance-and-Auto-Generate-Library-Card.md#index.php",
                "refsource": "MISC",
                "name": "https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Library-Management-System-with-QR-code-Attendance-and-Auto-Generate-Library-Card.md#index.php"
            },
            {
                "url": "https://vuldb.com/?id.204575",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.204575"
            }
        ]
    }
}