Directory traversal vulnerability in controller/concerns/render_redirect.rb in the Wicked gem before 1.0.1 for Ruby allows remote attackers to read arbitrary files via a %2E%2E%2F (encoded dot dot slash) in the step.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://secunia.com/advisories/55151 | third party advisory vendor advisory |
https://github.com/schneems/wicked/commit/fe31bb2533fffc9d098c69ebeb7afc3b80509f53 | patch exploit |
https://exchange.xforce.ibmcloud.com/vulnerabilities/87783 | vdb entry |
http://www.securityfocus.com/bid/62891 | vdb entry |
http://seclists.org/oss-sec/2013/q4/43 | patch mailing list |