smtp_mailaddr в smtp_session.c в OpenSMTPD 6.6, как используется в OpenBSD 6.6 и других продуктах, позволяет удаленным злоумышленникам выполнять произвольные команды как root через сеанс SMTP, о чем свидетельствуют метасимволы оболочки в поле MAIL FROM. Это влияет на конфигурацию «uncommented» по умолчанию. Проблема возникает из-за неправильного возвращаемого значения при отказе проверки ввода.
Показать оригинальное описание (EN)
smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Openbsd Opensmtpd
cpe:2.3:a:openbsd:opensmtpd:6.6:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
|
— | — |
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
|
— | — |