CVE-2006-5178 (GCVE-0-2006-5178)

Vulnerability from cvelistv5 – Published: 2006-10-06 00:00 – Updated: 2024-08-07 19:41
VLAI
Summary
Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
http://lists.grok.org.uk/pipermail/full-disclosur… mailing-listx_refsource_FULLDISC
http://www.securityfocus.com/archive/1/448953/100… vendor-advisoryx_refsource_OPENPKG
http://www.securityfocus.com/archive/1/447649/100… mailing-listx_refsource_BUGTRAQ
http://www.turbolinux.com/security/2006/TLSA-2006… vendor-advisoryx_refsource_TURBO
http://www.securityfocus.com/bid/20326 vdb-entryx_refsource_BID
http://securityreason.com/securityalert/1692 third-party-advisoryx_refsource_SREASON
http://www.neosecurityteam.net/index.php?action=a… x_refsource_MISC
http://secunia.com/advisories/22235 third-party-advisoryx_refsource_SECUNIA
http://www.securityfocus.com/archive/1/448020/100… mailing-listx_refsource_BUGTRAQ
http://www.vupen.com/english/advisories/2006/3901 vdb-entryx_refsource_VUPEN
https://exchange.xforce.ibmcloud.com/vulnerabilit… vdb-entryx_refsource_XF
http://www.mandriva.com/security/advisories?name=… vendor-advisoryx_refsource_MANDRIVA
http://www.hardened-php.net/advisory_082006.132.html x_refsource_MISC
http://securitytracker.com/id?1016977 vdb-entryx_refsource_SECTRACK
http://secunia.com/advisories/22424 third-party-advisoryx_refsource_SECUNIA
Date Public
2006-10-03 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-07T19:41:04.388Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_FULLDISC",
              "x_transferred"
            ],
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"
          },
          {
            "name": "OpenPKG-SA-2006.023",
            "tags": [
              "vendor-advisory",
              "x_refsource_OPENPKG",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded"
          },
          {
            "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded"
          },
          {
            "name": "TLSA-2006-38",
            "tags": [
              "vendor-advisory",
              "x_refsource_TURBO",
              "x_transferred"
            ],
            "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
          },
          {
            "name": "20326",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/20326"
          },
          {
            "name": "1692",
            "tags": [
              "third-party-advisory",
              "x_refsource_SREASON",
              "x_transferred"
            ],
            "url": "http://securityreason.com/securityalert/1692"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26"
          },
          {
            "name": "22235",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/22235"
          },
          {
            "name": "20061009 PHP open_basedir with symlink() function Race Condition PoC exploit",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded"
          },
          {
            "name": "ADV-2006-3901",
            "tags": [
              "vdb-entry",
              "x_refsource_VUPEN",
              "x_transferred"
            ],
            "url": "http://www.vupen.com/english/advisories/2006/3901"
          },
          {
            "name": "php-openbasedir-security-bypass(29340)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"
          },
          {
            "name": "MDKSA-2006:185",
            "tags": [
              "vendor-advisory",
              "x_refsource_MANDRIVA",
              "x_transferred"
            ],
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://www.hardened-php.net/advisory_082006.132.html"
          },
          {
            "name": "1016977",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://securitytracker.com/id?1016977"
          },
          {
            "name": "22424",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/22424"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2006-10-03T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-10-17T20:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_FULLDISC"
          ],
          "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"
        },
        {
          "name": "OpenPKG-SA-2006.023",
          "tags": [
            "vendor-advisory",
            "x_refsource_OPENPKG"
          ],
          "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded"
        },
        {
          "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded"
        },
        {
          "name": "TLSA-2006-38",
          "tags": [
            "vendor-advisory",
            "x_refsource_TURBO"
          ],
          "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
        },
        {
          "name": "20326",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/20326"
        },
        {
          "name": "1692",
          "tags": [
            "third-party-advisory",
            "x_refsource_SREASON"
          ],
          "url": "http://securityreason.com/securityalert/1692"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26"
        },
        {
          "name": "22235",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/22235"
        },
        {
          "name": "20061009 PHP open_basedir with symlink() function Race Condition PoC exploit",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded"
        },
        {
          "name": "ADV-2006-3901",
          "tags": [
            "vdb-entry",
            "x_refsource_VUPEN"
          ],
          "url": "http://www.vupen.com/english/advisories/2006/3901"
        },
        {
          "name": "php-openbasedir-security-bypass(29340)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"
        },
        {
          "name": "MDKSA-2006:185",
          "tags": [
            "vendor-advisory",
            "x_refsource_MANDRIVA"
          ],
          "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://www.hardened-php.net/advisory_082006.132.html"
        },
        {
          "name": "1016977",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://securitytracker.com/id?1016977"
        },
        {
          "name": "22424",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/22424"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2006-5178",
          "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": "Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
              "refsource": "FULLDISC",
              "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"
            },
            {
              "name": "OpenPKG-SA-2006.023",
              "refsource": "OPENPKG",
              "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded"
            },
            {
              "name": "20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability",
              "refsource": "BUGTRAQ",
              "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded"
            },
            {
              "name": "TLSA-2006-38",
              "refsource": "TURBO",
              "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
            },
            {
              "name": "20326",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/20326"
            },
            {
              "name": "1692",
              "refsource": "SREASON",
              "url": "http://securityreason.com/securityalert/1692"
            },
            {
              "name": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26",
              "refsource": "MISC",
              "url": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26"
            },
            {
              "name": "22235",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/22235"
            },
            {
              "name": "20061009 PHP open_basedir with symlink() function Race Condition PoC exploit",
              "refsource": "BUGTRAQ",
              "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded"
            },
            {
              "name": "ADV-2006-3901",
              "refsource": "VUPEN",
              "url": "http://www.vupen.com/english/advisories/2006/3901"
            },
            {
              "name": "php-openbasedir-security-bypass(29340)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"
            },
            {
              "name": "MDKSA-2006:185",
              "refsource": "MANDRIVA",
              "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"
            },
            {
              "name": "http://www.hardened-php.net/advisory_082006.132.html",
              "refsource": "MISC",
              "url": "http://www.hardened-php.net/advisory_082006.132.html"
            },
            {
              "name": "1016977",
              "refsource": "SECTRACK",
              "url": "http://securitytracker.com/id?1016977"
            },
            {
              "name": "22424",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/22424"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2006-5178",
    "datePublished": "2006-10-06T00:00:00.000Z",
    "dateReserved": "2006-10-05T00:00:00.000Z",
    "dateUpdated": "2024-08-07T19:41:04.388Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2006-5178",
      "date": "2026-09-21",
      "epss": "0.00658",
      "percentile": "0.4973"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1C85C56B-D27F-433F-A268-34463619B183",
                    "versionEndIncluding": "5.1.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EDBEC461-D553-41B7-8D85-20B6A933C21C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "78BAA18C-E5A0-4210-B64B-709BBFF31EEC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*",
                    "matchCriteriaId": "419867C6-37BE-43B4-BFE0-6325FEE3807D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*",
                    "matchCriteriaId": "37896E87-95C2-4039-8362-BC03B1C56706",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "13A159B4-B847-47DE-B7F8-89384E6C551B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*",
                    "matchCriteriaId": "8667FBC6-04B6-40E5-93B3-6C22BEED4B26",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0F39A1B1-416E-4436-8007-733B66904A14",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DD5FC218-3DDB-4981-81C9-6C69F8DA6F4D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FC2E5F96-66D2-4F99-A74D-6A2305EE218E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2D724D09-0D45-4701-93C9-348301217C8C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "FC6A6F47-5C7C-4F82-B23B-9C959C69B27F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "AE1A4DA6-6181-43A8-B0D8-5A016C3E75FF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "6E36203C-1392-49BB-AE7E-49626963D673",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6713614A-B14E-4A85-BF89-ED780068FC68",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FD95F8EB-B428-4B3C-9254-A5DECE03A989",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "069EB7EE-06B9-454F-9007-8DE5DCA33C53",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*",
                    "matchCriteriaId": "BBA861A2-F0CD-4DBB-B43A-4970EB114DA5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "18BF5BE6-09EA-45AD-93BF-2BEF1742534E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EC1460DF-1687-4314-BF1A-01290B20302D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "470380B0-3982-48FC-871B-C8B43C81900D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9FAA7712-10F0-4BB6-BAFB-D0806AFD9DE2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "63190D9B-7958-4B93-87C6-E7D5A572F6DC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7AB2E2E8-81D6-4973-AC0F-AA644EE99DD3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4AAF4586-74FF-47C6-864B-656FDF3F33D0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B14EF0C7-61F2-47A4-B7F8-43FF03C62DCA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5245F990-B4A7-4ED8-909D-B8137CE79FAA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5652D5B0-68E4-4239-B9B7-599AFCF4C53E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "57B71BB7-5239-4860-9100-8CABC3992D8C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "72BD447A-4EED-482C-8F61-48FAD4FCF8BA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B3F9DF9D-15E5-4387-ABE3-A7583331A928",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "11579E5C-D7CF-46EE-B015-5F4185C174E7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C69CDE21-2FD4-4529-8F02-8709CF5E3D7E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "221B9AC4-C63C-4386-B3BD-E4BC102C6124",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "78B7BA75-2A32-4A8E-ADF8-BCB4FC48CB5C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2BEA491B-77FD-4760-8F6F-3EBC6BD810D9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BB25CFBB-347C-479E-8853-F49DD6CBD7D4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4D2937B3-D034-400E-84F5-33833CE3764D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "71AEE8B4-FCF8-483B-8D4C-2E80A02E925E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "0F9D7662-A5B6-41D0-B6A1-E5ABC5ABA47F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "E3797AB5-9E49-4251-A212-B6E5D9996764",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "D61D9CE9-F7A3-4F52-9D4E-B2473804ECB7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7007E77F-60EF-44D8-9676-15B59DF1325F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "17437AED-816A-4CCF-96DE-8C3D0CC8DB2B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "74E7AE59-1CB0-4300-BBE0-109F909789EF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9222821E-370F-4616-B787-CC22C2F4E7CD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9809449F-9A76-4318-B233-B4C2950A6EA9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0AA962D4-A4EC-4DC3-B8A9-D10941B92781",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F8CDFEF9-C367-4800-8A2F-375C261FAE55",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "16E43B88-1563-4EFD-9267-AE3E8C35D67A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "11E5715F-A8BC-49EF-836B-BB78E1BC0790",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5FA68843-158E-463E-B68A-1ACF041C4E10",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1874F637-77E2-4C4A-BF92-AEE96A60BFB0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9592B32E-55CD-42D0-901E-8319823BC820",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink."
          },
          {
            "lang": "es",
            "value": "Condici\u00f3n de carrera en la funci\u00f3n symlink en PHP 5.1.6 y anteriores permite a usuarios locales evitar la restricci\u00f3n open_basedir usando una combinaci\u00f3n de las funciones symlink, mkdir, y unlink para cambiar la ruta de archivo tras la comprobaci\u00f3n de open_basedir y antes de que el archivo es abierto por el sistema subyacente, como ha sido demostrado enlazando simb\u00f3licamente un enlace simb\u00f3lico dentro de un subdirectorio, para que apunte a un directorio padre mediante secuencias .. (punto punto), y entonces desenlazar el enlace  simb\u00f3lico resultante."
          }
        ],
        "id": "CVE-2006-5178",
        "lastModified": "2026-04-23T00:35:47.467",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "HIGH",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "COMPLETE",
                "baseScore": 6.2,
                "confidentialityImpact": "COMPLETE",
                "integrityImpact": "COMPLETE",
                "vectorString": "AV:L/AC:H/Au:N/C:C/I:C/A:C",
                "version": "2.0"
              },
              "exploitabilityScore": 1.9,
              "impactScore": 10.0,
              "obtainAllPrivilege": true,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2006-10-10T04:06:00.000",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit"
            ],
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/22235"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://secunia.com/advisories/22424"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://securityreason.com/securityalert/1692"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit"
            ],
            "url": "http://securitytracker.com/id?1016977"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "http://www.hardened-php.net/advisory_082006.132.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit"
            ],
            "url": "http://www.securityfocus.com/bid/20326"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.vupen.com/english/advisories/2006/3901"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit"
            ],
            "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/22235"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://secunia.com/advisories/22424"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://securityreason.com/securityalert/1692"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit"
            ],
            "url": "http://securitytracker.com/id?1016977"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "http://www.hardened-php.net/advisory_082006.132.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:185"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.neosecurityteam.net/index.php?action=advisories\u0026id=26"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securityfocus.com/archive/1/447649/100/0/threaded"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securityfocus.com/archive/1/448020/100/0/threaded"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securityfocus.com/archive/1/448953/100/0/threaded"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit"
            ],
            "url": "http://www.securityfocus.com/bid/20326"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.vupen.com/english/advisories/2006/3901"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29340"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vendorComments": [
          {
            "comment": "We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1\nand http://www.php.net/security-note.php",
            "lastModified": "2006-12-04T00:00:00",
            "organization": "Red Hat"
          }
        ],
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-362"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…