CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-11235

In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
Publish Date : 2018-05-30 Last Update Date : 2020-05-02
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeDirectory traversalBypass a restriction or similar
CWE ID 22

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2018:1957: git security update (Important) oval:com.redhat.rhsa:def:20181957 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2018-11235

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 17.10 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
7 Application Git-scm GIT * * * * Version Details Vulnerabilities
8 Application Git-scm GIT 2.17.0 * * * Version Details Vulnerabilities
9 Application Gitforwindows GIT * * * * Version Details Vulnerabilities
10 OS Redhat Enterprise Linux 7.0 * * * Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Desktop 7.0 * * * Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Server 7.0 * * * Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Server Eus 7.5 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux Workstation 7.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Git-scm GIT 2
Gitforwindows GIT 1
Redhat Enterprise Linux 1
Redhat Enterprise Linux Desktop 1
Redhat Enterprise Linux Server 1
Redhat Enterprise Linux Server Eus 1
Redhat Enterprise Linux Workstation 1

- References For CVE-2018-11235

https://security.gentoo.org/glsa/201805-13
GENTOO GLSA-201805-13
https://usn.ubuntu.com/3671-1/
UBUNTU USN-3671-1
https://www.exploit-db.com/exploits/44822/
EXPLOIT-DB 44822
http://www.securityfocus.com/bid/104345
BID 104345 Git CVE-2018-11235 Arbitrary Code Execution Vulnerability Release Date:2018-06-14
http://www.securitytracker.com/id/1040991
SECTRACK 1040991
https://www.debian.org/security/2018/dsa-4212
DEBIAN DSA-4212
https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/
https://access.redhat.com/errata/RHSA-2018:1957
REDHAT RHSA-2018:1957
https://access.redhat.com/errata/RHSA-2018:2147
REDHAT RHSA-2018:2147
https://marc.info/?l=git&m=152761328506724&w=2
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
SUSE openSUSE-SU-2020:0598

- Metasploit Modules Related To CVE-2018-11235

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.