{"api_version":"1","generated_at":"2026-07-23T08:02:24+00:00","cve":"CVE-2004-0647","urls":{"html":"https://cve.report/CVE-2004-0647","api":"https://cve.report/api/cve/CVE-2004-0647.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-0647","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-0647"},"summary":{"title":"CVE-2004-0647","description":"shorewall 1.4.10c and earlier, and 2.0.x before 2.0.3a, allows local users to overwrite arbitrary files via a symlink attack on the chains-$$ temporary file.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-08-06 04:00:00","updated_at":"2025-04-03 01:03:51"},"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":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16651","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16651","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Gentoo Linux Documentation\n--\n  Shorewall : Insecure temp file handling","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:080","name":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:080","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html","name":"http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[Shorewall-announce] URGENT: Shorewall Security Vulnerability","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0647","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0647","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":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.3a","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"1.4.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"2.0.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"2.0.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"647","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shorewall","cpe5":"shorewall","cpe6":"2.0.3","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-08T00:24:27.055Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"shorewall-symlink(16651)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16651"},{"name":"[Shorewall-announce] 20040628 URGENT: Shorewall Security Vulnerability","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html"},{"name":"MDKSA-2004:080","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"],"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:080"},{"name":"GLSA-200407-07","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-06-28T00:00:00.000Z","descriptions":[{"lang":"en","value":"shorewall 1.4.10c and earlier, and 2.0.x before 2.0.3a, allows local users to overwrite arbitrary files via a symlink attack on the chains-$$ temporary file."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"shorewall-symlink(16651)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16651"},{"name":"[Shorewall-announce] 20040628 URGENT: Shorewall Security Vulnerability","tags":["mailing-list","x_refsource_MLIST"],"url":"http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html"},{"name":"MDKSA-2004:080","tags":["vendor-advisory","x_refsource_MANDRAKE"],"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:080"},{"name":"GLSA-200407-07","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-0647","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":"shorewall 1.4.10c and earlier, and 2.0.x before 2.0.3a, allows local users to overwrite arbitrary files via a symlink attack on the chains-$$ temporary file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"shorewall-symlink(16651)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16651"},{"name":"[Shorewall-announce] 20040628 URGENT: Shorewall Security Vulnerability","refsource":"MLIST","url":"http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html"},{"name":"MDKSA-2004:080","refsource":"MANDRAKE","url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:080"},{"name":"GLSA-200407-07","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200407-07.xml"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-0647","datePublished":"2004-07-13T04:00:00.000Z","dateReserved":"2004-07-09T00:00:00.000Z","dateUpdated":"2024-08-08T00:24:27.055Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-08-06 04:00:00","lastModifiedDate":"2025-04-03 01:03:51","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":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4:*:*:*:*:*:*:*","matchCriteriaId":"B09DE7E2-CC5F-415B-A392-D68AB5D5183A"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"F9607C7E-6F86-4912-A376-08AF7BF02C1D"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.2:*:*:*:*:*:*:*","matchCriteriaId":"36381169-72B8-4A24-BAF2-BEC34ED111CE"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.3:*:*:*:*:*:*:*","matchCriteriaId":"BB8C6C0C-AFFD-4245-9BC8-315449A93630"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.3a:*:*:*:*:*:*:*","matchCriteriaId":"755E1346-339F-4910-A360-A54A7C7248CC"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.4:*:*:*:*:*:*:*","matchCriteriaId":"5484FDC1-69C9-4E41-AC5C-9F27AAAA21F2"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.5:*:*:*:*:*:*:*","matchCriteriaId":"27002D31-C070-438D-B673-883E53604484"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.6:*:*:*:*:*:*:*","matchCriteriaId":"51856967-B4E8-492F-9A7D-ABEDA30DD002"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.7:*:*:*:*:*:*:*","matchCriteriaId":"C908BE61-EC82-4FFA-9F70-A62DCB61B7E7"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.8:*:*:*:*:*:*:*","matchCriteriaId":"F5D91047-9FFE-434F-AA74-8CAD5FFA1D47"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.9:*:*:*:*:*:*:*","matchCriteriaId":"F8AAC279-B154-4591-90C8-4026DFE486EA"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:1.4.10:*:*:*:*:*:*:*","matchCriteriaId":"A6FC0B9A-1B52-4983-A8DB-A27EDB16C399"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:2.0:*:*:*:*:*:*:*","matchCriteriaId":"FA74BD87-28A4-479B-A02C-C5EF0FE99033"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:2.0.1:*:*:*:*:*:*:*","matchCriteriaId":"FA3C10C9-AB0C-4CDB-82C2-606FC92799E3"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:2.0.2:*:*:*:*:*:*:*","matchCriteriaId":"444C2974-82B2-49D9-B6D2-6E6BB19A100B"},{"vulnerable":true,"criteria":"cpe:2.3:a:shorewall:shorewall:2.0.3:*:*:*:*:*:*:*","matchCriteriaId":"FF76A1B4-3B30-408B-9E8D-627BA55B44B7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"647","Ordinal":"1","Title":"CVE-2004-0647","CVE":"CVE-2004-0647","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"647","Ordinal":"1","NoteData":"shorewall 1.4.10c and earlier, and 2.0.x before 2.0.3a, allows local users to overwrite arbitrary files via a symlink attack on the chains-$$ temporary file.","Type":"Description","Title":"CVE-2004-0647"},{"CveYear":"2004","CveId":"647","Ordinal":"2","NoteData":"2004-07-13","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"647","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}