phpBMS

Show
Ignore:
Timestamp:
01/01/10 23:10:02 (2 years ago)
Author:
brieb
Message:
  • Fixed several SQL injection vulnerabilities
  • Fixed several XSS vulnerabilities due to PHP_SELF and REQUREST_URI
  • Fixed severa path disclosure errors
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/base/notes_records.php

    r703 r704  
    7070        if(!isset($_POST["newsort"])) $_POST["newsort"]=""; 
    7171        if(!isset($_POST["desc"])) $_POST["desc"]=""; 
    72          
     72 
    7373 
    7474        if($_POST["newsort"]!="") { 
     
    8181 
    8282        if($displayTable->querytype!="new" and $displayTable->querytype!="edit") { 
    83                  
     83 
    8484        //record offset? 
    8585        if(isset($_POST["offset"])) if($_POST["offset"]!="") $displayTable->recordoffset=$_POST["offset"]; 
     
    9696        <h1><?php echo $pageTitle ?></h1> 
    9797        <div> 
    98                 <form name="search" id="search" action="<?php echo $_SERVER["REQUEST_URI"]?>" method="post" onsubmit="setSelIDs(this);return true;"> 
     98                <form name="search" id="search" action="<?php echo htmlentities($_SERVER["REQUEST_URI"])?>" method="post" onsubmit="setSelIDs(this);return true;"> 
    9999                <input name="theids" type="hidden" value="" /> 
    100100                <?php 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.