CVE-2017-5663 SQL injection in Apache Fineract

High 8.8 Published Updated

Authenticated users can inject malicious SQL via the sqlSearch parameter in Apache Fineract, allowing unauthorized data access or modification.

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-2017-5663?

CVE-2017-5663 is a high-severity SQL injection vulnerability in Apache Fineract, published on 14 Dec 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache Fineract 0.4.0-incubating, 0.5.0-incubating, and 0.6.0-incubating, an authenticated user with client/loan/center/staff/group read permissions is able to inject malicious SQL into SELECT queries. The 'sqlSearch' parameter on a number of endpoints is not sanitized and appended directly to the query.

Weakness: CWE-89

Which versions are affected by CVE-2017-5663?

It affects 1 product.

Products include Apache Fineract.

How do I fix CVE-2017-5663?

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

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

Sources

Also known as GHSA-432p-g7rx-g388.

Is CVE-2017-5663 in your software?

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

Check your SBOMs for free