CVE-2023-1505 SourceCodester E-Commerce System setDiscount.php sql injection

Medium 5.0 Published Updated

Remote attackers can exploit SQL injection in the discount settings module to read or modify database contents.

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-1505?

CVE-2023-1505 is a medium-severity SQL injection vulnerability in SourceCodester E-Commerce System, published on 20 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in SourceCodester E-Commerce System 1.0. This issue affects some unknown processing of the file /ecommerce/admin/settings/setDiscount.php. The manipulation of the argument id with the input 201737 AND (SELECT 8973 FROM (SELECT(SLEEP(5)))OoAD) leads to sql injection. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The identifier VDB-223409 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2023-1505?

It affects 1 product.

Products include E-Commerce System Project E-Commerce System.

How do I fix CVE-2023-1505?

No fix has been published for CVE-2023-1505 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-1505 being exploited?

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

Sources

Also known as GHSA-8w38-x469-hfxf.

Is CVE-2023-1505 in your software?

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

Check your SBOMs for free