Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA24935

freePBX Script Insertion and Command Execution Vulnerabilities
Secunia Advisory SA24935
Secunia VIM 4.0 - Free Trial
Release Date 2007-04-24
Last Update 2007-05-02
   
Popularity 8,123 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Cross Site Scripting
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Unpatched
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia VIM
   
Software:
FreePBX 2.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2007-2191 CVSS score available to Secunia VIM customers
CVE-2007-2350 CVSS score available to Secunia VIM customers
  

Description

XenoMuta has reported some vulnerabilities in freePBX, which can be exploited by malicious people to conduct script insertion attacks and by malicious users to compromise a vulnerable system.

1) An input validation error exists in admin/modules/logfiles/asterisk-full-log.php when displaying parts of /var/log/asterisk/full. This can be exploited via specially crafted SIP packets to insert arbitrary HTML and script code, which is executed in an administrative user's browser session in context of an affected site when the malicious log entry is viewed.

2) Input passed to the "del" parameter in admin/modules/music/page.music.php is not properly sanitised before being used. This can be exploited to inject and execute arbitrary commands via specially crafted requests.

Successful exploitation requires access to the admin section but can potentially be exploited in combination with vulnerability #1.

The vulnerabilities are reported in version 2.2.1. Other versions may also be affected.


Solution
Edit the source code to ensure that input is properly sanitised. Grant only trusted users access to the application.

Provided and/or discovered by
XenoMuta

Changelog
Further details available to Secunia VIM customers

Original Advisory
http://lists.grok.org.uk/pipermail/full-disclosure/2007-April/053882.html
http://lists.grok.org.uk/pipermail/full-disclosure/2007-April/053915.html

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: freePBX Script Insertion and Command Execution Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability