CVE-2018-14912 Path traversal in n/a

High 7.5 Published Updated

An attacker can read arbitrary files via directory traversal in CGit when HTTP cloning is enabled, requiring an upgrade to fix.

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

What is CVE-2018-14912?

CVE-2018-14912 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 3 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http-clone=1` is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Weakness: CWE-22

Which versions are affected by CVE-2018-14912?

It affects 2 products.

Linux distribution packages (1)
cgit openSUSE:TumbleweedAll versions1.2.3-1.10

Products include Cgit Project Cgit, Debian Debian Linux.

How do I fix CVE-2018-14912?

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-2018-14912 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-14912 exists.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 1 Nuclei template.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-14912, DEBIAN-CVE-2018-14912, DLA-1459-1, DSA-4263-1, GHSA-46c3-xc8j-9qg7, MGASA-2018-0351 and 3 more.

Is CVE-2018-14912 in your software?

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

Check your SBOMs for free