Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sean Barton

    (@seanbarton)

    Thanks for this. I completely agree with you and will make that change this afternoon. I suppose it does somewhat scupper the plans of anyone using it with custom roles though. Why not make it accessible for anyone with a role higher than level_1 (subscriber). This means general users can’t send files but anyone else with any privilege can.

    Since you did me the courtesy of a full explanation I will await a reply on your thoughts here as maybe you have considerations that have yet to occur to me?

    thanks
    Sean

    Thread Starter DigiP

    (@digip)

    Well, without looking at the plug-in itself, I haven’t seen what source code you used to add the plug-in to wordpress, but if there is an admin panel or role setting, I would make it administrator or editor, so people registering, who are generally just subscribers, wouldn’t have access to the plug-in.

    In general, low level users such as readers who register to make comments, such as subscribers only, should not have upload access to your site or be able to make blog posts. If they did, well, they they should have access to the default media uploader on blog posts and pages they add anyway, so limiting the role to higher level users, would in my mind, mitigate abuse by subscribers of a site, for people who leave registration open to the public on their WordPress sites. By default, registration is turned off, so a site owner would have to enable this. If it was a site that also used something like say, S2 Subscriber plug-in, to have access to paid for pages and posts, they generally only have read access to those pay for pages and posts or download content, but in general, don’t have access to make blog posts or pages. If however this plug-in shows up under their sign ons though, they could upload a reverse shell, and then root the site to deface it, read the wp-config.php file, inject a payload to overwrite the admins password in the data base with their own, and then login as the admin, change the admins email, etc.

    So my suggestion, is make the plug-in available only to administrators or editor roles.

    http://codex.wordpress.org/Roles_and_Capabilities#Administrator

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible file type issue’ is closed to new replies.