CVE-2013-2117 Path traversal in n/a

Medium 4.3 Published Updated

Remote attackers can read arbitrary files via path traversal in cgit when a readme file is configured as a filesystem path.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-2117?

CVE-2013-2117 is a medium-severity path traversal vulnerability in n/a, published on 9 Aug 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2013-2117?

It affects 2 products.

Products include Jason a Donenfeld Cgit, Lars Hjemli Cgit.

How do I fix CVE-2013-2117?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2013-2117 being exploited?

There is no known exploitation of CVE-2013-2117 in the wild and no public exploit code.

Sources

Also known as GHSA-hv7g-wx35-xj49.

Is CVE-2013-2117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free