CVE-2024-8949 SourceCodester Online Eyewear Shop Cart Content Master.php improper ownership management
Attackers can manipulate cart IDs to access or modify other users' cart data due to improper ownership checks in the Master.php file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8949?
CVE-2024-8949 is a medium-severity missing authorization vulnerability in SourceCodester Online Eyewear Shop, published on 17 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as critical has been found in SourceCodester Online Eyewear Shop 1.0. This affects an unknown part of the file /classes/Master.php of the component Cart Content Handler. The manipulation of the argument cart_id/id leads to improper ownership management. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-282
Which versions are affected by CVE-2024-8949?
It affects 1 product.
Products include Oretnom23 Online Eyewear Shop.
How do I fix CVE-2024-8949?
No fix has been published for CVE-2024-8949 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-8949 being exploited?
There is no known exploitation of CVE-2024-8949 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in SourceCodester Online Eyewear Shop
- CVE-2025-2846 SourceCodester Online Eyewear Shop Registration Users.php registration sql injection
- CVE-2025-2651 SourceCodester Online Eyewear Shop admin exposure of information through directory listing
- CVE-2024-5894 SourceCodester Online Eyewear Shop manage_product.php sql injection
- CVE-2023-2244 SourceCodester Online Eyewear Shop GET Parameter update_status.php sql injection
- CVE-2023-1969 SourceCodester Online Eyewear Shop GET Parameter manage_stock.php sql injection
Sources
Also known as GHSA-h47h-p6xc-8qv6.