nday
CVE-2005-4158

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2)…Titre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 30 jours avant la publication de la fiche CVE. 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.

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.

local
AV:L in AV:L/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:L/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 26498, 27056, 27057

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
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
2005-12-11T02:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2005-11-11, date seule +2 autres
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are included by the script.

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

Journal des événements

2005-11-11date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Sudo Perl 1.6.x - Environment Variable Handling Security Bypass » (EDB-26498). Code vérifié par Exploit-DB.

source exploitdb 26498 · importé en masse par nday le · brut
{
  "id": 24505,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/26498",
  "occurred_at": "2005-11-11T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "26498",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/26498",
    "file": "exploits/linux/local/26498.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Sudo Perl 1.6.x - Environment Variable Handling Security Bypass",
    "author": "Charles Morris",
    "edb_id": 26498,
    "cve_ids": [
      "CVE-2005-4158"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2005-11-11",
    "date_updated": "2013-07-01",
    "date_published": "2005-11-11"
  }
}
+DISdivulgation

Fiche CVE publiée par mitre.

source cvelist · importé en masse par nday le · brut
{
  "id": 87686,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2005-4158",
  "occurred_at": "2005-12-11T02:00:00Z",
  "observed_at": "2026-11-13T05:35:42.579843Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2005-12-11T02:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2006-01-09date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Sudo 1.6.x - Environment Variable Handling Security Bypass (1) » (EDB-27056). Code vérifié par Exploit-DB.

source exploitdb 27056 · importé en masse par nday le · brut
{
  "id": 24494,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/27056",
  "occurred_at": "2006-01-09T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "27056",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/27056",
    "file": "exploits/linux/local/27056.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Sudo 1.6.x - Environment Variable Handling Security Bypass (1)",
    "author": "Breno Silva Pinto",
    "edb_id": 27056,
    "cve_ids": [
      "CVE-2005-4158"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2006-01-09",
    "date_updated": "2013-07-24",
    "date_published": "2006-01-09"
  }
}
2006-01-09date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Sudo 1.6.x - Environment Variable Handling Security Bypass (2) » (EDB-27057). Code vérifié par Exploit-DB.

source exploitdb 27057 · importé en masse par nday le · brut
{
  "id": 24495,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/27057",
  "occurred_at": "2006-01-09T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "27057",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/27057",
    "file": "exploits/linux/local/27057.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Sudo 1.6.x - Environment Variable Handling Security Bypass (2)",
    "author": "Breno Silva Pinto",
    "edb_id": 27057,
    "cve_ids": [
      "CVE-2005-4158"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2006-01-09",
    "date_updated": "2013-07-24",
    "date_published": "2006-01-09"
  }
}

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.