CVE-2020-5257 – administrate
Package
Manager: gem
Name: administrate
Vulnerable Version: >=0 <0.13.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00186 pctl0.40621
Details
Sort order SQL injection in Administrate 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.
Metadata
Created: 2020-03-13T21:05:44Z
Modified: 2021-01-08T20:25:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-2p5p-m353-833w/GHSA-2p5p-m353-833w.json
CWE IDs: ["CWE-943"]
Alternative ID: GHSA-2p5p-m353-833w
Finding: F106
Auto approve: 1