CVE-2015-20107
HIGHPython < 3.7.15 - Command Injection via mailcap Module
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2015-20107. PoCs published by codeskipper.
AI-analyzed exploit summary This repository contains a scanner script to check if a Python installation is vulnerable to CVE-2015-20107, a command injection vulnerability in the mailcap module. The script tests for the presence of a warning when processing unquoted mailcap paths, indicating whether the patch is applied.
Description
In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file. This may allow attackers to inject shell commands into applications that call mailcap.findmatch with untrusted input (if they lack validation of user-provided filenames or arguments). The fix is also back-ported to 3.7, 3.8, 3.9
Exploits (1)
This repository contains a scanner script to check if a Python installation is vulnerable to CVE-2015-20107, a command injection vulnerability in the mailcap module. The script tests for the presence of a warning when processing unquoted mailcap paths, indicating whether the patch is applied.
References (30)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L