FreeBSD : rubygem-rails -- SQL injection vulnerability (b4051b52-58fa-11e2-853b-00262d5ed8ee)

high Nessus Plugin ID 63434

Synopsis

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

Description

Ruby on Rails team reports :

There is a SQL injection vulnerability in Active Record in ALL versions. Due to the way dynamic finders in Active Record extract options from method parameters, a method parameter can mistakenly be used as a scope. Carefully crafted requests can use the scope to inject arbitrary SQL.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?438ce1f5

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

Plugin Details

Severity: High

ID: 63434

File Name: freebsd_pkg_b4051b5258fa11e2853b00262d5ed8ee.nasl

Version: 1.10

Type: local

Published: 1/9/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 1/7/2013

Vulnerability Publication Date: 1/2/2013

Reference Information

CVE: CVE-2012-6496