phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
639 core / general minor always 2009-05-30 00:00 2009-05-30 00:00
jay phpMyEdit  
 
normal  
new 5.7.1 (stable)  
open  
none  
none  
It is easy to bypass filters
I'm not sure if the intended function of the filters is for security, but we use the filters to prevent unauthorized users from seeing certain database fields. However, it was found that the filters in list view could be bypassed by going directly to a "view" url such as:

http://localhost/admin.php?PME_sys_fl=0&PME_sys_fm=0&PME_sys_sfn[0]=1&PME_sys_operation=PME_op_View&PME_sys_rec=1758

I fixed the issue by inserting the following code at line 563:

if ($this->filters)
$ret .= ' AND '.$this->filters;




There are no notes attached to this bug.