CVE-2018-1291 SQL injection in Apache Fineract

High 8.1 Published Updated

Attackers can inject SQL via the orderBy parameter to read or modify unauthorized data in Apache Fineract.

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-2018-1291?

CVE-2018-1291 is a high-severity SQL injection vulnerability in Apache Fineract, published on 20 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Apache Fineract 1.0.0, 0.6.0-incubating, 0.5.0-incubating, 0.4.0-incubating exposes different REST end points to query domain specific entities with a Query Parameter 'orderBy' which are appended directly with SQL statements. A hacker/user can inject/draft the 'orderBy' query parameter by way of the "order" param in such a way to read/update the data for which he doesn't have authorization.

Weakness: CWE-89

Which versions are affected by CVE-2018-1291?

It affects 1 product.

Products include Apache Fineract.

How do I fix CVE-2018-1291?

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

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

Sources

Also known as GHSA-7wqp-wr74-cqv2.

Is CVE-2018-1291 in your software?

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

Check your SBOMs for free