Leaked Credentials MySQL and SMPT credentials exposed on GitHub

Disclosed by
Sharat_Chandra
Summary by Sharat_Chandra

Title: Hardcoded plaintext credentials exposed in application configuration

Summary: During security research, I discovered valid plaintext credentials for SMTP and MySQL services hardcoded in configuration and environment files. The credentials were accessible without authentication.

Impact: Exposed secrets can allow unauthorized access to email and database services, which could lead to data exposure, modification, or deletion, as well as reputational damage. Severity depends on the sensitivity of the data those services handle.

Root cause: Secrets were stored directly in configuration files rather than in a secrets manager or in environment-specific configuration excluded from version control.

Remediation: Rotate all exposed credentials, remove them from the affected files and any version history, and use secret-scanning tools or pre-commit hooks to prevent recurrence.

Activity