Smb Password
Description
The source code repository contains sensitive information: SMB Password
Detection Strategy
• Matches SMB Password patterns in source code and configuration files
Vulnerable code example
smb://jdoe:Xq7vR2mK9pLw@fileserver.example.com/share
SMB_URL=smb://CORP;svc_backup:Tz4nB8cQ1sVy@10.0.0.5/backups
mount -t cifs //nas.local/media /mnt/media -o username=app,password=Hk3dW9fP2xNa,vers=3.0
//fs01/projects /mnt/projects cifs username=build,password=Rm6tJ1gZ8wQe,uid=1000 0 0
smbclient //fs01/share -U 'CORP\jdoe%Wv5cN2kL8rTy' -c ls
smbclient //fs01/share --user=jdoe%Bk2nX7pQ4vWd
net use Z: \\fs01\share Mz5kT9wB3xQe /user:CORP\jdoe /persistent:no
net use \\fs01\share /user:CORP\jdoe Pq8sL2vN6tRw...Free trial
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.