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
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 firstname.lastname@example.org
Subject: freePBX Script Insertion and Command Execution Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.