# N/A
## 漏洞概述
Ruby on Rails中的active_support/core_ext/hash/conversions.rb文件未能正确限制字符串值的类型转换,导致攻击者可能通过YAML或Symbol类型转换发起对象注入攻击,进而执行任意代码或造成资源耗尽。
## 影响版本
- 2.3.0 - 2.3.14
- 3.0.0 - 3.0.18
- 3.1.0 - 3.1.9
- 3.2.0 - 3.2.10
## 细节
攻击者可以通过Action Pack支持的YAML类型转换或Symbol类型转换,利用未受限制的字符串值类型转换机制,发起对象注入攻击,导致任意代码执行或通过嵌套的XML实体引用造成严重的内存和CPU资源消耗。
## 影响
- 可能导致远程代码执行
- 可能导致资源耗尽(内存和CPU资源消耗增加)
# | POC 描述 | 源链接 | 神龙链接 |
---|---|---|---|
1 | Silly Rails App to demonstrate vuln CVE-2013-0156 | https://github.com/terracatta/name_reverser | POC详情 |
2 | Inspect all of your heroku apps to see if they are running a vulnerable version of Rails | https://github.com/heroku/heroku-CVE-2013-0156 | POC详情 |
3 | crack repo from jnunemaker but with version 0.1.8 and rails CVE-2013-0156 vulnerability fixed | https://github.com/josal/crack-0.1.8-fixed | POC详情 |
4 | Bootstrapped Rails 3.2.10 to test the remote code exploit CVE-2013-0156 | https://github.com/bsodmike/rails-exploit-cve-2013-0156 | POC详情 |
5 | Arbitrary deserialization that can be used to trigger SQL injection and even Code execution | https://github.com/R3dKn33-zz/CVE-2013-0156 | POC详情 |
6 | Pseudo shell for CVE-2013-0156. | https://github.com/Jjdt12/kuang_grade_mk11 | POC详情 |
7 | This script is specifically designed to solve the challenge on PentesterLab for the CVE-2013-0156 exploit | https://github.com/oxBEN10/CVE-2013-0156 | POC详情 |
8 | This script is specifically designed to solve the challenge on PentesterLab for the CVE-2013-0156 exploit | https://github.com/oxben10/CVE-2013-0156 | POC详情 |
9 | Infoblox NetMRI virtual appliances before version 7.6.1 are vulnerable to remote code execution (RCE) due to the use of a hardcoded Ruby on Rails session cookie secret key. The Rails web component deserializes session cookies if the signing key is valid. Attackers with knowledge of this key can craft malicious session cookies that are deserialized by the application, leading to arbitrary code execution. This vulnerability is related to the known Ruby on Rails deserialization flaw (CVE-2013-0156). Infoblox did not assign a new CVE for this issue, as it is a result of the underlying Rails vulnerability. | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/infoblox/infoblox-netmri-rails-cookie-rce.yaml | POC详情 |
暂无评论