« Volver al listado

CVE-2004-2012

Estado: ModificadaAlta (7.2)—

The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (3)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2004-2012",
  "cveTags": [],
  "metrics": {
    "cvssMetricV2": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "version": "2.0",
          "baseScore": 7.2,
          "accessVector": "LOCAL",
          "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
          "authentication": "NONE",
          "integrityImpact": "COMPLETE",
          "accessComplexity": "LOW",
          "availabilityImpact": "COMPLETE",
          "confidentialityImpact": "COMPLETE"
        },
        "acInsufInfo": false,
        "impactScore": 10,
        "baseSeverity": "HIGH",
        "obtainAllPrivilege": true,
        "exploitabilityScore": 3.9,
        "obtainUserPrivilege": false,
        "obtainOtherPrivilege": false,
        "userInteractionRequired": false
      }
    ]
  },
  "affected": [
    {
      "source": "cve@mitre.org",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ]
    }
  ],
  "published": "2004-12-31T05:00:00.000",
  "references": [
    {
      "url": "ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://marc.info/?l=bugtraq&m=108432258920570&w=2",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://secunia.com/advisories/11585",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://www.securityfocus.com/bid/10320",
      "tags": [
        "Exploit"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16110",
      "source": "cve@mitre.org"
    },
    {
      "url": "ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://marc.info/?l=bugtraq&m=108432258920570&w=2",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://secunia.com/advisories/11585",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://www.securityfocus.com/bid/10320",
      "tags": [
        "Exploit"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/16110",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-Other"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges."
    }
  ],
  "lastModified": "2026-06-16T22:08:49.547",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:niels:provos_systrace:1.1:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "88D46C75-8F8E-4F71-AA02-E0C62CB78B96"
            },
            {
              "criteria": "cpe:2.3:a:niels:provos_systrace:1.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "BAC55D51-6C9E-4DB5-AA99-F7B57D8EA835"
            },
            {
              "criteria": "cpe:2.3:a:niels:provos_systrace:1.3:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "BB619025-39E9-4D41-8EE7-E99A4160BAEE"
            },
            {
              "criteria": "cpe:2.3:a:niels:provos_systrace:1.4:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "69B3A079-3F0D-46A8-AE39-81FDBE5DAAA7"
            },
            {
              "criteria": "cpe:2.3:a:niels:provos_systrace:1.5:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "682EFA1D-A5A1-49C7-9A14-0D84A0E63B13"
            },
            {
              "criteria": "cpe:2.3:a:vladimir_kotal:systrace_port_for_freebsd:2004-03-09:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "CC310EF4-A650-4F8E-A79D-DF66CFE32D28"
            },
            {
              "criteria": "cpe:2.3:a:vladimir_kotal:systrace_port_for_freebsd:2004-06-02:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "F02F4CD3-0893-4447-A79C-3E4254860BBF"
            }
          ],
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:netbsd:netbsd:2.0:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A3C3F588-98DA-4F6F-A083-2B9EE534C561"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "cve@mitre.org"
}