You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Anoop kumar V <an...@gmail.com> on 2008/06/15 06:44:36 UTC

Continuum hacked??

Hi,

It seems someone has been trying to hack into our continuum server. Please
view the attached image. The users at the end having the name as nessus. Can
anybody please provide an explanation for how a non admin can create users
in continuum.

I am sure since day one, the continuum admin user has been locked with a
strong password and all, I also checked, there is no such user called nessus
in our unix server - solaris 10. I also do not think anybody would have had
the insight to break into the derby db and insert new users directly into
the tables.

-- 
Thanks,
Anoop

Re: Continuum hacked??

Posted by Anoop kumar V <an...@gmail.com>.
On Sun, Jun 15, 2008 at 1:10 AM, Wendy Smoak <ws...@gmail.com> wrote:

> On Sat, Jun 14, 2008 at 9:44 PM, Anoop kumar V <an...@gmail.com>
> wrote:
>
> > It seems someone has been trying to hack into our continuum server.
> Please
> > view the attached image. The users at the end having the name as nessus.
> Can
> > anybody please provide an explanation for how a non admin can create
> users
> > in continuum.
>
> I don't think the list allows attachments, but the answer is probably
> that someone registered for an account.  (Log out, and you should see
> links for 'Login' and 'Register' at the top left.)
>
> As long as the user has no roles, it won't be able to do anything.
>
> --
> Wendy
>

I think you are right - anybody can register.
I uploaded the image below just in case:
http://www.flickr.com/photos/22838514@N06/2579879418/sizes/o/

-- 
Thanks,
Anoop

Re: Continuum hacked??

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Jun 15, 2008 at 8:38 AM, Olivier Dehon <od...@gmail.com> wrote:

> The problem with this approach is that accounts still need to be
> activated, and an email sent to the final user. An option to bypass that
> step would also be appreciable.

You can turn off the validation requirement in security.properties:

# If all email addresses (from new user registration) require an
account validation email.
email.validation.required=true

I think there is an open issue about problems logging in with
admin-created accounts, so it might not work exactly the way it should
just yet.

-- 
Wendy

Re: Continuum hacked??

Posted by Olivier Dehon <od...@gmail.com>.
On Sun, 2008-06-15 at 08:06 -0700, Wendy Smoak wrote:

> The first thing I thought to do is edit the JSPs to remove the
> Register link, which would stop most of it.  I think that might be
> inside a tag, though.  What you could do is edit
> WEB-INF/jsp/redback/register.jsp so that it just displays a message
> saying to contact the administrator, rather than presenting the user
> registration form.
> 
> This would be a good enhancement request for Redback, and shouldn't be
> too difficult to add.
> 

The problem with this approach is that accounts still need to be
activated, and an email sent to the final user. An option to bypass that
step would also be appreciable.

-Olivier


Re: Continuum hacked??

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Jun 15, 2008 at 4:19 AM, Dennis Lundberg <de...@apache.org> wrote:

> Is there a way to disable users from registering for an account themselves?
> I would like the admin to be the only one capable of creating accounts.

Continuum depends on Redback for the user security and roles features,
and I don't see an option to disable registration:
http://continuum.apache.org/docs/1.2-SNAPSHOT/administrator_guides/security/customising-security.html
 --> http://svn.codehaus.org/redback/redback/trunk/redback-configuration/src/main/resources/org/codehaus/plexus/redback/config-defaults.properties
(http://redback.codehaus.org/)

The first thing I thought to do is edit the JSPs to remove the
Register link, which would stop most of it.  I think that might be
inside a tag, though.  What you could do is edit
WEB-INF/jsp/redback/register.jsp so that it just displays a message
saying to contact the administrator, rather than presenting the user
registration form.

This would be a good enhancement request for Redback, and shouldn't be
too difficult to add.

-- 
Wendy

Re: Continuum hacked??

Posted by Dennis Lundberg <de...@apache.org>.
Wendy Smoak wrote:
> On Sat, Jun 14, 2008 at 9:44 PM, Anoop kumar V <an...@gmail.com> wrote:
> 
>> It seems someone has been trying to hack into our continuum server. Please
>> view the attached image. The users at the end having the name as nessus. Can
>> anybody please provide an explanation for how a non admin can create users
>> in continuum.
> 
> I don't think the list allows attachments, but the answer is probably
> that someone registered for an account.  (Log out, and you should see
> links for 'Login' and 'Register' at the top left.)
> 
> As long as the user has no roles, it won't be able to do anything.
> 

Is there a way to disable users from registering for an account 
themselves? I would like the admin to be the only one capable of 
creating accounts.

-- 
Dennis Lundberg

Re: Continuum hacked??

Posted by Wendy Smoak <ws...@gmail.com>.
On Sat, Jun 14, 2008 at 9:44 PM, Anoop kumar V <an...@gmail.com> wrote:

> It seems someone has been trying to hack into our continuum server. Please
> view the attached image. The users at the end having the name as nessus. Can
> anybody please provide an explanation for how a non admin can create users
> in continuum.

I don't think the list allows attachments, but the answer is probably
that someone registered for an account.  (Log out, and you should see
links for 'Login' and 'Register' at the top left.)

As long as the user has no roles, it won't be able to do anything.

-- 
Wendy