Unauthenticated users can execute arbitrary code as root


rara1234

Recommended Posts

I think i've found a way for an unauthenticated user execute any arbitrary code as root (including modifying system files, change or reset permissions etc.). Is this the correct place to detail this? Does limetech have a bug bounty program?

 

Yes we have a 'todo' item to close this loophole (if it's what I think you found).  Please send me an email: [email protected]

 

We don't have a 'bounty' system in place but we have talked about implementing this for features - if we did it for bugs we'd probably go broke in a week  :o

Link to comment
  • 1 month later...

I think i've found a way for an unauthenticated user execute any arbitrary code as root (including modifying system files, change or reset permissions etc.). Is this the correct place to detail this? Does limetech have a bug bounty program?

 

Yes we have a 'todo' item to close this loophole (if it's what I think you found).  Please send me an email: [email protected]

 

We don't have a 'bounty' system in place but we have talked about implementing this for features - if we did it for bugs we'd probably go broke in a week  :o

 

So has this been closed then Tom?

Link to comment

One could simply issue a http post or http get to emhttp and execute arbitrary code. If you look at the thread Important Update for Plugin Authors for Unraid 6.1 it contains the details needed. I think it was in the Update page.

 

The solution was to go with a jailed-like environment so only commands under emhttp root are able to be executed.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.