Sourcecodester · Sourcecodester Online Eyewear Shop · CVE-2024-9317
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Online Eyewear Shop version 1.0
**Description**
A critical vulnerability was found in the function `delete category` of the file `/classes/Master.php?f=delete category`. The manipulation of the argument `id` leads to SQL injection. The attack can be launched remotely.
**Recommendations**
For SourceCodester Online Eyewear Shop version 1.0, as a temporary workaround, consider disabling the `delete category` function until a patch is available. Restrict access to the `/classes/Master.php?f=delete category` endpoint to minimize the risk of exploitation. Avoid using the `id` argument in the affected endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.