CVE-2016-4971

Impact:
Moderate
Public Date:
2016-06-09
CWE:
CWE-73
Bugzilla:
1343666: CVE-2016-4971 wget: Lack of filename checking allows arbitrary file upload via FTP redirect
It was found that wget used a file name provided by the server for the downloaded file when following a HTTP redirect to a FTP server resource. This could cause wget to create a file with a different name than expected, possibly allowing the server to execute arbitrary code on the client.

Find out more about CVE-2016-4971 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 6.8
Base Metrics AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

CVSS v3 metrics

CVSS3 Base Score 7
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 7 (wget) RHSA-2016:2587 2016-11-03

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 6 wget Will not fix
Red Hat Enterprise Linux 5 wget Will not fix

Acknowledgements

Red Hat would like to thank GNU wget project for reporting this issue. Upstream acknowledges Dawid Golunski as the original reporter.

Mitigation

Use wget with "-O" option to explicitly specify the output filename.

Last Modified