Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Large number of spurious users

Ceki Gulcu March 13, 2023

Hello,

 

We host our own Jira server and are having a problem with about 100'000 bogus users with very long user names, images, etc.  These users never log on.

We have are removing users by executing SQL statements but new ones keep coming in.

What could be the point of creating such users?

1 answer

0 votes
Dave Mathijs
Community Champion
March 13, 2023

Hi @Ceki Gulcu a couple of questions here:

  • Is Jira connected to an external user directory?
  • If the answer to the previous question is yes, are these "bogus users" listed in Active Directory as well?
  • How are users added or granted application access?
  • Have you enabled public signup and CAPTCHA?
  • Are users invited through email?
  • Are users created automatically?
Ceki Gulcu March 13, 2023

Thank you for your prompt answer.

> Is Jira connected to an external user directory?

No.

 > How are users added or granted application access?

Anyone can browse projects. Users ("project role: users" and the "group: jira-users") can create, comment on and link issues. So users are granted certain rights automatically.

Maybe the project permissions need to be changed?

> Have you enabled public signup and CAPTCHA?

Yes.

> Are users invited through email?

No.

> Are users created automatically?

No.

Dave Mathijs
Community Champion
March 14, 2023

Is public signup absolutely necessary? What's the reasoning behind this configuration?

Ceki Gulcu March 14, 2023

The jira server in question is used for open source projects. So, yes, the public signup seems quite necessary.

Ceki Gulcu March 14, 2023

Here is a record from cwd_users table with fields (user_name, lower_user_name, email_address, created_dat):

8345 ryb в день \ бaланc 779156 RUB afhsаq https://anvtinkag.tumblr.com/Fox GesPoeddy Unennamarline devy | 8345 ryb в день \ бaланc 779156 rub afhsаq https://anvtinkag.tumblr.com/fox gespoeddy unennamarline devy | freethdifi1988+1@mail.ru | 2023-03-13 21:44:08.178+01

What is the point of creating such users? What is there to be gained?

Ceki Gulcu March 15, 2023

I reiterate my question. What is the point of creating bogus users? What is there to be gained?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2023

Mostly spam, but sometimes bot nets for other more malicious reasons as well.

You have two problems here.

  • Whilst your settings now may well prevent the problem, your settings in the past enabled spam bots to create these accounts.
  • You are using SQL to delete them.  This is unlikely to actually work unless you get it exactly right (this means significant and complete downtime on your Jira, potentially days depending on size)

My suspicion is that these two are combining to give you what you are seeing.  It's not that "new ones keep coming in", but that your SQL deletions are failing.  Your "new" spam accounts are the ones you think you've removed are not removed. 

To minimise downtime, you must turn off public signup for a few hours/days/weeks - as long as it takes you to identify the actual problem. 

I would

  • do this immediately
  • add a banner saying you've got a problem and new signups are suspended until it is fixed
  • record the number of users you have overall
  • get the admins to record every new user they add until the end of the experiment
  • manually delete (say) 200 spam users, recording which ones you kill.  Do this via the UI, never touch an Atlassian system's database

Then monitor it for a week - every few hours or days, look at the numbers of accounts you have.  Is it still going up?  Can the increase be accounted for by your admins adding accounts?  If not, then search for the 200 users you deleted and see if any have re-appeared.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.6
TAGS
AUG Leaders

Atlassian Community Events