{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-5896",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability, which was classified as critical, was found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0. Affected is the function save_users of the file /classes/Users.php?f=save. The manipulation of the argument id leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-268140."
            },
            {
                "lang": "deu",
                "value": "Es wurde eine Schwachstelle in SourceCodester Employee and Visitor Gate Pass Logging System 1.0 gefunden. Sie wurde als kritisch eingestuft. Es betrifft die Funktion save_users der Datei /classes/Users.php?f=save. Durch Manipulation des Arguments id mit unbekannten Daten kann eine sql injection-Schwachstelle ausgenutzt werden. Der Angriff kann \u00fcber das Netzwerk erfolgen. Der Exploit steht zur \u00f6ffentlichen Verf\u00fcgung."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-89 SQL Injection",
                        "cweId": "CWE-89"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "SourceCodester",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Employee and Visitor Gate Pass Logging System",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://vuldb.com/?id.268140",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.268140"
            },
            {
                "url": "https://vuldb.com/?ctiid.268140",
                "refsource": "MISC",
                "name": "https://vuldb.com/?ctiid.268140"
            },
            {
                "url": "https://vuldb.com/?submit.354925",
                "refsource": "MISC",
                "name": "https://vuldb.com/?submit.354925"
            },
            {
                "url": "https://github.com/Hefei-Coffee/cve/blob/main/sql12.md",
                "refsource": "MISC",
                "name": "https://github.com/Hefei-Coffee/cve/blob/main/sql12.md"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Hefei-Coffee (VulDB User)"
        },
        {
            "lang": "en",
            "value": "Hefei-Coffee (VulDB User)"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "baseScore": 7.3,
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "HIGH"
            },
            {
                "version": "3.0",
                "baseScore": 7.3,
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "HIGH"
            },
            {
                "version": "2.0",
                "baseScore": 7.5,
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
            }
        ]
    }
}