CVE-2004-0815
Vulnerability from cvelistv5
Published
2004-10-16 04:00
Modified
2024-08-08 00:31
Severity ?
Summary
The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via "/.////" style sequences in pathnames.
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T00:31:47.853Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://us4.samba.org/samba/news/#security_2.2.12"
          },
          {
            "name": "200529",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUNALERT",
              "x_transferred"
            ],
            "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1"
          },
          {
            "name": "20040930 Samba Security Announcement -- Potential Arbitrary File Access",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=109655827913457\u0026w=2"
          },
          {
            "name": "FLSA:2102",
            "tags": [
              "vendor-advisory",
              "x_refsource_FEDORA",
              "x_transferred"
            ],
            "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2102"
          },
          {
            "name": "20040930 Samba Arbitrary File Access Vulnerability",
            "tags": [
              "third-party-advisory",
              "x_refsource_IDEFENSE",
              "x_transferred"
            ],
            "url": "http://www.idefense.com/application/poi/display?id=146\u0026type=vulnerabilities\u0026flashstatus=true"
          },
          {
            "name": "20041005 ERRATA: Potential Arbitrary File Access (CAN-2004-0815)",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/archive/1/377618"
          },
          {
            "name": "DSA-600",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2004/dsa-600"
          },
          {
            "name": "RHSA-2004:498",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://www.redhat.com/support/errata/RHSA-2004-498.html"
          },
          {
            "name": "CLA-2004:873",
            "tags": [
              "vendor-advisory",
              "x_refsource_CONECTIVA",
              "x_transferred"
            ],
            "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000873"
          },
          {
            "name": "11281",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/11281"
          },
          {
            "name": "MDKSA-2004:104",
            "tags": [
              "vendor-advisory",
              "x_refsource_MANDRAKE",
              "x_transferred"
            ],
            "url": "http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104"
          },
          {
            "name": "2004-0051",
            "tags": [
              "vendor-advisory",
              "x_refsource_TRUSTIX",
              "x_transferred"
            ],
            "url": "http://www.trustix.org/errata/2004/0051/"
          },
          {
            "name": "57664",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUNALERT",
              "x_transferred"
            ],
            "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1"
          },
          {
            "name": "101584",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUNALERT",
              "x_transferred"
            ],
            "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1"
          },
          {
            "name": "SUSE-SA:2004:035",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://www.novell.com/linux/security/advisories/2004_35_samba.html"
          },
          {
            "name": "samba-file-access(17556)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17556"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2004-09-30T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-07-10T14:57:01",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://us4.samba.org/samba/news/#security_2.2.12"
        },
        {
          "name": "200529",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUNALERT"
          ],
          "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1"
        },
        {
          "name": "20040930 Samba Security Announcement -- Potential Arbitrary File Access",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=109655827913457\u0026w=2"
        },
        {
          "name": "FLSA:2102",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA"
          ],
          "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2102"
        },
        {
          "name": "20040930 Samba Arbitrary File Access Vulnerability",
          "tags": [
            "third-party-advisory",
            "x_refsource_IDEFENSE"
          ],
          "url": "http://www.idefense.com/application/poi/display?id=146\u0026type=vulnerabilities\u0026flashstatus=true"
        },
        {
          "name": "20041005 ERRATA: Potential Arbitrary File Access (CAN-2004-0815)",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://www.securityfocus.com/archive/1/377618"
        },
        {
          "name": "DSA-600",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2004/dsa-600"
        },
        {
          "name": "RHSA-2004:498",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://www.redhat.com/support/errata/RHSA-2004-498.html"
        },
        {
          "name": "CLA-2004:873",
          "tags": [
            "vendor-advisory",
            "x_refsource_CONECTIVA"
          ],
          "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000873"
        },
        {
          "name": "11281",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/11281"
        },
        {
          "name": "MDKSA-2004:104",
          "tags": [
            "vendor-advisory",
            "x_refsource_MANDRAKE"
          ],
          "url": "http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104"
        },
        {
          "name": "2004-0051",
          "tags": [
            "vendor-advisory",
            "x_refsource_TRUSTIX"
          ],
          "url": "http://www.trustix.org/errata/2004/0051/"
        },
        {
          "name": "57664",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUNALERT"
          ],
          "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1"
        },
        {
          "name": "101584",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUNALERT"
          ],
          "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1"
        },
        {
          "name": "SUSE-SA:2004:035",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://www.novell.com/linux/security/advisories/2004_35_samba.html"
        },
        {
          "name": "samba-file-access(17556)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17556"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2004-0815",
          "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": "The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://us4.samba.org/samba/news/#security_2.2.12",
              "refsource": "CONFIRM",
              "url": "http://us4.samba.org/samba/news/#security_2.2.12"
            },
            {
              "name": "200529",
              "refsource": "SUNALERT",
              "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1"
            },
            {
              "name": "20040930 Samba Security Announcement -- Potential Arbitrary File Access",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=109655827913457\u0026w=2"
            },
            {
              "name": "FLSA:2102",
              "refsource": "FEDORA",
              "url": "https://bugzilla.fedora.us/show_bug.cgi?id=2102"
            },
            {
              "name": "20040930 Samba Arbitrary File Access Vulnerability",
              "refsource": "IDEFENSE",
              "url": "http://www.idefense.com/application/poi/display?id=146\u0026type=vulnerabilities\u0026flashstatus=true"
            },
            {
              "name": "20041005 ERRATA: Potential Arbitrary File Access (CAN-2004-0815)",
              "refsource": "BUGTRAQ",
              "url": "http://www.securityfocus.com/archive/1/377618"
            },
            {
              "name": "DSA-600",
              "refsource": "DEBIAN",
              "url": "http://www.debian.org/security/2004/dsa-600"
            },
            {
              "name": "RHSA-2004:498",
              "refsource": "REDHAT",
              "url": "http://www.redhat.com/support/errata/RHSA-2004-498.html"
            },
            {
              "name": "CLA-2004:873",
              "refsource": "CONECTIVA",
              "url": "http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000873"
            },
            {
              "name": "11281",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/11281"
            },
            {
              "name": "MDKSA-2004:104",
              "refsource": "MANDRAKE",
              "url": "http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104"
            },
            {
              "name": "2004-0051",
              "refsource": "TRUSTIX",
              "url": "http://www.trustix.org/errata/2004/0051/"
            },
            {
              "name": "57664",
              "refsource": "SUNALERT",
              "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1"
            },
            {
              "name": "101584",
              "refsource": "SUNALERT",
              "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1"
            },
            {
              "name": "SUSE-SA:2004:035",
              "refsource": "SUSE",
              "url": "http://www.novell.com/linux/security/advisories/2004_35_samba.html"
            },
            {
              "name": "samba-file-access(17556)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17556"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2004-0815",
    "datePublished": "2004-10-16T04:00:00",
    "dateReserved": "2004-08-25T00:00:00",
    "dateUpdated": "2024-08-08T00:31:47.853Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2004-0815\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2004-11-03T05:00:00.000\",\"lastModified\":\"2018-10-30T16:25:11.107\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \\\"/.////\\\" style sequences in pathnames.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n unix_clena_name en Samba 2.2.x a 2.2.11, y 3.0.x anterirores a 3.0.2a, recorta ciertos nombres de directorio a sus rutas absolutas, lo que podr\u00eda permitir a atacantes evitar la restricticiones de espeficadas de lectura, ejecuci\u00f3n y listado de carpetas compartidas mediante secuencias del estilo \\\"/.////\\\" en rutas.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":7.5},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":true,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"65AC9643-E1A5-4013-9607-17C6CC7CC63B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.0a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"090E2541-2DBA-41CB-A792-9E703C797949\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.1a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"19F65FF3-71F8-4278-A823-A6E0FF65D9F1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8C71CB60-2689-4A4A-9509-E2F3135E6491\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0129E404-3AE8-4F0E-89CB-7F2FA5B47011\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.3a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"614547F5-9C3F-489B-9B72-91B0FF646CCC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A052141C-874D-4ED0-99FB-D7468FACFC6E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9739EA65-9FA8-425E-B355-E690773D5B1B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3B618F94-DAC2-4A97-9F7F-8BCEA3199769\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EEE7C057-B024-4417-B572-5D396366620E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.7a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"34DC3500-F8F0-46E1-B0AA-C2474CCB3DAA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CFCD334C-FB95-41A6-8F4C-FCC4E70CE930\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.8a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"75C86202-3150-440C-B048-BB039E9D3606\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.9:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"98CAF474-0C3A-4E49-8CF8-9DF14D84CDCC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2.11:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C92304DE-CFBB-4C03-AA7F-54DB3C14ECF0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:2.2a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CC2AE5A9-62C5-4DCE-85B3-16F48695B3B4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:3.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F84FB25B-5EA5-48DC-B528-E8CCF714C919\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:3.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"216145B7-4716-42F7-90DC-03884ECB2271\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:3.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"898968E5-577E-4B86-A804-EBEC67157A61\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:samba:samba:3.0.2a:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"920EF846-41D1-429D-AF0F-3D7950F93069\"}]}]}],\"references\":[{\"url\":\"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000873\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://marc.info/?l=bugtraq\u0026m=109655827913457\u0026w=2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://us4.samba.org/samba/news/#security_2.2.12\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.debian.org/security/2004/dsa-600\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.idefense.com/application/poi/display?id=146\u0026type=vulnerabilities\u0026flashstatus=true\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Vendor Advisory\"]},{\"url\":\"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.novell.com/linux/security/advisories/2004_35_samba.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.redhat.com/support/errata/RHSA-2004-498.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.securityfocus.com/archive/1/377618\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.securityfocus.com/bid/11281\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.trustix.org/errata/2004/0051/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://bugzilla.fedora.us/show_bug.cgi?id=2102\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/17556\",\"source\":\"cve@mitre.org\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.