Gentoo: 201403-08 PlRPC: Arbitrary code execution
Posted by Benjamin D. Thomas   
Gentoo PlRPC uses Storable which allows for code execution prior to Authentication
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201403-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: PlRPC: Arbitrary code execution
     Date: March 27, 2014
     Bugs: #497692
       ID: 201403-08

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

PlRPC uses Storable which allows for code execution prior to
Authentication

Background
==========

The Perl RPC Module is a Perl module that implements IDL-free RPCs.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-perl/PlRPC             < 0.202.0-r2            >= 0.202.0-r2 

Description
===========

PlRPC uses Storable module for serialization and deserialization of
untrusted data. Deserialized data can contain objects which can lead to
loading of foreign modules, and possible execution of arbitrary code.

Impact
======

A remote attacker could possibly execute
arbitrary code with the privileges of the process, or cause a Denial of
Service condition.

Workaround
==========

External authentication mechanism can be used with PlRPC such as TLS or
IPSEC.

Resolution
==========

All PlRPC users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-perl/PlRPC-0.202.0-r2"

References
==========

[ 1 ] CVE-2013-7284
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-7284

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 http://security.gentoo.org/glsa/glsa-201403-08.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License

Copyright 2014 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5