cbcvebase.
CVE-2019-5418
published 2019-03-27

CVE-2019-5418: 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…

PriorityP189high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2025-07-28
Exploited in the wild
EPSS
98.51%
99.9th percentile
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.

Affected

25 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianrails< rails 2:5.2.2.1+dfsg-1 (bookworm)rails 2:5.2.2.1+dfsg-1 (bookworm)
fedoraprojectfedora
opensuseleap
railsactionview>= 4.0.0 < 4.2.11.14.2.11.1
railsactionview>= 5.0.0 < 5.0.7.25.0.7.2
railsactionview>= 5.1.0 < 5.1.6.25.1.6.2
railsactionview>= 5.2.0 < 5.2.2.15.2.2.1
railshttps_github.com_rails_rails
railshttps_github.com_rails_rails
railshttps_github.com_rails_rails
railshttps_github.com_rails_rails
redhatcloudforms
redhatcloudforms
redhatsoftware_collections
rubyonrailsrails>= 0 < 2:5.2.2.1+dfsg-12:5.2.2.1+dfsg-1
rubyonrailsrails>= 0 < 2:5.2.2.1+dfsg-12:5.2.2.1+dfsg-1
rubyonrailsrails>= 0 < 2:5.2.2.1+dfsg-12:5.2.2.1+dfsg-1
rubyonrailsrails>= 0 < 2:5.2.2.1+dfsg-12:5.2.2.1+dfsg-1
rubyonrailsrails>= 0 < 2:4.2.6-1ubuntu0.1~esm22:4.2.6-1ubuntu0.1~esm2
rubyonrailsrails>= 0 < 2:4.2.10-0ubuntu4+esm22:4.2.10-0ubuntu4+esm2
rubyonrailsrails>= 3.0.0 < 4.2.11.14.2.11.1
rubyonrailsrails>= 5.0.0 < 5.0.7.25.0.7.2
rubyonrailsrails>= 5.1.0 < 5.1.6.25.1.6.2
rubyonrailsrails>= 5.2.0 < 5.2.2.15.2.2.1

Detection & IOCsextracted from sources · hover to see the quote

other../../../../../../../../etc/passwd{{
commandGET <target> with Accept header: <file>{{
  • Detect exploitation attempts by inspecting HTTP Accept headers for path traversal sequences (e.g., '../') combined with a trailing '{{' double-brace, which is the crafted payload pattern for this vulnerability.
  • Alert on HTTP responses with status 200 or 500 whose body matches 'root:.*:0:0:' — this indicates successful /etc/passwd disclosure via the crafted Accept header.
  • Use Shodan query 'cpe:"cpe:2.3:a:rubyonrails:rails"' to identify internet-exposed Rails instances potentially vulnerable to this CVE.
  • The vulnerability requires calls to 'render file:' in the Rails application combined with the malicious Accept header; prioritize detection on endpoints known to use file rendering.
  • Code execution cannot be ruled out if the attacker gains access to sensitive files (e.g., credentials, keys); monitor for follow-on access attempts after file disclosure.
  • ·The vulnerability is only exploitable when the Rails application uses 'render file:' in its controllers/views. Applications not using this pattern are not directly exploitable.
  • ·All Rails v3 releases are affected and have no vendor-supplied patch; discontinue use or apply compensating controls if running v3.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vulncheck7.5HIGH
cisa7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.