Directory traversal vulnerability in DirHandler (lib/mongrel/handlers.rb) in Mongrel 1.0.4 and 1.1.x before 1.1.3 allows remote attackers to read arbitrary files via an HTTP request containing double-encoded sequences (".%252e").
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://rubyforge.org/pipermail/mongrel-users/2007-December/004736.html | mailing list exploit |
http://mongrel.rubyforge.org/news.html | |
http://www.securityfocus.com/bid/27133 | vdb entry |
http://secunia.com/advisories/28323 | third party advisory |
http://osvdb.org/39866 | vdb entry |
http://www.us-cert.gov/cas/techalerts/TA08-150A.html | third party advisory us government resource |
http://rubyforge.org/pipermail/mongrel-users/2007-December/004742.html | mailing list |
http://secunia.com/advisories/30430 | third party advisory |
http://lists.apple.com/archives/security-announce/2008//May/msg00001.html | vendor advisory |
http://www.vupen.com/english/advisories/2008/1697 | vdb entry |
http://rubyforge.org/pipermail/mongrel-users/2007-December/004743.html | mailing list |
http://rubyforge.org/pipermail/mongrel-users/2007-December/004733.html | mailing list exploit |