Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

freePBX Script Insertion and Command Execution Vulnerabilities

-

Release Date:  2007-04-24    Last Update:  2007-05-02    Views:  8,398

Secunia Advisory SA24935

Where:

From remote

Impact:

Cross Site Scripting, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

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

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability