Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url 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://secunia.com/advisories/54186 | third party advisory vendor advisory |
http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6 | vendor advisory |
http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html | vendor advisory |
http://www.openwall.com/lists/oss-security/2013/05/27/3 | mailing list |
http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html | mailing list |
http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html | vendor advisory |