Description
The openssl extension in Ruby 2.x does not properly maintain the state of process memory after a file is reopened, which allows remote attackers to spoof signatures within the context of a Ruby script that attempts signature verification after performing a certain sequence of filesystem operations. NOTE: this issue has been disputed by the Ruby OpenSSL team and third parties, who state that the original demonstration PoC contains errors and redundant or unnecessarily-complex code that does not appear to be related to a demonstration of the issue. As of 20140502, CVE is not aware of any public comment by the original researcher
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
adrienthebo/cve-2014-2734 ★ 1 · Apr 17, 2014
I think this CVE is full of lies and deceit and very confusing code.
-
gdisneyleugers/CVE-2014-2734 ★ 0 · Apr 16, 2014
Ruby OpenSSL CA Private Key Spoofing
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html
- 106006 vdb-entry
- https://news.ycombinator.com/item?id=7601973
- 66956 vdb-entry
- 20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC mailing-list
- https://gist.github.com/10446549
- https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/
- https://gist.github.com/emboss/91696b56cd227c8a0c13
- https://github.com/adrienthebo/cve-2014-2734/
- 20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC mailing-list