FreeBSD : Rails -- XSS vulnerabilities (9db93f3d-c725-11ec-9618-000d3ac47524)

medium Nessus Plugin ID 160393

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the 9db93f3d-c725-11ec-9618-000d3ac47524 advisory.

- A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes. (CVE-2022-27777)

- An XSS Vulnerability in Action Pack >= 5.2.0 and < 5.2.0 that could allow an attacker to bypass CSP for non HTML like responses. (CVE-2022-22577)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

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

http://www.nessus.org/u?38ca1342

Plugin Details

Severity: Medium

ID: 160393

File Name: freebsd_pkg_9db93f3dc72511ec9618000d3ac47524.nasl

Version: 1.4

Type: local

Published: 4/30/2022

Updated: 10/31/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-27777

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:rubygem-actionpack52, p-cpe:/a:freebsd:freebsd:rubygem-actionpack60, p-cpe:/a:freebsd:freebsd:rubygem-actionpack61, p-cpe:/a:freebsd:freebsd:rubygem-actionpack70, p-cpe:/a:freebsd:freebsd:rubygem-actionview52, p-cpe:/a:freebsd:freebsd:rubygem-actionview60, p-cpe:/a:freebsd:freebsd:rubygem-actionview61, p-cpe:/a:freebsd:freebsd:rubygem-actionview70, cpe:/o:freebsd:freebsd

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/30/2022

Vulnerability Publication Date: 4/30/2022

Reference Information

CVE: CVE-2022-22577, CVE-2022-27777