6.8
MEDIUM CVSS 2.0
CVE-2016-6652
Pivotal Spring Data JPA SQL Injection Attack
Description

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.

INFO

Published Date :

Oct. 5, 2016, 4:59 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-6652 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pivotal_software spring_data_jpa
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • All MariaDB users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/mariadb-10.0.28' All MySQL users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/mysql-5.6.34'
Public PoC/Exploit Available at Github

CVE-2016-6652 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-6652 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

PoC for blind SQL injection bug found in Solita Webhack 2016.

Java

Updated: 3 years, 1 month ago
8 stars 0 fork 0 watcher
Born at : Aug. 25, 2016, 11:07 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-6652 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6652 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/93276
    Added Reference https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe
    Added Reference https://jira.spring.io/browse/DATAJPA-965
    Added Reference https://pivotal.io/security/cve-2016-6652
    Added Reference https://security.gentoo.org/glsa/201701-01
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201701-01 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/93276 [No Types Assigned]
  • CVE Translated by [email protected]

    Oct. 12, 2016

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 06, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:pivotal_software:spring_data_jpa:1.10.2:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_data_jpa:1.9.4:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
    Changed Reference Type https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe No Types Assigned https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe Patch
    Changed Reference Type https://pivotal.io/security/cve-2016-6652 No Types Assigned https://pivotal.io/security/cve-2016-6652 Vendor Advisory
    Changed Reference Type https://jira.spring.io/browse/DATAJPA-965 No Types Assigned https://jira.spring.io/browse/DATAJPA-965 Mitigation, Vendor Advisory
    Added CWE CWE-89
  • Initial Analysis by [email protected]

    Oct. 06, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR Configuration 1 OR *cpe:2.3:a:pivotal_software:spring_data_jpa:1.10.2:*:*:*:*:*:*:* *cpe:2.3:a:pivotal_software:spring_data_jpa:1.9.4:*:*:*:*:*:*:* (and previous)
    Changed Reference Type https://pivotal.io/security/cve-2016-6652 No Types Assigned https://pivotal.io/security/cve-2016-6652 Vendor Advisory
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    Changed Reference Type https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe No Types Assigned https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe Patch
    Added CWE CWE-89
    Changed Reference Type https://jira.spring.io/browse/DATAJPA-965 No Types Assigned https://jira.spring.io/browse/DATAJPA-965 Mitigation, Vendor Advisory
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.6
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.32 }} -0.04%

score

0.51687

percentile