FreeBSD : Ruby Activemodel Gem -- Circumvention of attr_protected (beab40bf-c1ca-4d2b-ad46-2f14bac8a968)

medium Nessus Plugin ID 64667

Synopsis

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

Description

Aaron Patterson reports :

The attr_protected method allows developers to specify a blacklist of model attributes which users should not be allowed to assign to. By using a specially crafted request, attackers could circumvent this protection and alter values that were meant to be protected.

All users running an affected release should either upgrade or use one of the work arounds immediately. Users should also consider switching from attr_protected to the whitelist method attr_accessible which is not vulnerable to this attack.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?1a0e0256

Plugin Details

Severity: Medium

ID: 64667

File Name: freebsd_pkg_beab40bfc1ca4d2bad462f14bac8a968.nasl

Version: 1.5

Type: local

Published: 2/18/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:rubygem18-activemodel, p-cpe:/a:freebsd:freebsd:rubygem19-activemodel, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 2/17/2013

Vulnerability Publication Date: 2/11/2013

Reference Information

CVE: CVE-2013-0276