PT-2017-15099 · Ruby+1 · Ruby On Rails+1
Published
2017-12-29
·
Updated
2024-08-05
·
CVE-2017-17919
CVSS v3.1
8.1
High
| Vector | AV: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 'order' method allows remote attackers to execute arbitrary SQL commands via the
id desc parameter. The vendor disputes this issue, stating 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
order method with untrusted input until a patch is available. Avoid using the id desc parameter in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
RCE
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Ruby On Rails