SB2013080901 - Path traversal in cgit
Published: August 9, 2013 Updated: July 28, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Path traversal (CVE-ID: CVE-2013-2117)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences 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,. A remote authenticated attacker can send a specially crafted HTTP request and remote attackers to read arbitrary files via a . (dot dot) in the url parameter.
Remediation
Install update from vendor's website.
References
- http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
- http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html
- http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html
- http://secunia.com/advisories/54186
- http://www.openwall.com/lists/oss-security/2013/05/27/3