{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-1954",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2023-04-08T06:29:41.842Z",
        "datePublished": "2023-04-08T09:31:04.827Z",
        "dateUpdated": "2024-08-02T06:05:27.086Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2024-02-13T07:50:49.426Z"
            },
            "title": "SourceCodester Online Computer and Laptop Store manage.php save_inventory sql injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-89",
                            "lang": "en",
                            "description": "CWE-89 SQL Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "SourceCodester",
                    "product": "Online Computer and Laptop Store",
                    "versions": [
                        {
                            "version": "1.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A vulnerability was found in SourceCodester Online Computer and Laptop Store 1.0. It has been rated as critical. This issue affects the function save_inventory of the file /admin/product/manage.php. The manipulation of the argument id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-225341 was assigned to this vulnerability."
                },
                {
                    "lang": "de",
                    "value": "Eine Schwachstelle wurde in SourceCodester Online Computer and Laptop Store 1.0 ausgemacht. Sie wurde als kritisch eingestuft. Es geht hierbei um die Funktion save_inventory der Datei /admin/product/manage.php. Mittels Manipulieren des Arguments id mit unbekannten Daten kann eine sql injection-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 6.3,
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 6.5,
                        "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2023-04-08T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2023-04-08T00:00:00.000Z",
                    "lang": "en",
                    "value": "CVE reserved"
                },
                {
                    "time": "2023-04-08T02:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2023-04-26T09:24:19.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "haicheng.zhang (VulDB User)",
                    "type": "reporter"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/?id.225341",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/?ctiid.225341",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://github.com/boyi0508/Online-Computer-and-Laptop-Store/blob/main/SQL%20injection%20present%20at%20product%20update.pdf",
                    "tags": [
                        "broken-link",
                        "exploit",
                        "patch"
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T06:05:27.086Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://vuldb.com/?id.225341",
                        "tags": [
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?ctiid.225341",
                        "tags": [
                            "signature",
                            "permissions-required",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/boyi0508/Online-Computer-and-Laptop-Store/blob/main/SQL%20injection%20present%20at%20product%20update.pdf",
                        "tags": [
                            "broken-link",
                            "exploit",
                            "patch",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}