nday
CVE-2018-17456

Ansible: command injectionTitle composed by nday; the CVE record has none.

A public PoC appeared 1 day before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-88, stated by NVD's analysts
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules exploit/multi/http/git_submodule_url_exec
Exploit-DB
Exploit-DB entries 45548, 45631
Ansible
CPE names NVD's analysts give as vulnerable: a:redhat:ansible_tower
developer / CI tooling
CPE names NVD's analysts give as vulnerable: a:redhat:ansible_towerthe product type of Ansible in nday's product registry
stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-10-06T14:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2018-10-05, date only +1 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

Original text of the CVE record (cvelist), shown as published.

Event log

2018-10-05date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Git - '.gitmodules' Submodule Arbitrary Code Execution (PoC)” (EDB-45548).

src exploitdb 45548 · nday , bulk import · raw
{
  "id": 23947,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/45548",
  "occurred_at": "2018-10-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "45548",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/45548",
    "file": "exploits/linux/local/45548.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Git - '.gitmodules' Submodule Arbitrary Code Execution (PoC)",
    "author": "Junio C Hamano",
    "edb_id": 45548,
    "cve_ids": [
      "CVE-2018-17456"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-10-08",
    "date_updated": "2018-10-17",
    "date_published": "2018-10-05"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 66038,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-17456",
  "occurred_at": "2018-10-06T14:00:00Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2018-10-06T14:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2018-10-16date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Git Submodule - Arbitrary Code Execution” (EDB-45631).

src exploitdb 45631 · nday , bulk import · raw
{
  "id": 23946,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/45631",
  "occurred_at": "2018-10-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "45631",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/45631",
    "file": "exploits/linux/local/45631.md",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Git Submodule - Arbitrary Code Execution",
    "author": "joernchen",
    "edb_id": 45631,
    "cve_ids": [
      "CVE-2018-17456"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-10-17",
    "date_updated": "2018-10-17",
    "date_published": "2018-10-16"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/git_submodule_url_exec (Malicious Git HTTP Server For CVE-2018-17456). The source gives no release time for the module.

src metasploit exploit/multi/http/git_submodule_url_exec · nday , bulk import · raw
{
  "id": 51186,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_url_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/git_submodule_url_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_url_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/git_submodule_url_exec.rb",
    "rank": 600,
    "check": false,
    "title": "Malicious Git HTTP Server For CVE-2018-17456",
    "cve_ids": [
      "CVE-2018-17456"
    ],
    "fullname": "exploit/multi/http/git_submodule_url_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-06-20 13:20:44 +0000",
    "vuln_disclosure_date": "2018-10-05"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.