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

medium Nessus Plugin ID 18831

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

https://marc.info/?l=bugtraq&m=110269474112384

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261755

http://www.nessus.org/u?777d7da5

Plugin Details

Severity: Medium

ID: 18831

File Name: freebsd_pkg_06f142ff4df311d9a9e70001020eed82.nasl

Version: 1.23

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:wget, p-cpe:/a:freebsd:freebsd:wget%2bipv6, 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: 12/14/2004

Vulnerability Publication Date: 12/9/2004

Reference Information

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

BID: 11871