KDE kfm获取额外特权漏洞

KDE kfm获取额外特权漏洞

漏洞ID 1106312 漏洞类型 未知
发布时间 2001-04-18 更新时间 2001-08-02
图片[1]-KDE kfm获取额外特权漏洞-安全小百科CVE编号 CVE-2001-0610
图片[2]-KDE kfm获取额外特权漏洞-安全小百科CNNVD-ID CNNVD-200108-002
漏洞平台 Linux CVSS评分 4.6
|漏洞来源
https://www.exploit-db.com/exploits/20781
https://www.securityfocus.com/bid/89002
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200108-002
|漏洞详情
包含在KDE1.x版本中的kfm存在漏洞。本地攻击者借助/tmp中kfm缓冲目录的一个符号链接攻击获取额外的特权。
|漏洞EXP
source: http://www.securityfocus.com/bid/2629/info

KFM is the KDE File Manager, included with version 1 of the KDE base package in most Linux installations. KFM is designed as a graphical, easily navigated interface to the Linux Filesystem.

A problem with KFM could allow the overwriting of files owned by the KFM user. KFM insecurely creates a directory to store it's cache contents. Prior to creation, the existance of this directory, which is predictable in name, is not checked. Additionally, permissions are also not checked. Files beneath the directory can be created as symbolic links, making it possible to overwrite linked files.

This vulnerability makes it possible for a local user to overwrite and corrupt files owned by the KFM user. 

root@ps:/tmp/kfm-cache-500 > ls -la
drwxrwxrwx 2 rws uboot 4096 Apr 18 21:18 .
drwxrwxrwt 15 root root 770048 Apr 18 21:16 ..
lrwxrwxrwx 1 rws uboot 18 Apr 18 21:18 index.html ->
/home/paul/.bashrc
-rw-r--r-- 1 rws uboot 0 Apr 18 21:16 index.txt

root@ps:/tmp/kfm-cache-500 > ls -la /home/paul/.bashrc
-rw-r--r-- 1 paul users 1458 Jan 23 13:56
/home/paul/.bashrc


and after running kfm as user 500:

root@ps:/tmp/kfm-cache-500 > ls -la /home/paul/.bashrc
-rw-r--r-- 1 paul users 271 Apr 18 21:19
/home/paul/.bashrc
|受影响的产品
SuSE Linux Desktop 7.0 Sparc

SuSE Linux Desktop 7.0 Ppc

SuSE Linux 7.0 alpha

SuSE Linux 7.0

KDE Kde 1.x

|参考资料

来源:XF
名称:kfm-tmpfile-symlink(6428)
链接:http://xforce.iss.net/static/6428.php
来源:BUGTRAQ
名称:20010418InsecuredirectoryhandlinginKFMfilemanager
链接:http://archives.neohapsis.com/archives/bugtraq/2001-04/0336.html

相关推荐: Lotus Domino R5 Server MS-DOS Device DoS Vulnerability

Lotus Domino R5 Server MS-DOS Device DoS Vulnerability 漏洞ID 1103366 漏洞类型 Input Validation Error 发布时间 2001-04-11 更新时间 2001-04-11 CV…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享