{"schemaVersion":3,"id":"CVE-2014-4877","aliases":["MGASA-2014-0431","RHSA-2014:1764","RHSA-2014:1955","UBUNTU-CVE-2014-4877","USN-2393-1","DEBIAN-CVE-2014-4877","DLA-82-1","DSA-3062-1"],"status":"published","duplicateOf":null,"title":null,"description":"Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary files, and consequently execute arbitrary code, via a LIST response that references the same filename within two entries, one of which indicates that the filename is for a symlink.","dates":{"published":"2014-10-29T10:00:00.000Z","modified":"2024-08-06T11:27:36.989Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.39883,"percentile":0.98613,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.39883},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.39883,"percentile":0.98613}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.39883,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.39883,"percentile":0.98613}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RAPID7_METASPLOIT-FRAMEWORK","name":"Metasploit Framework","source":"github","url":"https://github.com/rapid7/metasploit-framework/pull/17067","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_31621D6751474248","name":"Exploit Reference (community.rapid7.com)","source":"reference","url":"https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-access","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_AUXILIARY_SERVER_WGET_SYMLINK_FILE_WRITE","name":"GNU Wget FTP Symlink Arbitrary Filesystem Access","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/server/wget_symlink_file_write.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/server/wget_symlink_file_write","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":[],"sideEffects":[],"reliability":[]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"wget","name":"wget","label":"wget","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wget","purlType":"deb","versions":[{"text":"< 1.16-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.12-2.1+deb6u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.13.4-3+deb7u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16-1 | < 1.12-2.1+deb6u1 | < 1.13.4-3+deb7u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wget","name":"wget","label":"wget","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wget","purlType":"deb","versions":[{"text":"< 1.15-1ubuntu1.14.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15-1ubuntu1.14.04.1","eol":null,"hubHref":null},{"vendor":"gnu","product":"wget","name":"wget","label":"wget","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.15","noFixRecorded":false,"fixedIn":null},{"text":"1.12","noFixRecorded":false,"fixedIn":null},{"text":"1.13","noFixRecorded":false,"fixedIn":null},{"text":"1.13.1","noFixRecorded":false,"fixedIn":null},{"text":"1.13.2","noFixRecorded":false,"fixedIn":null},{"text":"1.13.3","noFixRecorded":false,"fixedIn":null},{"text":"1.13.4","noFixRecorded":false,"fixedIn":null},{"text":"1.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.15 | 1.12 | 1.13 | 1.13.1 | 1.13.2 | 1.13.3 | 1.13.4 | 1.14","eol":null,"hubHref":"/vendor/gnu/wget"},{"vendor":"mageia","product":"wget","name":"wget","label":"wget","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/wget","purlType":"rpm","versions":[{"text":"< 1.14-2.2.mga3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.14-2.2.mga3","eol":null,"hubHref":null},{"vendor":"mageia","product":"wget","name":"wget","label":"wget","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/wget","purlType":"rpm","versions":[{"text":"< 1.14-4.2.mga4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.14-4.2.mga4","eol":null,"hubHref":null},{"vendor":"redhat","product":"wget","name":"wget","label":"wget","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/wget","purlType":"rpm","versions":[{"text":"< 0:1.12-5.el6_6.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.14-10.el7_0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.12-1.12.el6_5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.12-5.el6_6.1 | < 0:1.14-10.el7_0.1 | < 0:1.12-1.12.el6_5","eol":null,"hubHref":null},{"vendor":"redhat","product":"wget-debuginfo","name":"wget-debuginfo","label":"wget-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/wget-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.12-5.el6_6.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.14-10.el7_0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.12-1.12.el6_5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.12-5.el6_6.1 | < 0:1.14-10.el7_0.1 | < 0:1.12-1.12.el6_5","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=b4440d96cf8173d68ecaa07c36b8f4316ee794d0","label":"git.savannah.gnu.org/cgit/wget.git/commit/?id=b4440d96cf8173d68ecaa07c36b8f4316ee794d0","hostname":"git.savannah.gnu.org","tags":["X Refsource CONFIRM","Patch"]},{"url":"http://security.gentoo.org/glsa/glsa-201411-05.xml","label":"security.gentoo.org/glsa/glsa-201411-05.xml","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"http://lists.gnu.org/archive/html/bug-wget/2014-10/msg00150.html","label":"lists.gnu.org/archive/html/bug-wget/2014-10/msg00150.html","hostname":"lists.gnu.org","tags":["Mailing List","X Refsource MLIST","Patch","REPORT"]},{"url":"http://www.ubuntu.com/usn/USN-2393-1","label":"www.ubuntu.com/usn/USN-2393-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:121","label":"www.mandriva.com/security/advisories?name=MDVSA-2015:121","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1955.html","label":"rhn.redhat.com/errata/RHSA-2014-1955.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.debian.org/security/2014/dsa-3062","label":"www.debian.org/security/2014/dsa-3062","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"http://git.savannah.gnu.org/cgit/wget.git/commit/?id=18b0979357ed7dc4e11d4f2b1d7e0f5932d82aa7","label":"git.savannah.gnu.org/cgit/wget.git/commit/?id=18b0979357ed7dc4e11d4f2b1d7e0f5932d82aa7","hostname":"git.savannah.gnu.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.kb.cert.org/vuls/id/685996","label":"www.kb.cert.org/vuls/id/685996","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","Patch","US Government Resource"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00004.html","label":"lists.opensuse.org/opensuse-security-announce/2014-11/msg00004.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1764.html","label":"rhn.redhat.com/errata/RHSA-2014-1764.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2014-11/msg00009.html","label":"lists.opensuse.org/opensuse-security-announce/2014-11/msg00009.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722","label":"h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722","hostname":"h20566.www2.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-11/msg00026.html","label":"lists.opensuse.org/opensuse-updates/2014-11/msg00026.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1139181","label":"bugzilla.redhat.com/show_bug.cgi?id=1139181","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Patch","REPORT"]},{"url":"https://community.rapid7.com/community/metasploit/blog/2014/10/28/r7-2014-15-gnu-wget-ftp-symlink-arbitrary-filesystem-access","label":"community.rapid7.com/community/…","hostname":"community.rapid7.com","tags":["X Refsource MISC","Exploit","REPORT"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","label":"www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/bid/70751","label":"www.securityfocus.com/bid/70751","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10106","label":"kc.mcafee.com/corporate/index?page=content&id=SB10106","hostname":"kc.mcafee.com","tags":["X Refsource CONFIRM"]},{"url":"http://advisories.mageia.org/MGASA-2014-0431.html","label":"advisories.mageia.org/MGASA-2014-0431.html","hostname":"advisories.mageia.org","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/rapid7/metasploit-framework/pull/4088","label":"github.com/rapid7/metasploit-framework/pull/4088","hostname":"github.com","tags":["X Refsource MISC","Exploit"]},{"url":"https://advisories.mageia.org/MGASA-2014-0431.html","label":"advisories.mageia.org/MGASA-2014-0431.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=14386","label":"bugs.mageia.org/show_bug.cgi?id=14386","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2014:1764","label":"access.redhat.com/errata/RHSA-2014:1764","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1764.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1764.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2014-4877","label":"access.redhat.com/security/cve/CVE-2014-4877","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-4877","label":"www.cve.org/CVERecord?id=CVE-2014-4877","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-4877","label":"nvd.nist.gov/vuln/detail/CVE-2014-4877","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2014:1955","label":"access.redhat.com/errata/RHSA-2014:1955","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1955.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1955.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-4877","label":"ubuntu.com/security/CVE-2014-4877","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-2393-1","label":"ubuntu.com/security/notices/USN-2393-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-4877","label":"security-tracker.debian.org/tracker/CVE-2014-4877","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10263-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10263-1"]},"timeline":[{"kind":"published","date":"2014-10-29T10:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T11:27:36.989Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T10:51:22.133Z","stale":false,"partial":false}}