trixbox Cisco Phone Services PhoneDirectory.php ID Parameter SQL Injection

high Nessus Plugin ID 44875

Synopsis

The remote web server contains a PHP script that is susceptible to a SQL injection attack.

Description

The version of the Cisco Phone Services phone directory script ('cisco/services/PhoneDirectory.php') installed as part of the web interface for trixbox (or Asterisk@Home, as it was formerly known) and hosted on the remote web server fails to sanitize input to the 'ID' parameter before using it in a database query.

Provided PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated, remote attacker can leverage this issue to manipulate SQL queries and, for example, uncover sensitive information from the associated database, read arbitrary files, or execute arbitrary PHP code.

Solution

There is currently no known solution.

Plugin Details

Severity: High

ID: 44875

File Name: trixbox_cisco_phonedirectory_id_sqli.nasl

Version: 1.14

Type: remote

Family: CGI abuses

Published: 2/23/2010

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:fonality:trixbox

Required KB Items: www/trixbox, www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 2/19/2010

Reference Information

CVE: CVE-2010-0702

BID: 38323

CWE: 89