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

버그바운티-박정현 #46

Open
junghyunpark2001 opened this issue Feb 4, 2025 · 0 comments
Open

버그바운티-박정현 #46

junghyunpark2001 opened this issue Feb 4, 2025 · 0 comments

Comments

@junghyunpark2001
Copy link

  1. UserRepository-saveTokens() : 토큰 저장 방식 보안 문제
    access_token과 refresh_token을 SharedPreferences에 평문으로 저장함.
    SharedPreferences는 기본적으로 암호화되지 않으므로, 앱이 루팅되거나 디버깅 도구를 이용하면 쉽게 접근할 수 있음.

  2. LoginActivity-isUserLoggedIn() : 자동 로그인 로직의 보안 이슈
    LoginActivity에서 userRepository.getAccessToken()을 호출해 로그인 여부를 확인하는데, 이 값이 유효한지 확인하는 과정이 없음.
    만료된 토큰이나 서버에서 무효화된 토큰을 그대로 사용하여 인증이 유지될 가능성이 있음.

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

1 participant