Advisory Name: SQL injection in FreePBX 2.5.1
Internal Cybsec Advisory Id: 2010-0103
Vulnerability Class: SQL injection
Release Date: 15/01/2010
Affected Applications: Confirmed in FreePBX 2.5.1. Other versions may also
Affected Platforms: Any running FreePBX 2.5.1
Local / Remote: Remote
Severity: Medium – CVSS 6.3 (AV:N/AC:M/Au:S/C:C/I:N/A:N)
Researcher: Ivan Huertas
Vendor Status: To be confirmed
Reference to Vulnerability Disclosure Policy:
A vulnerability has been discovered in FreePBX, which can be exploited by
malicious people to conduct SQL injection attacks.
Input passed via the "extdisplay" parameter to config.php is not properly
sanitized before being used in a SQL query. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.
The vulnerability is confirmed in version 2.5.1 Other versions may also be
Proof of Concept:
Execute arbitrary SQL queries.
Update to FreePBX 2.5.2 or greater
2009-30-12 – Vulnerability was identified
2010-01-07 – Vendor contacted
2010-01-15 – Vulnerability published
Patches were available before the vulnerability was discovered.
For more information regarding the vulnerability feel free to contact the
ihuertas<at> cybsec <dot> com
About CYBSEC S.A. Security Systems:
Since 1996, CYBSEC is engaged exclusively in rendering professional
services specialized in Information Security. Their area of services
covers Latin America, Spain and over 250 customers are a proof of their
To keep objectivity, CYBSEC S.A. does not represent, neither sell, nor is
associated with other software and/or hardware provider companies.
Our services are strictly focused on Information Security, protecting our
clients from emerging security threats, maintaining their IT deployments
available, safe, and reliable.
Beyond professional services, CYBSEC is continuously researching new
defense and attack techniques
and contributing with the security community with high quality information
For more information, please visit www.cybsec.com
(c) 2010 - CYBSEC S.A. Security Systems