Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2014-10070

Опубликовано: 26 фев. 2018
Источник: redhat
CVSS3: 0

Уязвимость оценки начальных значений целочисленных переменных, импортируемых из окружения, в zsh, позволяющая локальное повышение привилегий

Описание

Обнаружена уязвимость в zsh, связанная с тем, что начальные значения целочисленных переменных, импортируемых из окружения, могут быть выполнены (вместо того чтобы рассматриваться как литеральные числа). Это может позволить локальному злоумышленнику повысить свои привилегии при определённых редких условиях, когда zsh вызывается в контексте повышения привилегий, а окружение не было должным образом очищено. Например, это может произойти, если zsh вызывается через sudo на системах, где отключена опция env_reset.

Заявление

Служба безопасности Red Hat оценила эту проблему как имеющую низкое влияние на безопасность. В настоящее время не планируется устранение данной уязвимости в будущих обновлениях. Для получения дополнительной информации обратитесь к классификации серьёзности проблем.

Способы защиты

Не допускайте наследования переменных окружения OPTIND и TRY_BLOCK_ERROR оболочками, вызываемыми через zsh. Данная проблема частично смягчена по умолчанию в Red Hat Enterprise Linux версий 5, 6 и 7, поскольку это является стандартной конфигурацией в этих версиях.

Затронутые версии ПО

  • zsh до версии 5.0.7

Тип уязвимости

Локальное повышение привилегий

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5zshWill not fix
Red Hat Enterprise Linux 6zshWill not fix
Red Hat Enterprise Linux 7zshWill not fix
Red Hat Enterprise Linux 8zshNot affected

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-95
https://bugzilla.redhat.com/show_bug.cgi?id=1549287zsh: privilege escalation via environment variables

0 Low

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
почти 8 лет назад

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.

CVSS3: 7.8
nvd
почти 8 лет назад

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.

CVSS3: 7.8
debian
почти 8 лет назад

zsh before 5.0.7 allows evaluation of the initial values of integer va ...

CVSS3: 7.8
github
больше 3 лет назад

zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.

suse-cvrf
почти 8 лет назад

Security update for zsh

0 Low

CVSS3