Brut Security
17.7K subscribers
1.15K photos
102 videos
362 files
1.26K links
✅DM: @wtf_brut
✅For Ad: https://tlmtr.io/p/2flAsc
🛃WhatsApp: https://wa.link/brutsecurity
🈴Training: https://brutsecurity.com
📨Mail: info@brutsec.com
Download Telegram
🚨Bug Bounty Tip: Test Newline Injection in JSON Parameters

When testing API endpoints, don’t assume parameters like email accept only a single value.

For password-reset functionality, try newline injection:

{
"action": "reset-password",
"email": "accA@mail.com\naccB@mail.com"
}


If the backend fails to properly validate or sanitize the parameter, it may interpret both email addresses as separate recipients and send the password-reset link to both accounts.

This can indicate a parameter parsing / input validation flaw and, depending on the application logic and impact, potentially lead to account-related security issues.

Things to test:
• \n and \r\n separators
• Multiple values in the same parameter
• JSON arrays vs. strings
• Duplicate JSON keys
• URL-encoded newline characters
• Different API content types

Always test only on systems you’re authorized to assess.

#BugBounty #BugBountyTips #API #APISecurity #WebSecurity #Pentesting #CyberSecurity
❤12👍5🔥2👏1🤝1