FreeBSD : rubygem-geminabox -- XSS & CSRF vulnerabilities (2bffdf2f-9d45-11e7-a25c-471bafc3262f)
Medium Nessus Plugin ID 103343
SynopsisThe remote FreeBSD host is missing a security-related update.
DescriptionGem 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).
SolutionUpdate the affected package.