Skip to content

Are passwords viewable in plain text? #27

Open
@ChrisGV04

Description

@ChrisGV04

I hope this only happens in the demo, but isn't it a really bad practice and a massive security vulnerability to store plain text passwords or to even be able to view them at all?

In the demo, I'm able to view the password for every mailbox, which made me very concerned. Please correct me if I'm wrong, but I believe passwords should be hashed and there should be no easy way to un-hash it. In other words, no one should be able to revert the hash back to plain text, not even the API server.

Image

I haven't tried the self-hosted version yet, so I don't know if this is only the case with the demo showcase.

A quick glimpse at the source code tells me that you hash them with MD5, which could be good enough. But for improved security, I would personally use safer hashing algorithms such as Argon2id or scrypt as suggested by this OWASP article.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions