CVE-2023-7185 7-card Fakabao wxpay_notify.php sql injection

Medium 5.5 Published Updated

SQL injection in Fakabao allows attackers to manipulate database queries via the out_trade_no parameter, potentially exposing or modifying data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-7185?

CVE-2023-7185 is a medium-severity SQL injection vulnerability in 7-card Fakabao, published on 31 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in 7-card Fakabao up to 1.0_build20230805. It has been classified as critical. This affects an unknown part of the file shop/wxpay_notify.php. The manipulation of the argument out_trade_no leads to sql injection. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249387. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-89

Which versions are affected by CVE-2023-7185?

It affects 1 product.

Products include 7-Card Fakabao.

How do I fix CVE-2023-7185?

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

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

Sources

Also known as GHSA-4ggx-r4g9-43g4.

Is CVE-2023-7185 in your software?

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

Check your SBOMs for free