Rails Arbitrary File Content Disclosure

high Web App Scanning Plugin ID 98716

Synopsis

Rails Arbitrary File Content Disclosure

Description

A File disclosure vulnerability has been identified on this Rails Application.

This vulnerabilities exists in Action View in rails (versions < 5.2.2.1, < 5.1.6.2, 5.0.7.2, < 4.22.11.1 or < 6.0.0.beta3) whereby a remote, unauthenticated attacker can read the contents of arbitrary files on the target system using a maliciously crafted header.

Solution

Update ruby to 5.2.2.1, 5.1.6.2, 5.0.7.2, 4.2.11.1, 6.0.0.beta3 or newer.

See Also

https://github.com/mpgn/CVE-2019-5418

https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/

Plugin Details

Severity: High

ID: 98716

Type: remote

Published: 10/8/2019

Updated: 9/7/2021

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2019-5418

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS Score Source: CVE-2019-5418

Vulnerability Information

CPE: cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2019-5418