CVE-2017-20126 KB Affiliate Referral Script index.php sql injection

High 7.3 Published Updated

Remote attackers can exploit SQL injection in the login form to bypass authentication and access sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-20126?

CVE-2017-20126 is a high-severity SQL injection vulnerability in unspecified KB Affiliate Referral Script, published on 13 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in KB Affiliate Referral Script 1.0. It has been classified as critical. This affects an unknown part of the file /index.php. The manipulation of the argument username/password with the input 'or''=' leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-89

Which versions are affected by CVE-2017-20126?

It affects 1 product.

Products include Kb Affiliate Referral Script Project Kb Affiliate Referral Script.

How do I fix CVE-2017-20126?

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

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

Sources

Also known as GHSA-jqvq-rhj4-hvm3.

Is CVE-2017-20126 in your software?

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

Check your SBOMs for free