[Plugin: LBAK User Tracking] Exposure of admin credentials
-
Hey there!
This is just a warning to anyone using this plugin that has multiple users on their blog (authors, contributors, editors, etc.)
The file lbak-user-tracking/php_includes/visual.php does no checking whether or not the user has the rights to view the dashboard widgets which can expose the login name and password of the admin user who logged-in.
An easy work-around for this is to include the following in the visual.php page (towards the top):
function lbakut_dashboard_setup() { //Check that the user is able to view this page. if (current_user_can('manage_options')) { $options = lbakut_get_options(); if ($options['widget_show'] == true) { ... ...
And be sure to add a close right-brace at the end of the function block to close the if { … } block in PHP.
Ideally, the author of this plugin will bake this in.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: LBAK User Tracking] Exposure of admin credentials’ is closed to new replies.