PT-2018-12796 · Cgit+1 · Cgit+1

Jann Horn

·

Published

2018-08-03

·

Updated

2024-06-15

·

CVE-2018-14912

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions CGit versions prior to 1.2.1
Description The issue is related to a directory traversal vulnerability. This occurs when the enable-http-clone=1 setting is not turned off, allowing for unauthorized access to files outside the intended directory. An example of exploitation is through a request like cgit/cgit.cgi/git/objects/?path=../.
Recommendations For versions prior to 1.2.1, update to version 1.2.1 or later to resolve the issue. As a temporary workaround, consider turning off the enable-http-clone=1 setting to minimize the risk of exploitation.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-14912
DLA-1459-1
DSA-4263-1
MGASA-2018-0351
OPENSUSE-SU-2018_2308-1
OPENSUSE-SU-2018_2313-1
OPENSUSE-SU-2024:10679-1

Affected Products

Cgit
Suse