Improper validation of Email
The email and name fields accepted extremely long input and did not validate email format. Because the database column is shorter than the allowed input, stored emails could be silently truncated.
- Disclosed after 41 hours
1.goto https://bridge.cspr.ng/my/account here no rate limit present for email and display name,real name i just entered 1000 character length email in email field and it accepted
also for the display name ,real name
another there is no regular expression to check valid email if u give email as "aaaaaa", "a++++++++", "vdadva*$'/@4%$123", "sdfsjghg@something" all will be accepted as valid email Also 500+ character email also valid according to your code here is the specification for email address https://en.wikipedia.org/wiki/Email_address and email id must be <254 character
as email id strored in mysql as VARCHAR(128), so all the trailing character in mysql db will be truncted if your email like [email protected] and you entered as [email protected],then still you receave email in [email protected] MITIGATION: you must use filter_var($email, FILTER_VALIDATE_EMAIL) to validate email or use Regex like /^[_a-z0-9-]+(.[_a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)(.[a-z]{2,3})$/
Attachments

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
Root cause
Likely the application does not validate email format or length before storing it, and the database column is shorter than the accepted input, causing silent truncation.
Impact
An attacker could register or change an email to a malformed or overly long address, and due to truncation, the stored email may be silently shortened.
What the attacker needed
Access to the account page
The fix
The application should validate email format and length using filter_var or a regular expression before storing.
How it was found
- Go to the account page.
- Enter a very long email address (e.g., 1000 characters) in the email field.
- Observe that the form accepts it without error.
- Also try invalid email formats like 'aaaaaa' and see they are accepted.
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 website should check that an email address looks like a real email and is not too long. Here, the form accepted any text, even 1000 characters, and the database cut off the extra characters.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.