Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to `render file:` can cause arbitrary files on the target server to be rendered, disclosing the file contents.
In het kort
CVE-2019-5418 (Rails Ruby on Rails Path Traversal) heeft een CVSS 3.1-basisscore van 7.5, beoordeeld als hoog. CISA heeft deze op 7 jul 2025 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden. Opgelost in Rubyonrails Rails 4.2.11.1 of later.
Beschrijving
There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.
CVSS 3.1-ontleding
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGetroffen producten
- Redhat Cloudforms4.6 · 4.7
- Redhat Software Collections1.0
- Rubyonrails Rails≥ 3.0.0 < 4.2.11.1 · ≥ 5.0.0 < 5.0.7.2 · ≥ 5.1.0 < 5.1.6.2 · ≥ 5.2.0 < 5.2.2.1
- Debian Linux8.0
- Fedoraproject Fedora30
- Opensuse Leap15.0
Herstel
Opgelost in- Rubyonrails Rails≥ 4.2.11.1
Referenties
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html
- http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html
- https://access.redhat.com/errata/RHSA-2019:0796
- https://access.redhat.com/errata/RHSA-2019:1147
- https://access.redhat.com/errata/RHSA-2019:1149
- https://access.redhat.com/errata/RHSA-2019:1289
- https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q
- https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/
- https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
en nog 4 referenties
Gerelateerde CVE's
Misbruikte en kritieke kwetsbaarheden in hetzelfde product of van dezelfde leverancier.
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
