Exposed Python Script with Hardcoded SFTP Credentials, Internal IPs, and Sensitive Data Access
A publicly accessible Python script contained hardcoded SFTP login credentials, internal IP addresses, and access to sensitive data. An attacker could use these details to gain unauthorised access, download important data, or interfere with research files.
Originally disclosed on Bugcrowd
- Accepted in 2 days
- Fixed in 9 days
- Disclosed after 20 days
Summary by Batraju_Sairam
I found a Python script that is publicly available on the internet. The script contains hardcoded login details (username and password), IP addresses of internal devices, and access to sensitive data. This could allow hackers to get unauthorized access to the system, download important data, or interfere with research files.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could gain unauthorised access to the system, download important data, or interfere with research files.
What the attacker needed
The script is publicly accessible
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A Python script is a small program. This one was left where anyone on the internet could find it, and it had a username and password written directly inside it. Anyone who found the script could read those details and use them to log in to the system it was meant for.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.