Is it possible to restrict script runner functionality based on IP range?

We recently had a security firm identify script runner as a security risk. Now I know that access to the plugin is already restricted to people with JIRA admin accounts but I am wondering if it is possible to restrict further based on IP for example? 

Thanks,

1 answer

0 vote

Mmm.  Did your security firm mention other things in Jira that might be a risk? 

If they did not, then it's pretty clear that they don't really understand Jira and hence are not really to be trusted on the security of Jira (and probably the rest of the Atlassian stack either)

Hi Nic, 

Thanks for your quick response. Yes, the security firm gave us a full laundry list of items, most were reasonable. :)

This is one of my few remaining items from that list and other than limiting the number of admins I can't see anything else to do with it. Hence the question.  

Problem is the question tells me they don't understand what they're doing.  I'm not sure I can explain how a web application works to someone at that low level of understanding.

I guess you can do IP whitelisting using an nginx reverse proxy to restrict access to the /plugins/servlet/scriptrunner/ route. I'll try that out and see if that works.

That's mostly irrelevant, as most scriptrunner functions are available as scripts within the application.  /plugins/servlet/scriptrunner is probably around 1% of the app, and there's nothing to stop your admins creating new routes to it.

I think this discussion has really exposed a lack of understanding, which I don't want to waste your time on.

Rather than chase down increasingly obscure and pointless "fixes" which won't do anything, could we go back to the basics.

What, actually, is the problem?  Where do your security people think there is a security issue?  What does "they identify script runner as a security issue" really mean?

Try the five whys - "why is SR a security issue?".  What are the responses to the next four "why?" questions?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

823 views 2 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you