GHSA-2p5p-m353-833w
Vulnerability from github
Published
2020-03-13 21:05
Modified
2021-01-08 20:25
Severity ?
VLAI Severity ?
Summary
Sort order SQL injection in Administrate
Details
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.
{ "affected": [ { "package": { "ecosystem": "RubyGems", "name": "administrate" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.13.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-5257" ], "database_specific": { "cwe_ids": [ "CWE-943" ], "github_reviewed": true, "github_reviewed_at": "2020-03-13T21:05:20Z", "nvd_published_at": null, "severity": "HIGH" }, "details": "In Administrate (rubygem) before version 0.13.0, when sorting by attributes on a dashboard,\nthe direction parameter was not validated before being interpolated into the SQL query.\nThis could present a SQL injection if the attacker were able to modify the `direction` parameter and bypass ActiveRecord SQL protections.\n\nWhilst this does have a high-impact, to exploit this you need access to the Administrate dashboards, which we would expect to be behind authentication.\n\nThis is patched in wersion 0.13.0.", "id": "GHSA-2p5p-m353-833w", "modified": "2021-01-08T20:25:54Z", "published": "2020-03-13T21:05:44Z", "references": [ { "type": "WEB", "url": "https://github.com/thoughtbot/administrate/security/advisories/GHSA-2p5p-m353-833w" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5257" }, { "type": "WEB", "url": "https://github.com/thoughtbot/administrate/commit/3ab838b83c5f565fba50e0c6f66fe4517f98eed3" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-2p5p-m353-833w" }, { "type": "WEB", "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/administrate/CVE-2020-5257.yml" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Sort order SQL injection in Administrate" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…