Very long names on demo.openmage.org could redirect victim users to malicious url redirects via email contacts.
The first and last name fields on the registration and profile update forms lacked proper length limits, allowing an attacker to insert very long text containing URLs. This could be used to send emails that redirect victims to malicious sites.
- Triaged in 3 hours
- Fixed in 52 days
- Disclosed after 3 months
Summary:
We found that the maximum length of the first and last name fields was not set to 32 characters at registration and to 1000 characters when using the profile update form. The attacker can use this method as a malware attack, the user will redirect to a website that contains malware or hijack.
Descriptions
- very long name vulnerabilities use refferals
- control character allowed in username
- Email spoofing can redirect victim to malware attack
Steps To Reproduce:
- Open directory register page https://demo.openmage.org/customer/account/create/
- In F/L name paste your
payload-name - Paste a victim emails to sent a mallware attack
- Sent repreat to burp suite - and boom you can see the response has been
200 OK
Request
POST /customer/account/createpost/ HTTP/1.1
Host: demo.openmage.org/
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1
Content-Length: 91
Content-Disposition: form-data; name="error_url"
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="form_key"
8aHBFidQJt9At8Ux
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="firstname"
hello your account has been deleted permanenty please visit here evil.com your account has been blocked permanenty ,please confrim your verification here evil.com
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="lastname"
hello your account has been deleted permanenty please visit here evil.com your account has been blocked permanenty ,please confrim your verification here evil.com
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="email"
[email protected]
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="password"
memek@123
------WebKitFormBoundaryZaGjL6AhSOgUPeQl
Content-Disposition: form-data; name="confirmation"
memek@123
------WebKitFormBoundaryZaGjL6AhSOgUPeQl--
Supporting Material/References:
F1179531 F1179532
Impact
- Attacker can sent a malware attack to victim email using a server notification emails this is can leads to Business Logic Errors
- Email Hijacking
- Control character allowed in username
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
Impact
An attacker could send emails containing malicious links to victims, potentially leading to malware infection or email hijacking.
What the attacker needed
Ability to register an account; victim receives site email
How it was found
- Open the registration page.
- Enter a long payload in the first and last name fields.
- Provide a victim's email address.
- Submit the form and observe a 200 OK response.
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.
When you sign up, the website should limit how long your name can be. Here, it didn't, so someone could put a very long message with a link in their name. That message might then appear in emails the site sends, tricking people into clicking the link.
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.