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

Medium Nessus Plugin ID 64667


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


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.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 64667

File Name: freebsd_pkg_beab40bfc1ca4d2bad462f14bac8a968.nasl

Version: $Revision: 1.2 $

Type: local

Published: 2013/02/18

Modified: 2013/06/22

Dependencies: 12634

Risk Information

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: 2013/02/17

Vulnerability Publication Date: 2013/02/11

Reference Information

CVE: CVE-2013-0276