{"id":"CVE-2016-4971","published":"2016-06-30T17:00:00Z","modified":"2024-08-06T00:46:40Z","title":"GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted…","vendor":null,"product":null,"tier":"tail","description":{"text":"GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.4606,"percentile":0.98839,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.gnu.org/archive/html/info-gnu/2016-06/msg00004.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201610-11","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-08/msg00043.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.exploit-db.com/exploits/40064/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1343666","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html","tags":["x_refsource_CONFIRM"]},{"url":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e996e322ffd42aaa051602da182d03178d0f13e1","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2587.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1036133","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.ubuntu.com/usn/USN-3012-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/91530","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://security.paloaltonetworks.com/CVE-2016-4971","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/162395/GNU-wget-Arbitrary-File-Upload-Code-Execution.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.77},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2016-07-06"},"pocGithub":{"count":2,"skipped":1,"earliest":"2016-07-02","earliestUrl":"https://github.com/gitcollect/CVE-2016-4971","repos":[{"name":"mbadanoiu/CVE-2016-4971","url":"https://github.com/mbadanoiu/CVE-2016-4971","stars":1,"created":"2019-01-05"},{"name":"gitcollect/CVE-2016-4971","url":"https://github.com/gitcollect/CVE-2016-4971","stars":0,"created":"2016-07-02"}]},"first":{"date":"2016-07-02","source":"PoC-in-GitHub","url":"https://github.com/gitcollect/CVE-2016-4971"},"provenance":"source"},"summary":{"text":"The flaw is in GNU wget, a command-line file retrieval tool, affecting versions before 1.18: its handling of server redirects allows files to be written to arbitrary locations on the local system. The attack relies on a remote server redirecting a wget request from HTTP to a crafted FTP resource, so an attacker who controls or can influence the server a user fetches from can cause files to be written outside the intended destination, with no further conditions beyond that redirect being followed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:16Z"},"euvd":{"id":"EUVD-2016-5944","exploited":false,"provenance":"source"},"exploits":[{"id":40064,"url":"https://www.exploit-db.com/exploits/40064","title":"GNU Wget < 1.18 - Arbitrary File Upload / Remote Code Execution","date":"2016-07-06","verified":true,"provenance":"source"},{"id":49815,"url":"https://www.exploit-db.com/exploits/49815","title":"GNU Wget < 1.18 - Arbitrary File Upload (2)","date":"2021-04-30","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40064/","http://packetstormsecurity.com/files/162395/GNU-wget-Arbitrary-File-Upload-Code-Execution.html"]}