7.5

CVE-2019-5418

Warnung
Exploit
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Rubyonrails ≫ Rails Version >= 3.0.0 < 4.2.11.1
Rubyonrails ≫ Rails Version >= 5.0.0 < 5.0.7.2
Rubyonrails ≫ Rails Version >= 5.1.0 < 5.1.6.2
Rubyonrails ≫ Rails Version >= 5.2.0 < 5.2.2.1
Debian ≫ Debian Linux Version 8.0
Redhat ≫ Cloudforms Version 4.7
Opensuse ≫ Leap Version 15.0
Fedoraproject ≫ Fedora Version 30
Redhat ≫ Cloudforms Version 4.6
Redhat ≫ Software Collections Version 1.0

07.07.2025: CISA Known Exploited Vulnerabilities (KEV) Catalog

Rails Ruby on Rails Path Traversal Vulnerability

Schwachstelle

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.

Beschreibung

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Erforderliche Maßnahmen
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 98.51% 0.999
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NIST 5 10 2.9
AV:N/AC:L/Au:N/C:P/I:N/A:N
CISA-ADP 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html
Third Party Advisory
Mailing List
http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure.html
Third Party Advisory
Exploit
VDB Entry
http://www.openwall.com/lists/oss-security/2019/03/22/1
Patch
Third Party Advisory
Mailing List
Mitigation
https://access.redhat.com/errata/RHSA-2019:0796
Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1147
Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1149
Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1289
Third Party Advisory
https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q
Permissions Required
https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html
Third Party Advisory
Mailing List
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/
Third Party Advisory
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
Patch
Vendor Advisory
Broken Link
https://www.exploit-db.com/exploits/46585/
Third Party Advisory
Exploit
VDB Entry
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/
Patch
Vendor Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-5418
US Government Resource