Edgewall Software
Modify

Ticket #3991 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Case sensitive Authentication, and Case in-sensitive Authorization.

Reported by: andrew.krock@… Owned by: cmlenz
Priority: highest Milestone:
Component: admin/web Version: 0.9.6
Severity: critical Keywords:
Cc:
Release Notes:
API Changes:

Description

I recently had an issue with my trac install and one of my programers. I am useing the following plugins:

My new programmer complained that he did not have the adequate permissions that he should have, so I created a test account named "test", and added it to the same permission-groups as that programmers account. All the permissions were set properly, the problem came from the fact that his account name contained uppercase letters. Creating an account called "TEST" and not enabling any permissions, gave me all the permissions assigned to the acount "test". To the login system "TEST" and "test" are completely different, however to the authorization (permission) system "TEST" and "test" are the exact same accounts, and furthermore will only apply the permissions set to the account "test" to both accounts when logged in.

I DO NOT, know if this bug is common to both form based login methods, and standard HTTP logins, however im guessing that it is. I do not have the time nor resources to test it however.

If it does exist in HTTP logins as well, this is a fairly sizable loophole in the trac security system, as anyone can register an account using any combination of uppercase letters for any of your users or even permission groups.

Attachments

Change History

comment:1 Changed 5 years ago by andrew.krock@…

After doing a little more poking around, it does look like the problem is comming from the AccountManagerPlugin?.

comment:2 Changed 5 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

tracked the problem to AccountManagerPlugin? and and ignore_auth_case setting.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.