nday
CVE-2006-5178

PHP : race conditionTitre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 1 170 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typerace condition accesslocalno authentication required exploitationExploit-DB productPHP product typeopen-source library / framework
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-362, stated by NVD's analysts
local
AV:L in AV:L/AC:H/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:L/AC:H/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 10557
PHP
CPE names NVD's analysts give as vulnerable: a:php:php
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:php:phpthe product type of PHP in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

étape actuelle
POC
divulgation
délai avant PoC
T+1170d POC : date seule
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2006-10-06T00:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2009-12-19, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Journal des événements

+DISdivulgation

Fiche CVE publiée par mitre.

source cvelist · importé en masse par nday le · brut
{
  "id": 93505,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2006-5178",
  "occurred_at": "2006-10-06T00:00:00Z",
  "observed_at": "2026-11-13T05:35:46.749541Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2006-10-06T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2009-12-19date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass » (EDB-10557). Code vérifié par Exploit-DB.

source exploitdb 10557 · importé en masse par nday le · brut
{
  "id": 28652,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/10557",
  "occurred_at": "2009-12-19T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "10557",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/10557",
    "file": "exploits/php/local/10557.php",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "PHP 5.2.12/5.3.1 - 'symlink()' open_basedir Bypass",
    "author": "Maksymilian Arciemowicz",
    "edb_id": 10557,
    "cve_ids": [
      "CVE-2007-4652",
      "CVE-2006-5178"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-12-18",
    "date_updated": null,
    "date_published": "2009-12-19"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.