发布时间 :2004-12-31 00:00:00
修订时间 :2017-07-10 21:30:20

[原文]Buffer overflow in the KSDWRTB function in the dbms_system package (dbms_system.ksdwrt) for Oracle 9i Database Server Release 2 and, 9i Release 1 and, and 8i Release 1, allows remote authorized users to execute arbitrary code via a long second argument.

[CNNVD]Oracle 8i/9i DBMS_SYSTEM.KSDWRT()缓冲区溢出漏洞(CNNVD-200412-755)

        Oracle Database是一款商业性质大型数据库系统。
        Oracle Database的KSDWRT()函数对参数检查缺少充分编辑缓冲区检查,远程攻击者可以利用这个漏洞进行缓冲区溢出攻击,可能以进程权限执行任意指令。

- CVSS (基础分值)

CVSS分值: 8.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CWE (弱点类目)

CWE-119 [内存缓冲区边界内操作的限制不恰当]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  FULLDISC  20040905 Buffer Overflow in DBMS_SYSTEM.KSDWRT() in Oracle8i - 9i
(VENDOR_ADVISORY)  IDEFENSE  20040902 Oracle Database Server dbms_system.ksdwrt Buffer Overflow Vulnerability
(PATCH)  BID  11100
(UNKNOWN)  XF  oracle-dbmssystem-bo(17254)

- 漏洞信息

Oracle 8i/9i DBMS_SYSTEM.KSDWRT()缓冲区溢出漏洞
高危 边界条件错误
2004-12-31 00:00:00 2006-04-21 00:00:00
        Oracle Database是一款商业性质大型数据库系统。
        Oracle Database的KSDWRT()函数对参数检查缺少充分编辑缓冲区检查,远程攻击者可以利用这个漏洞进行缓冲区溢出攻击,可能以进程权限执行任意指令。

- 公告与补丁


- 漏洞信息

Oracle Database Server dbms_system.ksdwrt() Function Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Unknown Vendor Verified

- 漏洞描述

Oracle Database Server contains a flaw that may allow a remote attacker to execute arbitrary code. The issue is due to the dbms_system.ksdwrt() function not properly sanitizing user input. If an attacker provides a specially crafted argument for the second argument of this function, a buffer overflow occurs potentially allowing code execution.

- 时间线

2004-09-10 Unknow
Unknow Unknow

- 解决方案

Upgrade to version R1 or higher, as it has been reported to fix this vulnerability. Additionally, Oracle has provided a patch (9ir2 Patchset 4 ( to address this issue.

- 相关参考

- 漏洞作者

- 漏洞信息

Oracle Database Server dbms_system.ksdwrt Remote Buffer Overflow Vulnerability
Boundary Condition Error 11100
Yes No
2004-09-03 12:00:00 2009-07-12 07:06:00
Discovery is credited to Alexander Kornbrust.

- 受影响的程序版本

Oracle Oracle9i Standard Edition 9.2 .0.3
Oracle Oracle9i Standard Edition 9.0.1 .5
Oracle Oracle9i Standard Edition 9.0.1 .4
Oracle Oracle9i Standard Edition 9.0 .2.4
Oracle Oracle9i Personal Edition 9.2 .0.3
Oracle Oracle9i Personal Edition 9.0.1 .5
Oracle Oracle9i Personal Edition 9.0.1 .4
Oracle Oracle9i Personal Edition 9.0 .2.4
Oracle Oracle9i Enterprise Edition 9.2 .0.3
Oracle Oracle9i Enterprise Edition 9.0.1 .5
Oracle Oracle9i Enterprise Edition 9.0.1 .4
Oracle Oracle9i Enterprise Edition 9.0 .2.4
Oracle Oracle8i Standard Edition 8.1.7 .4
Oracle Oracle8i Enterprise Edition 8.1.7 .4.0

- 漏洞讨论

A remotely exploitable buffer overflow exists in Oracle Database Server.

The issue can be triggered when an overly long string is passed to an internal logging function. Authorized users could exploit this issue to execute arbitrary code in the context of the server process or to cause a denial of service.

This issue corresponds to one of the unspecified vulnerabilities mentioned in BID 10871 and addressed by Oracle Alert #68.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: <>.

- 解决方案

Oracle has released an alert (#68) and a patch to address these issues. Information regarding obtaining and applying an appropriate patch can be found at the following location:

It should be noted that a valid subscription to the metalink service is required in order to view this document.

It is reported that software conflicts may arise when these patches are installed against binaries that have already had patches installed. Additionally, although Oracle 9i 9.2.x.x database server is supported, it is reported that customers may be required to update to versions prior to applying these patches. This action might also be required for other releases and products. Customers are advised to contact the vendor for further information and support in regards to the installation of appropriate updates.

A message from "David Litchfield" <> is available that states that some of the vulnerabilities in alert #68 may not have been successfully fixed by Oracle. Users of affected packages should refer to the referenced message, and contact their vendor for further information on the status of fixes.

- 相关参考