Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2020-5257— Sort order SQL injection in Administrate

Quick assessment

Affected
thoughtbot administrate
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Administrate (rubygem) 0.13.0之前版本中存在SQL注入漏洞,该漏洞源于在将‘direction’参数内容注入到SQL查询语句之前,程序没有对其进行验证。攻击者可利用该漏洞查看、添加、修改或删除后端数据库中的信息。

CVSS 7.7 · High EPSS 0.90% · P58

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2020-5257

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sort order SQL injection in Administrate
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
数据查询逻辑中特殊元素的不当中和
Source: CVE Program / CVE List V5
Vulnerability Title
Administrate SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Administrate (rubygem) 0.13.0之前版本中存在SQL注入漏洞,该漏洞源于在将‘direction’参数内容注入到SQL查询语句之前,程序没有对其进行验证。攻击者可利用该漏洞查看、添加、修改或删除后端数据库中的信息。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
thoughtbot administrate < 0.13.0 -

II. Public POCs for CVE-2020-5257

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2020-5257

请登录查看更多情报信息。

Vendor Advisories for CVE-2020-5257 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2020-5257

No comments yet


Leave a comment