Gentoo Logo

Perl Config-IniFiles Module: Insecure temporary file usage

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201208-05 / Config-IniFiles
Release Date August 14, 2012
Latest Revision August 14, 2012: 1
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-perl/Config-IniFiles < 2.710.0 >= 2.710.0 All supported architectures

Related bugreports: #414485

Synopsis

An insecure temporary file usage has been reported in the Perl Config-IniFiles module, possibly allowing symlink attacks.

2.  Impact Information

Background

Config-IniFiles is a Perl module for reading .ini-style configuration files.

Description

The Perl Config-IniFiles module uses predicatable temporary file names.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All users of the Perl Config-IniFiles module should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose
  ">=dev-perl/Config-IniFiles-2.710.0"

4.  References



Print

Page updated August 14, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.