💥
Android Penetration Testing
WEBSITEGITHUBLINKDININSTAGRAM
  • 🕵️‍♂️OWASP Mobile Top 10
    • OWASP Mobile Top 10 2014
    • OWASP Mobile Top 10 2016
    • OWASP Mobile Top 10 2023
      • Insecure Authentication/Authorization
      • Insecure Communication
      • Inadequate Supply Chain Security
      • Inadequate Privacy Controls
      • Insufficient Input/Output Validation
      • Security Misconfiguration
      • Insufficient Cryptography
      • Insecure Data Storage
      • Insufficient Binary Protections
  • "Let's Dive into the Theory"
  • 😍Theory of Android Penetration Testing
    • 👑Basic - Advance
    • 💥Professional - Expert
    • 🟧Types of Mobile Applications
    • 🟣Android Architecture
    • 🟦Android Show
    • 🚀Secrets of Android App Creation
    • ♦️Android's Data Treasure Chests
    • 🛑Mysterious .apk File:
    • 🏹Android Pentesting with Cutting-Edge Tools
    • ⬛Android File System
  • "Let's Dive into the Practical"
  • 😇Vulnerable Android Application with Practical.
    • 😉InsecureShop
      • 😁Vulnerability #1: Insecure Logging
      • 😂Vulnerability #2: Hardcoded Credentials
      • 😆Vulnerability #3: Insecure Data Storage
      • 🤣Vulnerability #4: Lack of SSL Certificate Validation
      • 😍Vulnerability #5: Insufficient URL Validation
      • 😄Vulnerability #6: Weak Host Validation
      • 😘Vulnerability #7: AWS Cognito Misconfiguration
      • 😃Vulnerability #8: Insecure Broadcast Receiver
      • 😛Vulnerability #9: Use of Implicit intent to send a broadcast with sensitive data
      • 😎Vulnerability #10: Using Components with Known Vulnerabilities
      • 😜Vulnerability #11: Intent Redirection (Access to Protected Components)
      • 😂Vulnerability #12: Insecure Webview Properties Enabled
      • 😆Vulnerability #13: Intercepting Implicit intent to load arbitrary URL
      • 🙃Vulnerability #14: Insecure Content Provider
      • 🥰Reading Material
  • "Let's Dive into the Interview Questions"
  • 😎Important Interview Questions for Android Application Penetration Testing.
    • 🥇Part - 1
    • 🥈Part - 2
    • 🥉Part - 3
    • 🏅Part - 4
    • 🎖️Part - 5
  • 😘Notes
    • Tools to use
    • Important Reports from Hackerone
Powered by GitBook
On this page
  1. Vulnerable Android Application with Practical.
  2. InsecureShop

Vulnerability #2: Hardcoded Credentials

PreviousVulnerability #1: Insecure LoggingNextVulnerability #3: Insecure Data Storage

Last updated 1 year ago

Navigating to the util.Util class, we can see that verifyUserNamePassword calls getUserCreds and compares the values that it returns with the values that we provide.

The vulnerability here is that credentials are hardcoded into the getUserCreds method, thus giving us a valid account that we can use to login into the app.

username: shopuser password: !ns3csh0p

😇
😉
😂