First published: Wed Oct 05 2016(Updated: )
SQL injection vulnerability in Pivotal Spring Data JPA before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper SR4), when used with a repository that defines a String query using the @Query annotation, allows attackers to execute arbitrary JPQL commands via a sort instance with a function call.
Credit: security_alert@emc.com
Affected Software | Affected Version | How to fix |
---|---|---|
Pivotal Software Spring Data Jpa | <=1.9.4 | |
Pivotal Software Spring Data Jpa | =1.10.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-6652 has been classified as a high severity vulnerability due to its potential for executing arbitrary JPQL commands.
To fix CVE-2016-6652, upgrade Pivotal Spring Data JPA to version 1.9.6 or higher, or 1.10.4 or higher.
CVE-2016-6652 affects Pivotal Spring Data JPA versions before 1.9.6 and 1.10.x before 1.10.4.
In the context of CVE-2016-6652, SQL injection allows attackers to manipulate JPQL queries through a vulnerable repository's string query.
Yes, CVE-2016-6652 can be exploited remotely if an attacker can send specially crafted requests to a vulnerable application.