製品・ソフトウェアに関する情報
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.
CVSS3.0 : 警告
Score 5.6
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
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.

NVD Vulnerability Information
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.
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