RHEL 4 : perl (RHSA-2005:103)

medium Nessus Plugin ID 17187

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated Perl packages that fix several security issues are now available for Red Hat Enterprise Linux 4.

This update has been rated as having important security impact by the Red Hat Security Response Team

Perl is a high-level programming language commonly used for system administration utilities and Web programming.

Kevin Finisterre discovered a stack based buffer overflow flaw in sperl, the Perl setuid wrapper. A local user could create a sperl executable script with a carefully created path name, overflowing the buffer and leading to root privilege escalation. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0156 to this issue.

Kevin Finisterre discovered a flaw in sperl which can cause debugging information to be logged to arbitrary files. By setting an environment variable, a local user could cause sperl to create, as root, files with arbitrary filenames, or append the debugging information to existing files. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2005-0155 to this issue.

An unsafe file permission bug was discovered in the rmtree() function in the File::Path module. The rmtree() function removes files and directories in an insecure manner, which could allow a local user to read or delete arbitrary files. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2004-0452 to this issue.

Users of Perl are advised to upgrade to this updated package, which contains backported patches to correct these issues.

Solution

Update the affected perl and / or perl-suidperl packages.

See Also

https://access.redhat.com/security/cve/cve-2004-0452

https://access.redhat.com/security/cve/cve-2005-0155

https://access.redhat.com/security/cve/cve-2005-0156

https://access.redhat.com/errata/RHSA-2005:103

Plugin Details

Severity: Medium

ID: 17187

File Name: redhat-RHSA-2005-103.nasl

Version: 1.24

Type: local

Agent: unix

Published: 2/22/2005

Updated: 1/14/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent

Risk Information

VPR

Risk Factor: High

Score: 8.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:perl, p-cpe:/a:redhat:enterprise_linux:perl-suidperl, cpe:/o:redhat:enterprise_linux:4

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/15/2005

Vulnerability Publication Date: 12/21/2004

Reference Information

CVE: CVE-2004-0452, CVE-2005-0155, CVE-2005-0156

RHSA: 2005:103