Arbitrary JPQL Command Execution via Sort Function Call in Pivotal Spring Data JPA

Arbitrary JPQL Command Execution via Sort Function Call in Pivotal Spring Data JPA

CVE-2016-6652 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

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.

Learn more about our Web Application Penetration Testing UK.