[nextcloud.com] Control character allowed in Submit Question
The contact form on the vendor's website accepted control characters and overly long values in the name and organisation fields. The reporter claims this could let an attacker send notification emails containing malicious links to a victim.
- Triaged in 25 hours
- Fixed in 26 hours
- Disclosed after 29 hours
Issue descriptions 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.
URL Effected https://nextcloud.com/contact/
Steps To Reproduce:
- Open directory url https://nextcloud.com/contact/
- Repreat url to burp suite
- Chage a subject
Organization-nameyour payloads.txt - "Subject Name" has been effected a Control character allowed vulnerable but you can use this for hijacking emails
- Paste a victim emails to sent a malware attack
- Sent request to victim emails, and boom this emails has been hijact.
Proof On Concept
POST /api/t/1/credit/share HTTP/1.1
Host: nextcloud.com
Connection: close
Upgrade-Insecure-Requests: 1
yourname=%24%21%25%24%5E%21%25%24%5E%25%21*%24%25%21*%5E%24%25*%26%21%25%24*%26%5E%21%26*%5E%24%26*%21%5E%26*%24%21%25%24%5E%21%25%24%5E%25%21*%24%25%21*%5E%24%25*%26%21&email=kittytrace%40wearehackerone.com&organization=Hello+your+account+has+been+hacked+please+visit+here+https%3A%2F%2Fevil.com%2F&role=Administrator&phone=Test&comments=TEST&gdprcheck=gdprchecked&captcha=10&checksum=a29a82e78e%3A478e965f1f8045a0beac0c1ba3424f10ca25f859543909747b89c33eec6df943
Screenshots POC
F1163343 F1163344
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
Root cause
Likely the contact form lacked input validation on the name and organisation fields, allowing control characters and values longer than intended.
Impact
The reporter claims an attacker could send notification emails containing malware links to a victim, but no clear evidence of actual email hijacking is shown.
What the attacker needed
Access to the public contact form; victim's email address known
How it was found
- Open the contact page on the vendor's website.
- Capture the form submission in an intercepting proxy.
- Replace the organisation field with a crafted value containing control characters and a link.
- Submit the request with a victim's email address so the notification is sent to them.
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 contact form lets visitors send a message to a company. This report says the form did not check what characters or how many characters were typed into some fields. The reporter believes a bad actor could abuse this to send emails that look like they come from the company and contain links to harmful software, though the report does not clearly prove this.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.