Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two minor Security Issues #187

Open
J-GainSec opened this issue Aug 4, 2022 · 5 comments
Open

Two minor Security Issues #187

J-GainSec opened this issue Aug 4, 2022 · 5 comments

Comments

@J-GainSec
Copy link

Hope you're well!

I spent a tiny bit of time so far doing some testing of your app and I'm impressed!

Just have two small issues to tell you about!

  1. Consider making the Password and Encryption password policies up to par for best practices. This would be minimum 12 (8 if you REALLY want) including upper/lowercase letters, numbers and symbols.

More info: https://cwe.mitre.org/data/definitions/521.html

  1. The APK is signed with the v1 scheme. Since this is the case, the APK is vulnerable to the Janus Vulnerability. What that means is an attacker can add extra bytes to an APK and DEX file. Although this would require an attacker to trick a target into downloaded the modified and malicious app just figured I'd let you know!

More info: https://medium.com/mobis3c/exploiting-apps-vulnerable-to-janus-cve-2017-13156-8d52c983b4e0
AND https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-13156

I'll let you know if anything else comes up!

@licaon-kter
Copy link
Contributor

  1. isn't this an admin responsibility? ref: https://github.com/bilde2910/Hauk/blob/master/backend-php/include/config-sample.php#L73
  2. An app update might bump it to v2, also https://f-droid.org/2017/12/13/fdroid-and-janus.html

@J-GainSec
Copy link
Author

J-GainSec commented Aug 6, 2022

  1. You can leave it up to the admin but it's considered part of the Identification and Authentication Failures OWASP Top 10 categories. Specifically CWE-521: Weak Password Requirements.

  2. Interesting, f-droid didn't by default bump it to v2 a few days ago but I grabbed it. But shifting the risk to F-Droid I understand

@licaon-kter
Copy link
Contributor

@J-GainSec f-droid build it back then, it's not rebuild it on and on :) When a new version arrives that one...

@J-GainSec
Copy link
Author

Sounds good!

Do I your permission to post/publish about this?

@licaon-kter
Copy link
Contributor

licaon-kter commented Aug 7, 2022

It's not my/f-droid's thing, the dev here decides when/if they publish a new version.

Are we lost in translation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants