Skip to content
Business logic Disclosed report Beginner

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.

lmhu Follow

Originally disclosed on HackerOne

  • 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:

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

Screenshots.png
Screenshots.png From the original on HackerOne
Screenshots_2.png
Screenshots_2.png

The original report as published on HackerOne, by lmhu. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the registration page.
  2. Enter a long payload in the first and last name fields.
  3. Provide a victim's email address.
  4. 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.

More by lmhu

View all

8 more disclosed reports, best first.

More from OpenMage

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.