<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Currently only administrator is allowed to add user/modify user/change password.<o:p></o:p></p>
<p class="MsoNormal">Administrator has the permission to change other users password or delete it directly.<o:p></o:p></p>
<p class="MsoNormal">Administrator no need to know the old password of other users.<o:p></o:p></p>
<p class="MsoNormal">For administrator to change itself password thing, still no need the old password, because administrator is already login a session.<o:p></o:p></p>
<p class="MsoNormal">So we don¡¯t need to add ¡°<span style="color:black">input field to enter the old password</span>¡±.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But there is an open for multiple administrator user supporting, currently administrator user could add more administrator level users.<o:p></o:p></p>
<p class="MsoNormal">And anyone of the administrators login, he could modify other administrator users like change password or delete it directly.<o:p></o:p></p>
<p class="MsoNormal">I think it is <b>a bit security issue</b>. Have to restrict multiple administrator user or do not allow administrator to modify other administrator users.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Kwin.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> On 8/28/19 3:20 AM, George Liu (</i></span><i><span lang="ZH-CN" style="font-family:ËÎÌå;color:black">ÁõÎýΰ</span><span style="color:black">) wrote:<o:p></o:p></span></i></pre>
<pre><span style="color:black">><i> ><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > I want to discuss with everyone about the solution to change the login<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > password.<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> ><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > In the WEB, When the user needs to change the login password, the<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > current solution is to directly enter the new password twice to change<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > successfully, but the old password is not verified. the advantage is<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > that we can use the new password through this solution if we forget<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > the old password. but for the security reasons, I think should<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > verifying the old password instead of directly entering the new<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > password before change login password.<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> ><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> > if everyone have any ideas or experience, please share, thanks!<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> ><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> Are you referring to the phosphor-webui design mentioned here?:<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> <a href="https://github.com/ibm-openbmc/dev/issues/1048">https://github.com/ibm-openbmc/dev/issues/1048</a><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> OWASP has some recommendations:<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> <a href="https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#require-re-authentication-for-sensitive-features">https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#require-re-authentication-for-sensitive-features</a><o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> <a href="https://cheatsheetseries.owasp.org/cheatsheets/Forgot_Password_Cheat_Sheet.html#step-4-allow-user-to-change-password-in-the-existing-session">https://cheatsheetseries.owasp.org/cheatsheets/Forgot_Password_Cheat_Sheet.html#step-4-allow-user-to-change-password-in-the-existing-session</a><o:p></o:p></i></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Thanks, the password change was mentioned in step 4.<o:p></o:p></span></pre>
<pre><span style="color:black">I think should add an input field to enter the old password and verify it<o:p></o:p></span></pre>
<pre><span style="color:black">when the form is submitted(phosphor-webui).<o:p></o:p></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><i> - Joseph<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i><o:p> </o:p></i></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>