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

exploitDog

github логотип

GHSA-4pc3-96mx-wwc8

Опубликовано: 05 мар. 2020
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

Remote code execution in PHPMailer

Impact

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

This issue really emphasises that it's worth avoiding the built-in PHP mail() function entirely.

Patches

Fixed in 5.2.20

Workarounds

Send via SMTP to localhost instead of calling the mail() function.

References

https://nvd.nist.gov/vuln/detail/CVE-2016-10045 See also https://nvd.nist.gov/vuln/detail/CVE-2016-10033

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

phpmailer/phpmailer

composer
Затронутые версииВерсия исправления

>= 5.0.0, < 5.2.20

5.2.20

EPSS

Процентиль: 100%
0.93786
Критический

9.8 Critical

CVSS3

Дефекты

CWE-77

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

CVSS3: 9.8
ubuntu
больше 8 лет назад

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

CVSS3: 9.8
nvd
больше 8 лет назад

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

CVSS3: 9.8
debian
больше 8 лет назад

The isMail transport in PHPMailer before 5.2.20 might allow remote att ...

EPSS

Процентиль: 100%
0.93786
Критический

9.8 Critical

CVSS3

Дефекты

CWE-77