FreeBSD : phpmailer -- XSS in code example and default exeception handler (c5d79773-8801-11e7-93f7-d43d7e971a1b)

medium Nessus Plugin ID 102724

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

PHPMailer reports :

Fix XSS vulnerability in one of the code examples, CVE-2017-11503. The code_generator.phps example did not filter user input prior to output.
This file is distributed with a .phps extension, so it it not normally executable unless it is explicitly renamed, so it is safe by default.
There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project.

Solution

Update the affected package.

See Also

https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24

http://www.nessus.org/u?0d71a8fd

Plugin Details

Severity: Medium

ID: 102724

File Name: freebsd_pkg_c5d79773880111e793f7d43d7e971a1b.nasl

Version: 3.4

Type: local

Published: 8/24/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:phpmailer, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 8/23/2017

Vulnerability Publication Date: 7/27/2017

Reference Information

CVE: CVE-2017-11503