{"api_version":"1","generated_at":"2026-07-23T08:16:09+00:00","cve":"CVE-2006-5778","urls":{"html":"https://cve.report/CVE-2006-5778","api":"https://cve.report/api/cve/CVE-2006-5778.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-5778","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-5778"},"summary":{"title":"CVE-2006-5778","description":"ftpd in linux-ftpd 0.17, and possibly other versions, performs a chdir before setting the UID, which allows local users to bypass intended access restrictions by redirecting their home directory to a restricted directory.","state":"PUBLISHED","assigner":"mitre","published_at":"2006-11-07 18:07:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/bid/21000","name":"http://www.securityfocus.com/bid/21000","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"NetKit FTP Server ChDir Information Disclosure Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/049014.html","name":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/049014.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[Full-disclosure] ftpd chdir() while root","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/22997","name":"http://secunia.com/advisories/22997","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian update for linux-ftpd - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2006/dsa-1217","name":"http://www.debian.org/security/2006/dsa-1217","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1217-1 linux-ftpd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454","name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#384454 - ftpd: Does not handle symlink? NFS? home directory - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200611-05.xml","name":"http://security.gentoo.org/glsa/glsa-200611-05.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  Netkit FTP Server: Privilege escalation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-5778","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-5778","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"5778","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linux-ftpd-ssl","cpe5":"linux-ftpd-ssl","cpe6":"0.17","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T20:04:55.404Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454"},{"name":"GLSA-200611-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200611-05.xml"},{"name":"20060825 ftpd chdir() while root","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/049014.html"},{"name":"21000","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/21000"},{"name":"22997","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/22997"},{"name":"DSA-1217","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2006/dsa-1217"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-08-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"ftpd in linux-ftpd 0.17, and possibly other versions, performs a chdir before setting the UID, which allows local users to bypass intended access restrictions by redirecting their home directory to a restricted directory."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2006-11-15T10:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454"},{"name":"GLSA-200611-05","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200611-05.xml"},{"name":"20060825 ftpd chdir() while root","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/049014.html"},{"name":"21000","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/21000"},{"name":"22997","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/22997"},{"name":"DSA-1217","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2006/dsa-1217"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-5778","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"ftpd in linux-ftpd 0.17, and possibly other versions, performs a chdir before setting the UID, which allows local users to bypass intended access restrictions by redirecting their home directory to a restricted directory."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454","refsource":"CONFIRM","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384454"},{"name":"GLSA-200611-05","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200611-05.xml"},{"name":"20060825 ftpd chdir() while root","refsource":"FULLDISC","url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-August/049014.html"},{"name":"21000","refsource":"BID","url":"http://www.securityfocus.com/bid/21000"},{"name":"22997","refsource":"SECUNIA","url":"http://secunia.com/advisories/22997"},{"name":"DSA-1217","refsource":"DEBIAN","url":"http://www.debian.org/security/2006/dsa-1217"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-5778","datePublished":"2006-11-07T18:00:00.000Z","dateReserved":"2006-11-07T00:00:00.000Z","dateUpdated":"2024-08-07T20:04:55.404Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2006-11-07 18:07:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:linux-ftpd-ssl:linux-ftpd-ssl:0.17:*:*:*:*:*:*:*","matchCriteriaId":"B5A1CDE0-A701-4331-908F-186BF6D13F13"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"5778","Ordinal":"1","Title":"CVE-2006-5778","CVE":"CVE-2006-5778","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"5778","Ordinal":"1","NoteData":"ftpd in linux-ftpd 0.17, and possibly other versions, performs a chdir before setting the UID, which allows local users to bypass intended access restrictions by redirecting their home directory to a restricted directory.","Type":"Description","Title":"CVE-2006-5778"},{"CveYear":"2006","CveId":"5778","Ordinal":"2","NoteData":"2006-11-07","Type":"Other","Title":"Published"},{"CveYear":"2006","CveId":"5778","Ordinal":"3","NoteData":"2006-11-15","Type":"Other","Title":"Modified"}]}}}