Версии Email::Sender::Transport::Sendmail до 2.602 for Perl позволяют произвольное выполнение команд на Windows, отправляя сообщение, чей адрес конверта достигает оболочки в _sendmail_pipe. В MSWin32 отправитель конверта и каждый получатель входят в одну командную строку, которая open() переходит в оболочку. Любая другая платформа получает форму списка, которая запускает sendmail напрямую.
Когда абонент не предоставляет конверт, Email::Sender::Simple забирает получателей из заголовков To и Cc, а отправитель — из заголовка From. Злоумышленник, который контролирует один из этих адресов заголовка, запускает команды в качестве процесса отправки.
Показать оригинальное описание (EN)
Email::Sender::Transport::Sendmail versions before 2.602 for Perl allow arbitrary command execution on Windows sending a message whose envelope address reaches the shell in _sendmail_pipe. On MSWin32 the envelope sender and every recipient go into a single command string, which open() passes to a shell. Every other platform gets the list form, which runs sendmail directly. When the caller supplies no envelope, Email::Sender::Simple takes the recipients from the To and Cc headers and the sender from the From header. An attacker who controls one of those header addresses runs commands as the sending process.
Характеристики атаки
Последствия
Строка CVSS v3.1