Bug 1343666 (CVE-2016-4971)
| Summary: | CVE-2016-4971 wget: Lack of filename checking allows arbitrary file upload via FTP redirect | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Adam Mariš <amaris> | ||||
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | gscrivan, sardella, security-response-team, slawomir, thozza | ||||
| Target Milestone: | --- | Keywords: | Security | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: |
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.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-06-08 02:54:42 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1345778 | ||||||
| Bug Blocks: | 1323912, 1343668 | ||||||
| Attachments: |
|
||||||
|
Description
Adam Mariš
2016-06-07 15:55:19 UTC
Acknowledgments: Name: GNU wget project Upstream: Dawid Golunski Created attachment 1165694 [details]
Proposed upstream patch
I've just released wget 1.18 with the fix: ftp://ftp.gnu.org/gnu/wget/wget-1.18.tar.xz I am going to publicly announce the new version in few hours CVE patch made a regression, this one fixes it: http://git.savannah.gnu.org/cgit/wget.git/commit/?id=59b920874daa565a1323ffa1e756e80493190686 Mitigation: Use wget with "-O" option to explicitly specify the output filename. References: http://seclists.org/oss-sec/2016/q3/34 This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2016:2587 https://rhn.redhat.com/errata/RHSA-2016-2587.html |