PT-2019-1854 · Ruby On Rails+3 · Action View+3

Notoriousrebel

·

Published

2019-03-13

·

Updated

2025-09-29

·

CVE-2019-5418

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Action View versions prior to 5.2.2.1 Action View versions prior to 5.1.6.2 Action View versions prior to 5.0.7.2 Action View versions prior to 4.2.11.1 Action View version 3
Description There is a File Content Disclosure issue in Action View where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed. This can be exploited by a remote attacker to read arbitrary files. The issue is related to errors in handling HTTP Accept headers when using the render file handler in the code. The impact is limited to calls to render that render file contents without a specified accept format.
Recommendations For Action View versions prior to 5.2.2.1, upgrade to version 5.2.2.1 or later. For Action View versions prior to 5.1.6.2, upgrade to version 5.1.6.2 or later. For Action View versions prior to 5.0.7.2, upgrade to version 5.0.7.2 or later. For Action View versions prior to 4.2.11.1, upgrade to version 4.2.11.1 or later. For Action View version 3, consider applying a monkey patch in an initializer to mitigate the issue, such as the formats filter.rb patch. As a temporary workaround, consider specifying a format for file rendering, like render file: "#{Rails.root}/some/file", formats: [:html].

Exploit

Fix

Path traversal

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2019-1438
BDU:2019-01506
CVE-2019-5418
DLA-1739-1
GHSA-86G5-2WH3-GC9J
OPENSUSE-SU-2019:1344-1
OPENSUSE-SU-2019_1344-1
OPENSUSE-SU-2020:1993-1
OPENSUSE-SU-2020:2000-1
OPENSUSE-SU-2020_1993-1
OPENSUSE-SU-2020_2000-1
OPENSUSE-SU-2024:11312-1
OPENSUSE-SU-2024:11313-1
OPENSUSE-SU-2024:11314-1
OPENSUSE-SU-2024:11315-1
OPENSUSE-SU-2024:11316-1
OPENSUSE-SU-2024:11317-1
OPENSUSE-SU-2024:11318-1
OPENSUSE-SU-2024:11319-1
OPENSUSE-SU-2024:11320-1
OPENSUSE-SU-2024:11321-1
OPENSUSE-SU-2024:11322-1
OPENSUSE-SU-2024:11323-1
OPENSUSE-SU-2024:11324-1
OPENSUSE-SU-2024:11325-1
OPENSUSE-SU-2024:11326-1
OPENSUSE-SU-2024:11327-1
OPENSUSE-SU-2024:11328-1
OPENSUSE-SU-2024:11329-1
OPENSUSE-SU-2024:11330-1
OPENSUSE-SU-2024:11331-1
OPENSUSE-SU-2024:11347-1
OPENSUSE-SU-2024:11348-1
OPENSUSE-SU-2024:11350-1
OPENSUSE-SU-2024:11351-1
OPENSUSE-SU-2024:11818-1
OPENSUSE-SU-2024:11819-1
OPENSUSE-SU-2024:11820-1
OPENSUSE-SU-2024:11821-1
OPENSUSE-SU-2024:11822-1
OPENSUSE-SU-2024:11823-1
OPENSUSE-SU-2024:11824-1
OPENSUSE-SU-2024:11825-1
OPENSUSE-SU-2024:11826-1
OPENSUSE-SU-2024:11827-1
OPENSUSE-SU-2024:11828-1
OPENSUSE-SU-2024:11831-1
OPENSUSE-SU-2024:11832-1
RHSA-2019:0796
RHSA-2019:1147
RHSA-2019:1149
RHSA-2019:1289
SUSE-SU-2019:0915-1
SUSE-SU-2020:3036-1
SUSE-SU-2020:3147-1
SUSE-SU-2020:3160-1
SUSE-SU-2020_3036-1
SUSE-SU-2020_3147-1
SUSE-SU-2020_3160-1
USN-7646-1

Affected Products

Alt Linux
Action View
Suse
Ubuntu