Vulnerability Details : CVE-2018-14912
Public exploit exists!
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.
Vulnerability category: Directory traversal
Products affected by CVE-2018-14912
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:cgit_project:cgit:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-14912
94.99%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2018-14912
-
cgit Directory Traversal
Disclosure Date: 2018-08-03First seen: 2020-04-26auxiliary/scanner/http/cgit_traversalThis module exploits a directory traversal vulnerability which exists in cgit < 1.2.1 cgit_clone_objects(), reachable when the configuration flag enable-http-clone is set to 1 (default). Authors: - Google Project Zero - Dhiraj Mishra
CVSS scores for CVE-2018-14912
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-14912
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-14912
-
https://lists.debian.org/debian-lts-announce/2018/08/msg00005.html
[SECURITY] [DLA-1459-1] cgit security updateThird Party Advisory
-
https://bugs.chromium.org/p/project-zero/issues/detail?id=1627
1627 - cgit: directory traversal in cgit_clone_objects() - project-zero - MonorailExploit;Issue Tracking;Third Party Advisory
-
https://www.exploit-db.com/exploits/45195/
cgit 1.2.1 - Directory Traversal (Metasploit)Exploit;Third Party Advisory;VDB Entry
-
https://www.debian.org/security/2018/dsa-4263
Debian -- Security Information -- DSA-4263-1 cgitThird Party Advisory
-
https://lists.zx2c4.com/pipermail/cgit/2018-August/004176.html
[ANNOUNCE] CGIT v1.2.1 ReleasedVendor Advisory
Jump to