urllib в Python 2.x через 2.7.16 поддерживает схему local_file:, которая упрощает для удаленных злоумышленников обход механизмов защиты, которые заносят файл в черный список: URIs, что демонстрируется запуском вызова urllib.urlopen('local_file:///etc/passwd').
Показать оригинальное описание (EN)
urllib in Python 2.x through 2.7.16 supports the local_file: scheme, which makes it easier for remote attackers to bypass protection mechanisms that blacklist file: URIs, as demonstrated by triggering a urllib.urlopen('local_file:///etc/passwd') call.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 29
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
2.0
|
2.7.17
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.5.0
|
3.5.8
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.6.0
|
3.6.9
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.7.0
|
3.7.4
|
|
Opensuse Leap
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
|
— | — |
|
Opensuse Leap
cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:8.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server
cpe:2.3:o:redhat:enterprise_linux_server:8.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Server_Eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:8.4:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:8.0:*:*:*:*:*:*:*
|
— | — |