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

Medium Nessus Plugin ID 103343


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


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).


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 103343

File Name: freebsd_pkg_2bffdf2f9d4511e7a25c471bafc3262f.nasl

Version: $Revision: 3.5 $

Type: local

Published: 2017/09/20

Modified: 2018/01/31

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

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


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: 2017/09/19

Vulnerability Publication Date: 2017/09/18

Reference Information

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