Rack 'Rack::File()' Insecure Temporary File Creation Vulnerability
BID:57862
Info
Rack 'Rack::File()' Insecure Temporary File Creation Vulnerability
| Bugtraq ID: | 57862 |
| Class: | Race Condition Error |
| CVE: |
CVE-2013-0262 |
| Remote: | No |
| Local: | Yes |
| Published: | Feb 08 2013 12:00AM |
| Updated: | Apr 13 2015 09:28PM |
| Credit: | Ben Murphy |
| Vulnerable: |
Redhat OpenShift Enterprise 0 Gentoo Linux Christian Neukirchen Rack 1.5.1 Christian Neukirchen Rack 1.4.4 Christian Neukirchen Rack 1.4.0 |
| Not Vulnerable: |
Christian Neukirchen Rack 1.5.2 Christian Neukirchen Rack 1.4.5 |
Discussion
Rack 'Rack::File()' Insecure Temporary File Creation Vulnerability
Rack is prone to a vulnerability because it creates temporary files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks.
Successfully mounting a symlink attack may allow the attacker to gain access to sensitive information. Other attacks may also be possible.
Rack is prone to a vulnerability because it creates temporary files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks.
Successfully mounting a symlink attack may allow the attacker to gain access to sensitive information. Other attacks may also be possible.
Exploit / POC
Rack 'Rack::File()' Insecure Temporary File Creation Vulnerability
An attacker can use readily available commands to exploit this issue.
An attacker can use readily available commands to exploit this issue.
References
Rack 'Rack::File()' Insecure Temporary File Creation Vulnerability
References:
References:
- CVE-2013-0262: Rack versions 1.4.0-1.5.1, Symlink path traversal. (Ben Murphy)
- Rack Homepage (Christian Neukirchen)
- Moderate: Red Hat OpenShift Enterprise 1.1.2 update (Red Hat)