FreeBSD : rubygem-geminabox -- XSS & CSRF vulnerabilities (2bffdf2f-9d45-11e7-a25c-471bafc3262f)

high Nessus Plugin ID 103343

Language:

Synopsis

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

Description

Gem in a box XSS vulenrability - CVE-2017-14506 :

Malicious attacker create GEM file with crafted homepage value (gem.homepage in .gemspec file) includes XSS payload.

The attacker access geminabox system and uploads the gem file (or uses CSRF/SSRF attack to do so).

From now on, any user access Geminabox web server, executes the malicious XSS payload, that will delete any gems on the server, and won't let users use the geminabox anymore. (make victim's browser crash or redirect them to other hosts).

Solution

Update the affected package.

See Also

http://www.nessus.org/u?8d7615c8

http://www.nessus.org/u?5c4f3a2c

Plugin Details

Severity: High

ID: 103343

File Name: freebsd_pkg_2bffdf2f9d4511e7a25c471bafc3262f.nasl

Version: 3.7

Type: local

Published: 9/20/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS v3

Risk Factor: High

Base Score: 8.8

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:rubygem-geminabox, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 9/19/2017

Vulnerability Publication Date: 9/18/2017

Reference Information

CVE: CVE-2017-14506, CVE-2017-14683