[ 
https://issues.apache.org/jira/browse/OFBIZ-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059143#comment-16059143
 ] 

Tobias Laufkötter commented on OFBIZ-4361:
------------------------------------------

bq. Yes, we should check if a user login with this email address exists, else 
display a message.

I believe the user shouldn't get any feedback regarding the success of the 
password reset. Otherwise one could use this service to check for exisiting 
email addresses or user logins.

Additionally, it is my understanding that an email address is not limited to 
one user login. In a szenario where the user login is not the email address and 
an association of the same email address to multiple accounts, the 
determination of the right user login would not be possible. The options I see 
are: 
* the user provides their login, the email is sent to the primary contact email 
address of the corresponding user
* the user provides their login and an email address that is associated with 
the user login

> Any ecommerce user has the ability to reset anothers password (including 
> admin) via "Forget Your Password"
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4361
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4361
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 11.04, Trunk
>         Environment: Ubuntu and others
>            Reporter: mz4wheeler
>            Assignee: Michael Brohl
>              Labels: security
>
> Currently, any user (via ecommerce "Forget Your Password") has the ability to 
> reset another users password, including "admin" without permission.  By 
> simply entering "admin" and clicking "Email Password", the following is 
> displayed.
> The following occurred:
> A new password has been created and sent to you. Please check your Email.
> This now forces the user of the ERP to change their password.  It is also 
> possible to generate a dictionary attack against ofbiz because there is no 
> capta code required.  This is serious security risk.
> This feature could be reduced to a certain sub-set of users, whose login name 
> is optionally in the format of an email address, and maybe require a capta 
> code to prevent dictionary attacks.
> For example, limit the feature to role "Customer" of type "Person" which was 
> generated via an ecommerce transaction.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to