CVE-2013-2117
published 2013-08-09CVE-2013-2117: 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…
PriorityP428medium4.3CVSS 2.0
AVNACMAuNCPINAN
EPSS
1.76%
75.6th percentile
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.
Affected
30 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | cgit | — | — |
| jason_a_donenfeld | cgit | <= 0.9.1 | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
| lars_hjemli | cgit | — | — |
CVSS provenance
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
vendor_debian4.3LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hv7g-wx35-xj49: Directory traversal vulnerability in the cgit_parse_readme function in ui-summary
ghsa_unreviewed·2022-05-17
CVE-2013-2117 [MEDIUM] CWE-22 GHSA-hv7g-wx35-xj49: Directory traversal vulnerability in the cgit_parse_readme function in ui-summary
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.
Debian
CVE-2013-2117: cgit - Directory traversal vulnerability in the cgit_parse_readme function in ui-summar...
vendor_debian·2013·CVSS 4.3
CVE-2013-2117 [MEDIUM] CVE-2013-2117: cgit - Directory traversal vulnerability in the cgit_parse_readme function in ui-summar...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-2117 cgit: directory traversal [fedora-all]
bugzilla·2013-05-27·CVSS 4.3
CVE-2013-2117 [MEDIUM] CVE-2013-2117 cgit: directory traversal [fedora-all]
CVE-2013-2117 cgit: directory traversal [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects multiple supported v
Bugzilla
CVE-2013-2117 cgit: directory traversal [epel-all]
bugzilla·2013-05-27·CVSS 4.3
CVE-2013-2117 [MEDIUM] CVE-2013-2117 cgit: directory traversal [epel-all]
CVE-2013-2117 cgit: directory traversal [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affects multiple supporte
Bugzilla
CVE-2013-2117 cgit: directory traversal
bugzilla·2013-05-26·CVSS 4.3
CVE-2013-2117 [MEDIUM] CVE-2013-2117 cgit: directory traversal
CVE-2013-2117 cgit: directory traversal
From oss-security mailing list:
As mentioned in early messages to oss-sec, I've inherited
maintainership of the cgit codebase and am gradually auditing it.
Today I found a nasty directory traversal:
http://somehost/?url=/somerepo/about/../../../../etc/passwd
This should be pretty straightforward to categorize.
Exploitation looks like:
http://data.zx2c4.com/cgit-directory-traversal.png
I've committed a fix for it here:
http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
And this fix will be in the master branch and a new release will be made soon.
Cgit by default is not vulnerable to this, and the vulnerability only
exists when a user has configured cgit to use a readme file from a
filesystem filepath instead of
http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2013-08/msg00012.htmlhttp://lists.zx2c4.com/pipermail/cgit/2013-May/001394.htmlhttp://secunia.com/advisories/54186http://www.openwall.com/lists/oss-security/2013/05/27/3http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2013-08/msg00012.htmlhttp://lists.zx2c4.com/pipermail/cgit/2013-May/001394.htmlhttp://secunia.com/advisories/54186http://www.openwall.com/lists/oss-security/2013/05/27/3
2013-08-09
Published