Changeset 6732

Show
Ignore:
Timestamp:
09/15/08 20:45:17 (3 months ago)
Author:
p_lindheimer
Message:

fixes #3184 Merged revisions 6700 via svnmerge from
http://svn.freepbx.org/freepbx/branches/2.4

........

r6700 | sasargen | 2008-09-12 08:16:26 -0700 (Fri, 12 Sep 2008) | 1 line


basic fix of #3184 for ARI in 2.4

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3

    • Property svnmerge-integrated changed from /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/branches/2.4:1-5454,5492,5517,5648,5656,5710,5828,6057,6564 to /freepbx/branches/2.2:1-4145,4434,4437 /freepbx/branches/2.4:1-5454,5492,5517,5648,5656,5710,5828,6057,6564,6700
  • freepbx/branches/2.3/amp_conf/htdocs/recordings/includes/main.conf.php

    r4328 r6732  
    6868 
    6969# 
    70 # Admin only account 
     70# Admin only account - change defaults to prevent unauthorized access to call recordings 
    7171# 
    7272$ARI_ADMIN_USERNAME = "admin"; 
     
    8181# Authentication password to unlock cookie password 
    8282#   This must be all continuous and only letters and numbers 
     83#   Change this password to prevent unauthorized access to voicemail and call recordings 
    8384# 
    8485$ARI_CRYPT_PASSWORD = "z1Mc6KRxA7Nw90dGjY5qLXhtrPgJOfeCaUmHvQT3yW8nDsI2VkEpiS4blFoBuZ"; 
  • freepbx/branches/2.3/amp_conf/htdocs/recordings/misc/audio.php

    r1065 r6732  
    1919  $path = $crypt->decrypt($_GET['recording'],$ARI_CRYPT_PASSWORD); 
    2020 
    21   // strip ".." from path for security 
    22   $path = preg_replace('/\.\./','',$path); 
     21  // strip ".." from path and retrieve absolute path from filesystem for security 
     22  $path = realpath(preg_replace('/\.\./','',$path)); 
    2323   
    2424  // See if the file exists 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads