<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Mark,
<div class=""><br class="">
</div>
<div class="">Thanks for bringing this up.  </div>
<div class=""><br class="">
</div>
<div class="">I just checked and in the case of the archon migrations, the asadmin user is not created.  However, it does make a user ‘aspace’ and grants it full admin rights.  Even worse, you can login as that user with NO password (i.e. field is blank).  So,
 that one should definitely be killed off manually or even better the migration tool should delete it when done.</div>
<div class=""><br class="">
</div>
<div class="">In addition, there is another problem with archon migrations, in that the migration tool takes ALL of the existing users from archon DBs, and migrates them into aspace as read only users with the same login, and no password.   You can then login
 to the app with the old users name and no password (field is blank) and can view but not edit data.</div>
<div class=""><br class="">
</div>
<div class="">All of the users the migration tool create are read only—but still this is a security problem since someone might be able to view restricted data or find a hack to get more permissions on the DB.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">
<div>As a related question, how is security handled generally in ASpace?  Is it relying on an external security library, or bespoke code, or some combination of the two?  </div>
<div><br class="">
</div>
<div>The discovery of these types of things, in all honesty, does not engender confidence, and probably indicates the need for a thorough security audit.  While the above problems can be cleaned up after the fact, not an ideal solution.</div>
<div><br class="">
</div>
<div>Chris Prom</div>
<div>Univeristy of Illinois Archives</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 9, 2016, at 2:39 PM, Custer, Mark <<a href="mailto:mark.custer@yale.edu" class="">mark.custer@yale.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)" class="">
<style class=""><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D" class="">All,<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class="">I wanted to send out a friendly reminder about admin accounts in ArchivesSpace (and this is coming strictly from an ArchivesSpace user’s perspective).<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class="">As most are aware, when you install ArchivesSpace without any configuration changes, you wind up with a single admin account in ArchivesSpace that has a username equal to “<b class="">admin</b>” and
 a password set to be the same.  You’ll want to change this password to something else long before you go into production mode.  For the most part, I think that people take care of this on or around day one, but if you can log into your ASpace application using
 that username and password, you’ll want to update that password to something else that’s a lot more secure!<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class="">Less well known is what happens when you use the migration tool to populate your ArchivesSpace database (I sent an email about this to the listserv way back on May 8, 2015, but I don’t know if what I’m
 about to describe is documented anywhere else yet).  If you’ve migrated to ArchivesSpace using the Archivists’ Toolkit migration tool (and I’m pretty sure this happens with the Archon tool, as well), then another admin user will be added to your database.
  This admin user will have a username that’s equal to “<b class="">asadmin</b>”.  I’m not actually sure why the migration tool creates another user (or if the current versions still do this), especially since you have to supply admin credentials to the migration
 tool to run against the ASpace API, but I know that this happened during our migration process – and I’ve seen this phantom admin user account in other ArchivesSpace installations, as well.  When we discovered this new user, we deleted it from our database
 immediately after our final migration process.<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class="">So, I’d like to ask everyone out there to check and see if they can login to their own ArchivesSpace with an “<b class="">asadmin</b>” account, whether you’re in production or not (the password is easy
 to guess, since it’s the same as the default admin user’s password).  If you can log in that way, I’d suggest deleting that user immediately!<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class="">Mark<o:p class=""></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" class=""> </span></p>
</div>
</div>
_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>