{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-5896",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2024-06-12T08:59:29.316Z",
        "datePublished": "2024-06-12T15:31:03.691Z",
        "dateUpdated": "2024-08-01T21:25:03.162Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2024-06-12T15:31:03.691Z"
            },
            "title": "SourceCodester Employee and Visitor Gate Pass Logging System save_users sql injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89 SQL Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "SourceCodester",
                    "product": "Employee and Visitor Gate Pass Logging System",
                    "versions": [
                        {
                            "version": "1.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "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": "de",
                    "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 über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 6.9,
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "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"
                    }
                },
                {
                    "cvssV3_0": {
                        "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"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 7.5,
                        "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2024-06-12T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2024-06-12T02:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2024-06-12T13:23:54.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Hefei-Coffee (VulDB User)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Hefei-Coffee (VulDB User)",
                    "type": "analyst"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/?id.268140",
                    "name": "VDB-268140 | SourceCodester Employee and Visitor Gate Pass Logging System save_users sql injection",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/?ctiid.268140",
                    "name": "VDB-268140 | CTI Indicators (IOB, IOC, TTP, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/?submit.354925",
                    "name": "Submit #354925 | sourcecodester Employee and Visitor Gate Pass Logging System v1.0 L injection",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/Hefei-Coffee/cve/blob/main/sql12.md",
                    "tags": [
                        "exploit"
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-06-12T18:14:19.073224Z",
                                "id": "CVE-2024-5896",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-12T18:15:12.223Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:25:03.162Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://vuldb.com/?id.268140",
                        "name": "VDB-268140 | SourceCodester Employee and Visitor Gate Pass Logging System save_users sql injection",
                        "tags": [
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?ctiid.268140",
                        "name": "VDB-268140 | CTI Indicators (IOB, IOC, TTP, IOA)",
                        "tags": [
                            "signature",
                            "permissions-required",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?submit.354925",
                        "name": "Submit #354925 | sourcecodester Employee and Visitor Gate Pass Logging System v1.0 L injection",
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/Hefei-Coffee/cve/blob/main/sql12.md",
                        "tags": [
                            "exploit",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}