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

exploitDog

github логотип

GHSA-7w4p-72j7-v7c2

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

Описание

Phar object injection in PHPMailer

PHPMailer versions prior to 6.0.6 and 5.2.27 are vulnerable to an object injection attack by passing phar:// paths into addAttachment() and other functions that may receive unfiltered local paths, possibly leading to RCE. See this article for more info on this type of vulnerability. Mitigated by blocking the use of paths containing URL-protocol style prefixes such as phar://. Reported by Sehun Oh of cyberone.kr.

Impact

Object injection, possible remote code execution

Patches

Fixed in 6.0.6 and 5.2.27

Workarounds

Validate and sanitise user input before using.

References

https://nvd.nist.gov/vuln/detail/CVE-2018-19296

For more information

If you have any questions or comments about this advisory:

Пакеты

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

phpmailer/phpmailer

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

>= 5.0.0, < 5.2.27

5.2.27

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

phpmailer/phpmailer

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

>= 6.0.0, < 6.0.6

6.0.6

EPSS

Процентиль: 79%
0.01371
Низкий

8.8 High

CVSS3

Дефекты

CWE-1321
CWE-502
CWE-915

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

CVSS3: 8.8
ubuntu
больше 6 лет назад

PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.

CVSS3: 8.8
nvd
больше 6 лет назад

PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an object injection attack.

CVSS3: 8.8
debian
больше 6 лет назад

PHPMailer before 5.2.27 and 6.x before 6.0.6 is vulnerable to an objec ...

CVSS3: 8.8
fstec
больше 6 лет назад

Уязвимость библиотеки PHPMailer, связанная с некорректной проверкой ввода данных, позволяющая нарушителю осуществить инъекцию объекта

EPSS

Процентиль: 79%
0.01371
Низкий

8.8 High

CVSS3

Дефекты

CWE-1321
CWE-502
CWE-915