Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Vanilla 2.1.3 Security breach???
Some how spam bots can with registration assign Roles Not Verified, Member. And because of Member role they can post.
How it's possible? It should be or Not Verified or Member if in settings email verification required.
How they enter capcha?!
Is there any solutions?
0
Comments
@mye
You need to check your settings - each admin is responsible for their board's security.
Personally, amongst other things, I created a role called 'Waiting', which I assigned the tightest permissions (read only) and then in Registration Settings set that role for applicants waiting to confirm their email address.
I have registration set to Approval, use Registration Restrict Logger and Add Registration Question plugins (all hail the mighty @perregrine ) and have had no spam intrusion since.
@mye Some bots can indeed pass the email confirmation. Humans can do captchas before turning over the spamming reigns to a bot.
Also, make sure your "Email Confirmation Role" is set to the "Unconfirmed" role and not "Member". (if you're using default roles & permissions).
Email Confirmation Role is Unconfirmed, and that role can only view discussions. But the question is how bot assign two roles: Unconfirmed and Member only by registration? Common sense telling me that Unconfirmed role should be unique and can't be multi selected with other one. It should be exclusive role. This is security breach I think.
At the start of this discussion you said:
So which is it?
"Not Verified" isn't technically a role, it's a on/off toggle that represents whether their posts are checked by the spam filter. It's normal for users to be Not Verified. The only way that gets toggled automatically is via addons.
"Unconfirmed" is the correct role, but a user gets moved to that role as they register, storing their default roles until they do the email confirmation step. Therefore, there's no "hack" to get both that role and the Member role at the same time; there's really no code present to accomplish that in the registration process afaik.
Sorry for confusion. Not Verified, Member the status of spam bot. Email Confirmation Role is Unconfirmed. So somehow bot becomes Member skipping email verification?
In this ongoing or just the case of one member.
if it is ongoing and/or more than one member,
post your dashboard permissions for the
Email confirmation role and your config.php minus the sensitive info (don't include secrets or passwords, etc).
the other question is - did you recently upgrade from 2.0.18.x
it could be your confirmation role is incorrect in config. either notation or roleid
you also might want to look at the Role table and list out the the Roleid's associated with name.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
My guess is that the "bot" is successfully passing email verification, not skipping it.
If so should the role change from Not Verified to Verified?
-What dashboard permissions you are asking for?
-No upgrading. Clean 2.1
the registration config statements looks fine.
standard installation would have confirm email role as roleid 3
$Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
$Configuration['Garden']['Registration']['ConfirmEmailRole'] = '3';
do you keep on getting bots registering, or are you just trying to figure out something in the past.
if you still get bots registering - I would make a better registration questions and see if you can track a pattern with RegistrationRestrictLogger
if you keep on getting bots becoming members thru confirm mail, I would change to to approval status and be more vigilant about reason for joining,
not sure how to figure out the past, if it was only a one time occurrence unless you scour the access logs.
and I know nothing about verified or unverified - but linc explained that.
if you continue to get really weird stuff happening - change your admin passwords, check to see if there are other admins and other roles with user edit privs , which would be 2 of the ways that a role could be changed or added.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine, thanks. Let me see how things will go. I'll post if I have news