FreeBSD : rubygem-activerecord -- multiple vulnerabilities (748aa89f-d529-11e1-82ab-001fd0af1a4c)

medium Nessus Plugin ID 60101

Synopsis

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

Description

rubygem-activerecord -- multiple vulernabilities

Due to the way Active Record interprets parameters in combination with the way that Rack parses query parameters, it is possible for an attacker to issue unexpected database queries with 'IS NULL' where clauses. This issue does *not* let an attacker insert arbitrary values into a SQL query, however they can cause the query to check for NULL where most users wouldn't expect it.

Due to the way Active Record handles nested query parameters, an attacker can use a specially crafted request to inject some forms of SQL into your application's SQL queries.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?f997721c

http://www.nessus.org/u?ad95742e

http://www.nessus.org/u?482ec7fb

Plugin Details

Severity: Medium

ID: 60101

File Name: freebsd_pkg_748aa89fd52911e182ab001fd0af1a4c.nasl

Version: 1.7

Type: local

Published: 7/24/2012

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

Vulnerability Information

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

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

Patch Publication Date: 7/23/2012

Vulnerability Publication Date: 5/31/2012

Reference Information

CVE: CVE-2012-2660, CVE-2012-2661