FreeBSD : rails-html-sanitizer -- possible XSS vulnerability (81946ace-6961-4488-a164-22d58ebc8d66)

medium Nessus Plugin ID 108624

Language:

Synopsis

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

Description

OSS-Security list :

There is a possible XSS vulnerability in rails-html-sanitizer. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially crafted HTML fragments, and these attributes can lead to an XSS attack on target applications.

This issue is similar to CVE-2018-8048 in Loofah.

Solution

Update the affected package.

See Also

https://www.openwall.com/lists/oss-security/2018/03/22/4

http://www.nessus.org/u?cee2bf0f

Plugin Details

Severity: Medium

ID: 108624

File Name: freebsd_pkg_81946ace69614488a16422d58ebc8d66.nasl

Version: 1.5

Type: local

Published: 3/27/2018

Updated: 11/21/2018

Risk Information

VPR

Risk Factor: Low

Score: 3

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Vector: 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:rubygem-rails-html-sanitizer, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 3/24/2018

Vulnerability Publication Date: 3/22/2018

Reference Information

CVE: CVE-2018-3741