漏洞信息详情
NetBSD跟踪进程(2)漏洞
- CNNVD编号:CNNVD-200002-014
- 危害等级: 高危
- CVE编号:
CVE-2000-0157
- 漏洞类型:
其他
- 发布时间:
2000-02-01
- 威胁类型:
本地
- 更新时间:
2005-05-02
- 厂 商:
netbsd - 漏洞来源:
This vulnerability… -
漏洞简介
NetBSD VAX上的跟踪进程存在漏洞。本地用户可以通过修改调试进程中的PSL内容提升特权。
漏洞公告
Current versions of the NetBSD tree (-current) are not vulnerable. If you are running a kernel built from sources prior to 12/12/99, on VAX hardware, you should upgrade immediately.
The following patch can be applied to 1.4.1 kernels:
Index: machdep.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/vax/vax/machdep.c,v
retrieving revision 1.76.2.1
diff -c -r1.76.2.1 machdep.c
*** machdep.c 1999/04/16 16:26:01 1.76.2.1
– — machdep.c 1999/12/12 11:08:46
***************
*** 770,776 ****
tf->fp = regs->fp;
tf->sp = regs->sp;
tf->pc = regs->pc;
! tf->psl = regs->psl;
return 0;
}
– — 770,777 —-
tf->fp = regs->fp;
tf->sp = regs->sp;
tf->pc = regs->pc;
! tf->psl = (regs->psl|PSL_U|PSL_PREVU) &
! ~(PSL_MBZ|PSL_IS|PSL_IPL1F|PSL_CM); /* Allow compat mode? */
return 0;
}
参考网址
来源: BID
名称: 992
链接:http://www.securityfocus.com/bid/992
来源: NETBSD
名称: 1999-012
链接:ftp://ftp.NetBSD.ORG/pub/NetBSD/misc/security/advisories/NetBSD-SA1999-012.txt.asc