PT-2017-16400 · Php+3 · Phpmailer+3

Yongxiang Li

·

Publicado

2017-01-10

·

Atualizado

2023-03-15

·

CVE-2017-5223

CVSS v3.1

5.5

Média

VetorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions PHPMailer versions prior to 5.2.22
Description An issue in PHPMailer's msgHTML method allows it to apply transformations to an HTML document, making it usable as an email message body. One transformation converts relative image URLs into attachments using a script-provided base directory. If no base directory is provided, relative image URLs are treated as absolute local file paths and added as attachments. This can form a remote vulnerability if the msgHTML method is called with an unfiltered, user-supplied HTML document and no base directory is set. The impact of this issue is that arbitrary local files can be attached to email messages.
Recommendations For versions prior to 5.2.22, update to version 5.2.22 to resolve the issue. As a temporary workaround, consider validating input before using user-supplied file paths to minimize the risk of exploitation.

Exploit

Correção

Information Disclosure

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2017-1015
CVE-2017-5223
DLA-1591-1
DLA-817-1
GHSA-4X5H-CR29-FHP6
MGASA-2017-0022
USN-5956-1

Produtos afetados

Alt Linux
Linuxmint
Phpmailer
Ubuntu