PT-2017-15098 · Ruby+1 · Ruby On Rails+1

Published

2017-12-29

·

Updated

2024-08-05

·

CVE-2017-17917

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions 5.1.4 and earlier
Description A SQL injection issue in the 'where' method allows remote attackers to execute arbitrary SQL commands via the id parameter. The vendor disputes this issue, citing that the method is not intended for use with untrusted input.
Recommendations For Ruby on Rails versions 5.1.4 and earlier, as a temporary workaround, consider restricting the use of the where method with untrusted input until a patch is available. Avoid using the id parameter in the affected method to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2017-17917

Affected Products

Debian
Ruby On Rails