CVE-2018-1289 SQL injection in Apache Fineract
Attackers can inject SQL via orderBy and sortOrder parameters 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-1289?
CVE-2018-1289 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
In Apache Fineract versions 1.0.0, 0.6.0-incubating, 0.5.0-incubating, 0.4.0-incubating, the system exposes different REST end points to query domain specific entities with a Query Parameter 'orderBy' and 'sortOrder' which are appended directly with SQL statements. A hacker/user can inject/draft the 'orderBy' and 'sortOrder' query parameter 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-1289?
It affects 1 product.
Products include Apache Fineract.
How do I fix CVE-2018-1289?
No fix has been published for CVE-2018-1289 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-1289 being exploited?
There is no known exploitation of CVE-2018-1289 in the wild and no public exploit code.
Other vulnerabilities in Apache Fineract
Sources
Also known as GHSA-ffpg-cvcj-j959.