[wp-trac] Re: [WordPress Trac] #6871: Plugins without headers don't show in the plugins page, keeping some exploits hidden

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 16 15:39:29 GMT 2008


#6871: Plugins without headers don't show in the plugins page, keeping some
exploits hidden
-------------------------------------------------------------------+--------
 Reporter:  guillep2k                                              |        Owner:  guillep2k
     Type:  defect                                                 |       Status:  assigned 
 Priority:  high                                                   |    Milestone:  2.6.1    
Component:  Security                                               |      Version:  2.6      
 Severity:  critical                                               |   Resolution:           
 Keywords:  exploit security has-patch dev-feedback tested commit  |  
-------------------------------------------------------------------+--------
Comment (by santosj):

 Or since you use str_replace already:

 {{{
 if ('' != $plugin && file_exists(WP_PLUGIN_DIR . '/' .
 str_replace(array('../', '..\'), '', $plugin)))
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6871#comment:26>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list