Directory traversal vulnerability in ang/shared/flags.php in AN Guestbook 0.7.8, when register_globals is enabled, allows remote attackers to read arbitrary files via a .. (dot dot) in the g_lang 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 |
---|---|
http://www.exploit-db.com/exploits/9013 | exploit |
http://www.securityfocus.com/bid/35486 | vdb entry |
http://www.attrition.org/pipermail/vim/2009-June/002196.html | mailing list exploit |