CVE-2018-1000161 (GCVE-0-2018-1000161)

Vulnerability from cvelistv5 – Published: 2018-04-18 19:00 – Updated: 2024-08-05 12:33
VLAI
Summary
nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7.
CWE
  • n/a
References
URL Tags
https://nmap.org/changelog.html x_refsource_MISC
Date Public
2018-04-18 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T12:33:49.471Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://nmap.org/changelog.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "dateAssigned": "2018-04-06T00:00:00.000Z",
      "datePublic": "2018-04-18T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-04-18T18:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://nmap.org/changelog.html"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "DATE_ASSIGNED": "2018-04-06T14:09:26.583532",
          "DATE_REQUESTED": "2018-03-27T14:18:58",
          "ID": "CVE-2018-1000161",
          "REQUESTER": "ocve@wolke7.net",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://nmap.org/changelog.html",
              "refsource": "MISC",
              "url": "https://nmap.org/changelog.html"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2018-1000161",
    "datePublished": "2018-04-18T19:00:00.000Z",
    "dateReserved": "2018-03-27T00:00:00.000Z",
    "dateUpdated": "2024-08-05T12:33:49.471Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2018-1000161",
      "date": "2026-09-22",
      "epss": "0.01045",
      "percentile": "0.62677"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:6.49:beta6:*:*:*:*:*:*",
                  "matchCriteriaId": "87A2B5F1-2033-411C-83E3-4EDEC00E289B",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.00:*:*:*:*:*:*:*",
                  "matchCriteriaId": "EE253986-A47A-4D92-83B1-5014A2208D22",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.01:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B2EB4EC8-8270-4675-9514-AF3668419D09",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.10:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1E553C8B-8EBD-4846-A7A1-2454DD57601C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.11:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6A7A6DBD-F0F2-4205-9B98-E25809A6E87E",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.12:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4D560418-318D-4855-BA20-85D1B6562F3C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.25:beta1:*:*:*:*:*:*",
                  "matchCriteriaId": "2BBB311A-7E25-4AE3-833D-C1FEA784A91C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.25:beta2:*:*:*:*:*:*",
                  "matchCriteriaId": "ADF8E1F6-BE1C-4601-A6CF-4D5582C6C6AB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.30:*:*:*:*:*:*:*",
                  "matchCriteriaId": "FB1A26D7-A223-45F3-A9D5-42C08324B966",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.31:*:*:*:*:*:*:*",
                  "matchCriteriaId": "ABABCD73-B714-4970-8EAA-FF2AB3A225DC",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.40:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F8F8C0C9-00B8-4BA9-BA8B-D0FB7A775350",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.50:*:*:*:*:*:*:*",
                  "matchCriteriaId": "A5F4345A-DF4F-4E1A-A313-B285D53981C4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:nmap:nmap:7.60:*:*:*:*:*:*:*",
                  "matchCriteriaId": "10541C69-BE34-4F2F-8261-9C4D7FB0CAED",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7."
        },
        {
          "lang": "es",
          "value": "nmap, de la versi\u00f3n 6.49BETA6 hasta la 7.60, hasta e incluyendo la revisi\u00f3n SVN 37147, contiene una vulnerabilidad de salto de directorio de salto de directorio en el script NSE http-fetch que puede resultar en la sobrescritura de archivos seg\u00fan el usuario lo ejecuta. Este ataque parece ser explotable mediante una v\u00edctima que ejecuta el script NSE http-fetch contra un sitio web malicioso. La vulnerabilidad parece haber sido solucionada en la versi\u00f3n 7.7."
        }
      ],
      "id": "CVE-2018-1000161",
      "lastModified": "2024-11-21T03:39:49.383",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "LOW",
            "cvssData": {
              "accessComplexity": "MEDIUM",
              "accessVector": "NETWORK",
              "authentication": "SINGLE",
              "availabilityImpact": "NONE",
              "baseScore": 3.5,
              "confidentialityImpact": "NONE",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 6.8,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": true
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.7,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
              "version": "3.0"
            },
            "exploitabilityScore": 2.1,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2018-04-18T19:29:00.503",
      "references": [
        {
          "source": "cve@mitre.org",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://nmap.org/changelog.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://nmap.org/changelog.html"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-22"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:6.49:beta6:*:*:*:*:*:*",
                    "matchCriteriaId": "87A2B5F1-2033-411C-83E3-4EDEC00E289B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.00:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EE253986-A47A-4D92-83B1-5014A2208D22",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.01:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B2EB4EC8-8270-4675-9514-AF3668419D09",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1E553C8B-8EBD-4846-A7A1-2454DD57601C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6A7A6DBD-F0F2-4205-9B98-E25809A6E87E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4D560418-318D-4855-BA20-85D1B6562F3C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.25:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "2BBB311A-7E25-4AE3-833D-C1FEA784A91C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.25:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "ADF8E1F6-BE1C-4601-A6CF-4D5582C6C6AB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.30:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FB1A26D7-A223-45F3-A9D5-42C08324B966",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.31:*:*:*:*:*:*:*",
                    "matchCriteriaId": "ABABCD73-B714-4970-8EAA-FF2AB3A225DC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.40:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F8F8C0C9-00B8-4BA9-BA8B-D0FB7A775350",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.50:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A5F4345A-DF4F-4E1A-A313-B285D53981C4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nmap:nmap:7.60:*:*:*:*:*:*:*",
                    "matchCriteriaId": "10541C69-BE34-4F2F-8261-9C4D7FB0CAED",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7."
          },
          {
            "lang": "es",
            "value": "nmap, de la versi\u00f3n 6.49BETA6 hasta la 7.60, hasta e incluyendo la revisi\u00f3n SVN 37147, contiene una vulnerabilidad de salto de directorio de salto de directorio en el script NSE http-fetch que puede resultar en la sobrescritura de archivos seg\u00fan el usuario lo ejecuta. Este ataque parece ser explotable mediante una v\u00edctima que ejecuta el script NSE http-fetch contra un sitio web malicioso. La vulnerabilidad parece haber sido solucionada en la versi\u00f3n 7.7."
          }
        ],
        "id": "CVE-2018-1000161",
        "lastModified": "2024-11-21T03:39:49.383",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "LOW",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "NETWORK",
                "authentication": "SINGLE",
                "availabilityImpact": "NONE",
                "baseScore": 3.5,
                "confidentialityImpact": "NONE",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 6.8,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": true
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
                "version": "3.0"
              },
              "exploitabilityScore": 2.1,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2018-04-18T19:29:00.503",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://nmap.org/changelog.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://nmap.org/changelog.html"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-22"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T17:11:38+00:00",
      "cve": "CVE-2018-1000161",
      "id": "CVE-2018-1000161",
      "initial_release_date": "2018-03-20T00:00:00+00:00",
      "product_status:known_not_affected": "8",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "nmap: directory traversal in the way the non-default http-fetch script sanitized URLs",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-1000161.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-02T16:52:42Z",
      "cve": "CVE-2018-1000161",
      "id": "CVE-2018-1000161",
      "initial_release_date": "2023-02-15T04:20:09Z",
      "product_status:known_not_affected": "13",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2018-1000161",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2018-1000161.json",
      "version": "8"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…