Secunia Security Advisory - 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.
e0dfc51de930a2d4d60aa6761d7d730e1ee11cfae4e5320100a655731bf3065a
----------------------------------------------------------------------
Automatically map installed applications and missing security updates
across your internal network.
Join the FREE BETA test of the Network Software Inspector!
http://secunia.com/network_software_inspector/
The NSI detects more than 4,000 different Windows applications and
provides detailed and accurate reports about missing security updates
and end-of-life products.
----------------------------------------------------------------------
TITLE:
freePBX Script Insertion and Command Execution Vulnerabilities
SECUNIA ADVISORY ID:
SA24935
VERIFY ADVISORY:
http://secunia.com/advisories/24935/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, System access
WHERE:
>From remote
SOFTWARE:
freePBX 2.x
http://secunia.com/product/12778/
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
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------