Directory traversal vulnerability in the _do_attachment_move function in the AttachFile action (action/AttachFile.py) in MoinMoin 1.9.3 through 1.9.5 allows remote attackers to overwrite arbitrary files via a .. (dot dot) in a file name.
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://www.securityfocus.com/bid/57076 | vdb entry |
http://moinmo.in/SecurityFixes | vendor advisory |
http://secunia.com/advisories/51663 | third party advisory vendor advisory |
http://www.debian.org/security/2012/dsa-2593 | vendor advisory |
https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599 | |
http://secunia.com/advisories/51676 | third party advisory vendor advisory |
http://hg.moinmo.in/moin/1.9/rev/3c27131a3c52 | patch |
http://secunia.com/advisories/51696 | third party advisory vendor advisory |
http://ubuntu.com/usn/usn-1680-1 | vendor advisory |
http://www.openwall.com/lists/oss-security/2012/12/30/6 | mailing list |