FreeBSD : Ruby -- Denial of Service and Unsafe Object Creation Vulnerability in JSON (c79eb109-a754-45d7-b552-a42099eb2265)

high Nessus Plugin ID 64652

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Aaron Patterson reports :

When parsing certain JSON documents, the JSON gem can be coerced in to creating Ruby symbols in a target system. Since Ruby symbols are not garbage collected, this can result in a denial of service attack.

The same technique can be used to create objects in a target system that act like internal objects. These 'act alike' objects can be used to bypass certain security mechanisms and can be used as a spring board for SQL injection attacks in Ruby on Rails.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?6ddb8e17

Plugin Details

Severity: High

ID: 64652

File Name: freebsd_pkg_c79eb109a75445d7b552a42099eb2265.nasl

Version: 1.7

Type: local

Published: 2/18/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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:ruby, p-cpe:/a:freebsd:freebsd:rubygem18-json, p-cpe:/a:freebsd:freebsd:rubygem18-json_pure, p-cpe:/a:freebsd:freebsd:rubygem19-json, p-cpe:/a:freebsd:freebsd:rubygem19-json_pure, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 2/16/2013

Vulnerability Publication Date: 2/11/2013

Reference Information

CVE: CVE-2013-0269