CVE-2018-14912
HIGH EXPLOITED NUCLEIcgit < 1.2.1 - Path Traversal via git/objects/?path=../ Request
Title source: llmExploitation Summary
CVE-2018-14912 has been observed exploited in the wild (reported by VulnCheck KEV).
EIP tracks 2 public exploits from researchers including Dhiraj Mishra, Google Project Zero, Dhiraj Mishra, including a Metasploit module auxiliary/scanner/http/cgit_traversal.
A Nuclei detection template is also available.
AI-analyzed exploit summary This Metasploit module exploits a directory traversal vulnerability in cgit < 1.2.1 via the `cgit_clone_objects()` function when `enable-http-clone` is enabled. It reads arbitrary files by manipulating the `path` parameter in a GET request.
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.
Exploits (2)
This Metasploit module exploits a directory traversal vulnerability in cgit < 1.2.1 via the `cgit_clone_objects()` function when `enable-http-clone` is enabled. It reads arbitrary files by manipulating the `path` parameter in a GET request.
This Metasploit module exploits a directory traversal vulnerability in cgit versions prior to 1.2.1, allowing unauthorized file reads via the `enable-http-clone` feature. It sends a crafted HTTP GET request with traversal sequences to retrieve arbitrary files from the server.
Nuclei Templates (1)
http.title:"git repository browser"
title="git repository browser"
References (5)
Scores
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N