NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-5257
Summary

In Administrate (rubygem) before version 0.13.0, when sorting by attributes on a dashboard, the direction parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the `direction` parameter and bypass ActiveRecord SQL protections. Whilst this does have a high-impact, to exploit this you need access to the Administrate dashboards, which we would expect to be behind authentication. This is patched in wersion 0.13.0.

Publication Date March 14, 2020, 6:15 a.m.
Registration Date Jan. 26, 2021, 11:59 a.m.
Last Update Nov. 21, 2024, 2:33 p.m.
CVSS3.1 : HIGH
スコア 8.1
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.5
Vector AV:N/AC:L/Au:S/C:P/I:P/A:N
攻撃元区分(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:thoughtbot:administrate:*:*:*:*:*:ruby:*:* 0.13.0
Related information, measures and tools
Common Vulnerabilities List

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

Administrate (rubygem) には、SQL インジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

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

Publication Date March 13, 2020, midnight
Registration Date March 31, 2020, 10:30 a.m.
Last Update March 31, 2020, 10:30 a.m.
Affected System
thoughtbot
Administrate 0.13.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2020年03月31日]
  掲載
March 31, 2020, 10:30 a.m.