Rails Ruby on Rails Path Traversal Vulnerability
CVSS score
—
EPSS probability
%98.5
Risk score
—
Published
1 y ago
Public Exploits · GitHub and Metasploit Intelligence
This tab scans the sources that NVD labels as exploits, GitHub repositories matching the CVE identifier and Rapid7 Metasploit Framework modules. Only links to sources that were actually found are shown.
Automated Ruby on Rails doubletap RCE (CVE-2019-5418 + CVE-2019-5420) in pure Python, using the ERB#def_module gadget for modern Ruby.
Vulhub rails/CVE-2019-5418: Ruby on Rails Accept Header File Disclosure (CVE-2019-5418), run with Isoloom
RCE on Rails 5.2.2 using a path traversal (CVE-2019-5418) and a deserialization of Ruby objects (CVE-2019-5420)
Ruby on Rails是一个 Web 应用程序框架,是一个相对较新的 Web 应用程序框架,构建在 Ruby 语言之上。这个漏洞主要是由于Ruby on Rails使用了指定参数的render file来渲染应用之外的视图,我们可以通过修改访问某控制器的请求包,通过“…/…/…/…/”来达到路径穿越的目的,然后再通过“{{”来进行模板查询路径的闭合,使得所要访问的文件被当做外部模板来解析。
CVE-2019-5418 - File Content Disclosure on Ruby on Rails
Rails 5.2.1 - Arbitrary File Content Disclosure
Nuclei: Rails File Content Disclosure
Similar Vulnerabilities
rubygem-actionpack: directory traversal flaw in Action View
rubygem-actionpack: directory traversal issue
Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing
Rails Active Storage has possible Path Traversal in DiskService
rails-html-sanitizer: Possible XSS vulnerability with certain configurations
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2019-5418"