Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Bugtraq: [SecuriWeb 2006.1] directory traversal in Asterisk@Home and ARI

[SecuriWeb 2006.1] directory traversal in Asterisk@Home and ARI

From: François Harvey <fharvey_at_securiweb.net>
Date: Thu, 20 Apr 2006 23:15:45 -0400

ID : 2006.1
Product : ARI (Asterisk Recording Interface)
                        http://www.littlejohnconsulting.com/?q=node/11
                        Asterisk_at_home Distribution
                        http://asteriskathome.sourceforge.net/
Affected product : <= 0.7.15 (Asterisk_at_Home 2.6 and lower)
Class : Access to protected information, directory traversal
Remote : yes
Author : Francois Harvey <fharvey at securiweb dot net>
Published date : 2006-04-20 (Initial Vendor contact 2006-03-06)
Reference URL :
http://www.securiweb.net/wiki/Ressources/AvisDeSecurite/2006.1
Solution : Use the last ARI version or use asterisk_at_home 2.8

Two vulnerabilities was found in the ARI package included in the
asterisk_at_home Distribution. These vulnerabilities allow a user to listen
voicemail from any other users and and to disclose configuration password.

Vulnerability 1
---------------

The config file is in a public directory and not protected by default

Exploit : http://<asterisk>/recordings/includes/main.conf

This should list all the configuration of ARI. With asterisk password,
db password, admin password.

Vulnerability 2
---------------

A directory traversal/file retreival exist in the ARI web interface.
This script allow a user to download any mp3/wav/gsm on the system. No
authentification is needed, this can be used to listen voicemail from
another user.

Exploit :
http://<asterisk>/recordings/misc/audio.php?recording=/var/spool/asterisk/voicemail/default/<mailbox>/INBOX/msg<messageid>.wav

This flaw can also be used to verify the presence of a file on the server
Cannot use file: xxx <-- file exist bot not the good extension
404 File not found! <--- file doesn't exist

Patch
------
Both asterisk_at_home and ARI released fixes

Author
-------
Francois Harvey <fharvey at securiweb dot net>
SecuriWeb inc | www.securiweb.net
Received on Apr 21 2006

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos