CVE-2018-1000802 is a command injection vulnerability (CWE-77) in Python (CPython) 2.7’s shutil module, specifically the make_archive() function. The issue arises when unfiltered user-controlled input is passed into make_archive(), leading to improper neutralization of special elements used in a command. The vulnerability is reported as fixed after commit add531a1e55b0a739b0f42582f1c9747e5649ace.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept (PoC) exploit for CVE-2018-1000802, a vulnerability in Python's shutil.make_archive function on Windows systems. The exploit demonstrates how, under specific conditions (Python 2.7, Windows, zip utility available, and zipfile import failure), an attacker can inject arbitrary arguments into the zip command executed by make_archive. The provided 'poc.py' script contains three functions: one leaks arbitrary files (e.g., the Windows hosts file), one attempts to compress the entire C: drive (denial of service), and one hangs the process by passing malformed arguments. The repository includes a simulated 'zipfile.py' to force the import failure condition. The main exploit vector is local, requiring the attacker to execute Python code on the target system. The endpoints targeted are specific file paths on Windows. The repository is structured with a README, the PoC script, a test directory, and files to simulate the vulnerable environment.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.