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

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 26-01-2017)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-07-13 · Modified: 2025-04-14
- Record: https://cvemate.com/vulnerability/CVE-2017-20126 · JSON: https://cvemate.com/vulnerability/CVE-2017-20126/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.477%, percentile 85.09%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- kb\_affiliate\_referral\_script\_project kb\_affiliate\_referral\_script: 1.0
- unspecified kb affiliate referral script: 1.0

## References

- <https://www.exploit-db.com/exploits/41166/>
- <https://vuldb.com/?id.96621>

---

Data as of 2026-12-05T11:36:51.848Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
