CVE-2023-0686 SourceCodester Online Eyewear Shop HTTP POST Request update_cart sql injection

Medium 5.0 Published Updated

Attackers can exploit SQL injection in the update_cart function to read or modify database contents in the Online Eyewear Shop application.

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-2023-0686?

CVE-2023-0686 is a medium-severity SQL injection vulnerability in SourceCodester Online Eyewear Shop, published on 6 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Online Eyewear Shop 1.0. It has been classified as critical. This affects the function update_cart of the file /oews/classes/Master.php?f=update_cart of the component HTTP POST Request Handler. The manipulation of the argument cart_id leads to sql injection. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The identifier VDB-220245 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2023-0686?

It affects 1 product.

Products include Oretnom23 Online Eyewear Shop.

How do I fix CVE-2023-0686?

No fix has been published for CVE-2023-0686 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-0686 being exploited?

There is no known exploitation of CVE-2023-0686 in the wild and no public exploit code.

Sources

Also known as GHSA-fq5p-5w22-52xh.

Is CVE-2023-0686 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free