{"id":"EDB-3383","name":"Plan 9 Kernel - 'devenv.c OTRUNC/pwrite' Local Privilege Escalation (LPE)","description":"Plan 9 Kernel - 'devenv.c OTRUNC/pwrite' Local Privilege Escalation (LPE)","cves":["CVE-2007-1189"],"author":"Don Bailey","published":"2007-02-28","platform":"plan9","type":"local","language":"C","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/3383","path":"exploits/plan9/local/3383.c","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-3383.c","vulnerabilities":[{"id":"CVE-2007-1189","state":"PUBLISHED","title":null,"titleSource":null,"description":"Integer overflow in the envwrite function in the Alcatel-Lucent Bell Labs Plan 9 kernel allows local users to overwrite certain memory addresses with kernel memory via a large n argument, as demonstrated by (1) modifying the iseve function to gain privileges and (2) making the devpermcheck function grant unrestricted device permissions.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-1189","cvss":{"version":"2.0","baseScore":7.2,"severity":"high","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-1189"},"updatedAt":"2024-08-07T12:50:34.399Z","retrievedAt":"2026-11-26T16:25:00.699Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-3383.png?v=2","url":"https://exploitbin.com/exploits/EDB-3383","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-3383/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-3383/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}