Skip to content

CRITICAL: email update takes the user back to login page  #18

@agrimpandey

Description

@agrimpandey

REPORTED BY TEAM SOCIAL OCTOPUS

Description:
When updating account, if the user enters something like shown in figure 1, the user is directed back to the login page.

Severity:
Criticial

Comments:
I have tried several different comminations of numbers and letters for the email and it seems if there is a number after the ' . ', the user is directed to the login page.

Figure 1:
A number after ' . '. Directed to Login Page.
Figure 2:
garbage email id. Update Successful.
Figure 3:
number between n @ and ' . ' . Update Successful.
Figure 4:
number and letter after ' . ' . Update Successful.
Figure 5:
Directed to Login Page after the input as shown in figure 1

Suggestions:
Use a regex pattern to not allow numbers after the ' . '
It seems you are already checking for @ in the email address. Similarly, you could check if there is a number after the ' . '.

image
Figure 1

————————————————————————————

image
Figure 2

————————————————————————————

image
Figure 3

————————————————————————————

image
Figure 4

————————————————————————————

image
Figure 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions