Repository navigation
Fix insecure FTP/FTPS/SFTP default configuration - #234
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 45
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
328b1c3 to
f2e05c6
Compare
Strix Security ReviewNo security issues found. Review summaryReviewed the FTP/FTPS/SFTP secure-defaults fix. The change correctly replaces weak/hardcoded default credentials with per-install cryptographically random passwords (SecureRandom, 24-byte Base64), enforces a minimum credential-strength policy at the server boundary for both FTP/FTPS and SFTP (fail-closed via IllegalStateException on weak values), and migrates anonymous login off and FTPS on once. The migration is idempotent and preserves existing strong credentials while regenerating weak ones. The legacy "android" fallback default remains in code but is unreachable because migration regenerates weak/empty values and the boundary check rejects any weak credential before the server can start. Data flows were traced across all changed functions; no new vulnerability, fix bypass, or regression was found in the changed code. The 40 added resource files are pure localized strings. Updated for Reviewed by Strix |
Security fix for Strix finding
Addresses the HIGH-severity finding reported on PR #232 (CWE-798).
Changes
Scope
Android-only: the Web/Desktop repository does not contain these Android FTP/SFTP server services, so no Web/Desktop changes are needed.
Validation