9.8
CRITICAL
CVE-2018-1000802
"Python Software Foundation Python Command Injection Vulnerability"
Description

Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace.

INFO

Published Date :

Sept. 18, 2018, 5:29 p.m.

Last Modified :

Nov. 7, 2023, 2:51 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-1000802 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-1000802 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Opensuse leap
1 Python python
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Python script to summarize the data retrieved from a search at CVEDetails.com

cve cvedetails scrapper scrapper-script summary

Python

Updated: 3 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : April 22, 2024, 7:50 p.m. This repo has been linked 7 different CVEs too.

Ethical hacking, made easy.

cidr cve enumeration fuzzing portscan encoder-decoder ssl-certificates cybersecurity bugbounty hackerone tls-certificate vulnerability-detection reconnaissance vps penetration-testing pentest pentesting security vulnerability

Python Dockerfile

Updated: 1 month ago
137 stars 7 fork 7 watcher
Born at : Feb. 24, 2023, 9:05 a.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 month ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Python CVE-2018-1000802 Proof-of-Concept

Python

Updated: 4 years, 3 months ago
4 stars 0 fork 0 watcher
Born at : Sept. 14, 2018, 4:22 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-1000802 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-1000802 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig [No types assigned]
    Removed Reference MITRE https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
  • CVE Modified by [email protected]

    Mar. 09, 2023

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20230309-0002/ [No Types Assigned]
  • Reanalysis by [email protected]

    Jun. 27, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.7.0:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 2.7.0 up to (excluding) 2.7.16
  • Reanalysis by [email protected]

    Dec. 07, 2020

    Action Type Old Value New Value
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html Third Party Advisory http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Mailing List, Third Party Advisory
    Removed CWE NIST CWE-78
    Added CWE NIST CWE-77
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
  • Modified Analysis by [email protected]

    Feb. 18, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html Third Party Advisory
    Changed CPE Configuration OR OR *cpe:2.3:a:python:python:2.7.0:*:*:*:*:*:*:*
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 21, 2020

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html [No Types Assigned]
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.7.0:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-77 CWE-94 CWE-78
  • Initial Analysis by [email protected]

    Dec. 18, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3817-1/ No Types Assigned https://usn.ubuntu.com/3817-1/ Third Party Advisory
    Changed Reference Type https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace No Types Assigned https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace Patch, Vendor Advisory
    Changed Reference Type https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig No Types Assigned https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig Exploit, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4306 No Types Assigned https://www.debian.org/security/2018/dsa-4306 Third Party Advisory
    Changed Reference Type https://github.com/python/cpython/pull/8985 No Types Assigned https://github.com/python/cpython/pull/8985 Patch, Vendor Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Third Party Advisory
    Changed Reference Type https://bugs.python.org/issue34540 No Types Assigned https://bugs.python.org/issue34540 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://usn.ubuntu.com/3817-2/ No Types Assigned https://usn.ubuntu.com/3817-2/ Third Party Advisory
    Added CWE CWE-77
    Added CPE Configuration OR *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3817-2/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 14, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3817-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 28, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4306 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 26, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-1000802 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.96 }} 0.00%

score

0.82925

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability