View Issue Details

IDProjectCategoryView StatusLast Update
0002977mantisbtsecuritypublic2014-11-07 15:03
Reporterancpru Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionreopened 
Summary0002977: Security - User-Logging
Description

Some kind of user-logging would be nice, e.g.

User XYZ added bug
User XYZ changed bug
user XYZ changed user settings

and so on. Some nice people played around at my site, added themself as user, then changed the user name and their e-mail to bill.gates@microsoft.com or other strange entries.

It would be nice to be able to track it down at the original login (e-mail address). One additional possibility would IMO be to send a new generated password when someone enters a new e-mail-address in their user-settings.

TagsNo tags attached.

Relationships

related to 0000633 closedmasc email lost password page 
child of 0005600 acknowledged Security - System-Logging 

Activities

vboctor

vboctor

2003-02-20 12:40

manager   ~0003753

This feature is implemented as far as bug modifications is concerned. There is no logging of other activities. Also if a bug is deleted, you lose its history!. This is implemented in 0.18.0a2.

BTW, you did not specify which version of Mantis you are using.

jlatour

jlatour

2003-02-20 12:43

reporter   ~0003754

What about if we just send confirmation mails to the new address, and require the user to confirm?

ancpru

ancpru

2003-02-20 13:21

reporter   ~0003756

Sorry - forgot the specify the version. it's 0.17.5

Well, yes. a confirmation mail to the new address would be nice, or a new generated password.

Is it 0.18.0a2 OK for a production environment? Any drawbacks? However, a little bit more logging (quite simple stuff like user did this or that) would be nice.

BTW, is there a option to disable the ability to change the user-name?

jlatour

jlatour

2003-02-20 13:27

reporter   ~0003757

0.18.0a2 is pretty stable, but the official stable release is still 0.17.5. Of course, that's also because we still need to update documentation.

Change username? Or email?

ancpru

ancpru

2003-02-20 13:29

reporter   ~0003758

IMO the user-name should stay stable (option?).

jfitzell

jfitzell

2003-02-20 19:26

reporter   ~0003766

You used to be able to change the username which I thought was odd too.

User's can no longer do this in the CVS code, only administrators.

I'm a little reluctant to force the user's password to be reset every time they change their email. But I do see the possibility for abuse there.

sigh why are people so lame?

jlatour

jlatour

2003-02-20 20:37

reporter   ~0003768

Don't reset the password, just let them confirm the email address by clicking on some link.

We can also implement a 'forgot password' in much the same way, only you'd change the password and not the email address.

Kick The Donkey

Kick The Donkey

2004-01-03 05:26

reporter   ~0004848

So, if you just require the user to click on a link in the email, to confirm a new email address, I guess that means account would need to be disabled. How would the confirmation work?

-Change email addy in my account
-my account is locked. I'm told that I'll recieve an email with a link that I must use to confirm the new address.
-In the background, a random key is generated, inserted into a table, with my user_id, type of key (password reset, account change, etc) and a experation date (what if I fat finger the new email address. it would be nice if the system would 'expire' my unconfirmed changes, and reset my account automagically to my old email). That key is sent to me, it the email, as part of a link.
-As the user, I click a link of: http://mantis.domain.com/confirm_change.php?key=1a2b3c4d5e6f7g8h9. My account is unlocked, and the key entry is removed from the table.

In this way, the code would be fairly generic, I think. Does this sound about right?

thraxisp

thraxisp

2004-08-22 16:21

reporter   ~0007101

I believe that this is fixed in 0.19rc1 with the addition of the send_reset_password feature.

grangeway

grangeway

2004-08-22 17:57

reporter   ~0007106

having a send reset password page, doesn't alter whether or not we should have a log of when someone logged in, how often they log in, whether they added a bug, when they logged out etc.

Therefore, while we've addressed getting locked out of an account it doesn't address the original question imo.

I.e. if someone were to hack into an acconut and log in, it might be nice to be able to see what bugs the 'hacker' resolved/deleted etc, so that they could be recovered.