FreeBSD : wget -- multiple vulnerabilities (06f142ff-4df3-11d9-a9e7-0001020eed82)

Medium Nessus Plugin ID 18831


The remote FreeBSD host is missing one or more security-related updates.


Jan Minar reports that there exists multiple vulnerabilities in wget :

Wget erroneously thinks that the current directory is a fair game, and will happily write in any file in and below it. Malicious HTTP response or malicious HTML file can redirect wget to a file that is vital to the system, and wget will create/append/overwrite it.

Wget apparently has at least two methods of ``sanitizing'' the potentially malicious data it receives from the HTTP stream, therefore a malicious redirects can pass the check. We haven't find a way to trick wget into writing above the parent directory, which doesn't mean it's not possible.

Malicious HTTP response can overwrite parts of the terminal so that the user will not notice anything wrong, or will believe the error was not fatal.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 18831

File Name: freebsd_pkg_06f142ff4df311d9a9e70001020eed82.nasl

Version: $Revision: 1.17 $

Type: local

Published: 2005/07/13

Modified: 2016/05/09

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 4.3

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:wget, p-cpe:/a:freebsd:freebsd:wget+ipv6, p-cpe:/a:freebsd:freebsd:wget-devel, p-cpe:/a:freebsd:freebsd:wgetpro, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2004/12/14

Vulnerability Publication Date: 2004/12/09

Reference Information

CVE: CVE-2004-1487, CVE-2004-1488

BID: 11871