NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-6652
Summary

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.

Publication Date Oct. 6, 2016, 1:59 a.m.
Registration Date Jan. 26, 2021, 2:15 p.m.
Last Update Nov. 21, 2024, 11:56 a.m.
CVSS3.0 : MEDIUM
スコア 5.6
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:pivotal_software:spring_data_jpa:1.10.2:*:*:*:*:*:*:*
cpe:2.3:a:pivotal_software:spring_data_jpa:*:*:*:*:*:*:*:* 1.9.4
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Pivotal Spring Data JPA における SQL インジェクションの脆弱性
Title Pivotal Spring Data JPA における SQL インジェクションの脆弱性
Summary

Pivotal Spring Data JPA には、@Query アノテーションを使用する String クエリを定義するリポジトリを使用されることで、SQL インジェクションの脆弱性が存在します。

Possible impacts 攻撃者により、関数呼び出しを伴う sort インスタンスを介して、任意の JPQL コマンドを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Sept. 30, 2016, midnight
Registration Date Oct. 13, 2016, 11:41 a.m.
Last Update Oct. 13, 2016, 11:41 a.m.
Affected System
Pivotal Software, Inc.
Spring Data JPA 1.10.4 (Hopper SR4) 未満の 1.10.x
Spring Data JPA 1.9.6 (Gosling SR6) 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年10月13日]
  掲載
Feb. 17, 2018, 10:37 a.m.