jeanyang04 / pe

0 stars 0 forks source link

Modification of password.txt will block corrrect login attempts #6

Closed jeanyang04 closed 2 weeks ago

jeanyang04 commented 2 weeks ago

Summary

Modification of the passwortd.txt is allowed, making the decrypted password different from the original password, making the user unable to login.

Perhaps there should not be permissions for user to edit password.txt


Steps to Reproduce

  1. add your own data
  2. Quit the app
  3. delete or add some text in password.txt
  4. Launch the app
  5. user is unable to login with correct password

Reasoning for Severity

Although encrypting it offers confidentiality, it does not guarantee other aspects. Users may still accidentally change the password.txt and this is not mentioned in the UG. Users will get blocked out of their data forever if they happen to trigger this bug.