Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem before 2.4.4 for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.
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 |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=816352 | |
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html | vendor advisory |
http://www.openwall.com/lists/oss-security/2012/04/25/8 | mailing list |
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html | vendor advisory |
https://bugzilla.novell.com/show_bug.cgi?id=759092 | |
http://secunia.com/advisories/48970 | third party advisory vendor advisory |
https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f | patch exploit |
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html | vendor advisory |
http://www.openwall.com/lists/oss-security/2012/04/26/1 | mailing list |