Mandrake Linux Security Advisory : wget (MDKSA-2005:204)

Low Nessus Plugin ID 20128


The remote Mandrake Linux host is missing a security update.


Hugo Vazquez Carames discovered a race condition when writing output files in wget. After wget determined the output file name, but before the file was actually opened, a local attacker with write permissions to the download directory could create a symbolic link with the name of the output file. This could be exploited to overwrite arbitrary files with the permissions of the user invoking wget. The time window of opportunity for the attacker is determined solely by the delay of the first received data packet.

The updated packages have been patched to correct this issue.


Update the affected wget package.

Plugin Details

Severity: Low

ID: 20128

File Name: mandrake_MDKSA-2005-204.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2005/11/02

Modified: 2013/05/31

Dependencies: 12634

Risk Information

Risk Factor: Low


Base Score: 2.6

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:wget, cpe:/o:mandrakesoft:mandrake_linux:10.1, x-cpe:/o:mandrakesoft:mandrake_linux:le2005

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

Patch Publication Date: 2005/11/01

Reference Information

CVE: CVE-2004-2014

MDKSA: 2005:204