WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
[resolved] Changes in files detected by WordFence plugin (5 posts)

  1. David Hunter - LAS
    Member
    Posted 1 year ago #

    Hi there,

    I use the User Role Editor plugin alongside the WordFence plugin (which automatically scans every file in a WordPress installation for any changes on a daily basis, and alerts the admin to the changes - this is useful for detecting any security issues).

    I currently use v3.12 of the URE plugin, and that was last updated on 2nd May. However, earlier today (6th May) two files were detected as being changed:

    wp-content/plugins/user-role-editor/readme.txt
    wp-content/plugins/user-role-editor/includes/ure-options.php

    As WordFence scans the files every day, if these changes were made by updating the plugin (back on the 2nd May), then these changes would have been detected on the 3rd of May, not as late as the 6th.

    I was under the impression that plugins could not be changed unless either the administrator had updated the plugin (or made some other change by directly coding and re-uploading the replacement file), or there had been some sort of security breach.

    I have uploaded a screenshot showing what changes were made in ure-options.php. It can be viewed here.

    I certainly haven't changed anything, so I am inclined to believe there has been a security breach. Can you please confirm whether or not it is possible for the plugin to update itself as appears to have happened here? Can you confirm if the changes in the code (in the linked screenshot) are legitimate?

    Thanks in advance for your advice.
    David

    http://wordpress.org/extend/plugins/user-role-editor/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    Hi David,

    I confirm that these last minute changes are legitimate and made by me as plugin author and the only code commiter.
    As these changes do not change any plugin functionality I don't increase plugin version in order to not force plugin user's to reinstall it again.
    I will try to minimize such changes in a future.

    Regards,
    Vladimir.

  3. David Hunter - LAS
    Member
    Posted 1 year ago #

    Hi Vladimir,

    Thanks for the information. I was unaware it was possible for plugin authors to change the code of installed plugins. Learn something new every day. :)

    No need to change your way of fixing things; it's just interesting to know that it's possible. (I'm relatively new to WordPress so am still learning how everything works).

    Thanks for confirming that the changes were legitimate and that I have nothing to worry about.

    All the best,
    David

  4. Vladimir Garagulya
    Member
    Plugin Author

    Posted 1 year ago #

    No, I can not change code of installed plugin. I change code at WordPress plugins repository. Wordfence compares your local code with standard one at repository. That's why you see the changes. Wordfence shows your local version as modified incorrectly. It suppose that if both files have the same version that modification took place for local version, not for repository's one. It's wrong it this case.

  5. David Hunter - LAS
    Member
    Posted 1 year ago #

    Ahhh, I see. Feel free to disregard me, then. :)

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic