Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2020-5257

7.7 · HIGH
Published Mar 13, 2020 thoughtbot CWE-943 EPSS 0.90% (57th pctl)

Overview

CVE-2020-5257 is a high-severity vulnerability affecting thoughtbot administrate. It was published on March 13, 2020 and has a CVSS 3.1 base score of 7.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from thoughtbot. Update administrate to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
thoughtbot administrate >= 0, < 0.13.0 Affected

Frequently Asked Questions

What is CVE-2020-5257?

CVE-2020-5257 is a high-severity vulnerability affecting thoughtbot administrate. It was published on March 13, 2020 and has a CVSS 3.1 base score of 7.7 (HIGH).

How severe is CVE-2020-5257?

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2020-5257?

Check the references section for vendor advisories and patches from thoughtbot. Update administrate to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2020-5257?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-5257 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.