Debian DSA-2466-1 : rails - XSS

medium Nessus Plugin ID 59060

Synopsis

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

Description

Sergey Nartimov discovered that in Rails, a Ruby based framework for web development, when developers generate html options tags manually, user input concatenated with manually built tags may not be escaped and an attacker can inject arbitrary HTML into the document.

Solution

Upgrade the rails packages.

For the stable distribution (squeeze), this problem has been fixed in version 2.3.5-1.2+squeeze3.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668607

https://packages.debian.org/source/squeeze/rails

https://www.debian.org/security/2012/dsa-2466

Plugin Details

Severity: Medium

ID: 59060

File Name: debian_DSA-2466.nasl

Version: 1.11

Type: local

Agent: unix

Published: 5/10/2012

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:rails, cpe:/o:debian:debian_linux:6.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/9/2012

Reference Information

CVE: CVE-2012-1099

BID: 52264

DSA: 2466