CentOS 3 / 4 : curl (CESA-2009:0341)

medium Nessus Plugin ID 35965

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated curl packages that fix a security issue are now available for Red Hat Enterprise Linux 2.1, 3, 4, and 5.

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

cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity.

David Kierznowski discovered a flaw in libcurl where it would not differentiate between different target URLs when handling automatic redirects. This caused libcurl to follow any new URL that it understood, including the 'file://' URL type. This could allow a remote server to force a local libcurl-using application to read a local file instead of the remote one, possibly exposing local files that were not meant to be exposed. (CVE-2009-0037)

Note: Applications using libcurl that are expected to follow redirects to 'file://' protocol must now explicitly call curl_easy_setopt(3) and set the newly introduced CURLOPT_REDIR_PROTOCOLS option as required.

cURL users should upgrade to these updated packages, which contain backported patches to correct these issues. All running applications using libcurl must be restarted for the update to take effect.

Solution

Update the affected curl packages.

See Also

http://www.nessus.org/u?5ddd7637

http://www.nessus.org/u?4eac47f0

http://www.nessus.org/u?0bb8f8ab

http://www.nessus.org/u?8800b2fd

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

http://www.nessus.org/u?317149f3

Plugin Details

Severity: Medium

ID: 35965

File Name: centos_RHSA-2009-0341.nasl

Version: 1.17

Type: local

Agent: unix

Published: 3/20/2009

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

CPE: cpe:/o:centos:centos:4, cpe:/o:centos:centos:3, p-cpe:/a:centos:centos:curl-devel, p-cpe:/a:centos:centos:curl

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/20/2009

Vulnerability Publication Date: 3/4/2009

Reference Information

CVE: CVE-2009-0037

BID: 33962

CWE: 352

RHSA: 2009:0341