Unauthorized Ticket can be created by an Attacker in user's Helpdesk account
The helpdesk system accepted emails from arbitrary senders and created tickets attributed to the spoofed sender's email address. An attacker could send an email with a victim's address as the sender to create a ticket in the victim's helpdesk account without authorisation.
fanimalikhack Follow with adnanmalikinfo and theroxer
Originally disclosed on HackerOne
- Fixed in 47 days
- Paid in 48 days
- Disclosed after 48 days
Hey Team!
I was able to create a ticket in any user's Support.hackerone.com account without authorization, and can write whatever I wanted in that ticket. Normally, in order to get help, users are required to log in and create a ticket. However, due to this flaw, I could create tickets on behalf of any user without their permission or knowledge.
Steps To Reproduce
-
Go to https://emkei.cz/ and enter victim's email as the sender, and [email protected] as the receiver. Fill out other necessary details.
-
Solve the captcha and send the email.
-
Check your helpdesk account at support.hackerone.com and you will see new ticket.
Optional: Supporting Material/References (Screenshots)
https://medium.com/@khaled.hassan/hacking-thousands-of-companies-through-their-helpdesk-8f180a8595ef
POC : ████
Impact
Unauthorized user can create tickets in any user's help desk account!
Context
HackerOne runs a helpdesk at support.hackerone.com. Users who need help log in there and create a ticket. The report describes a way to create a ticket in any user's helpdesk account without authorisation, with attacker-controlled content.
Setup
The researcher needed no account on the victim's side and no special tooling. The only external service used was https://emkei.cz/, a site that sends email with a chosen sender address. The report shows that sending email with a victim's address as sender produced a ticket in that user's helpdesk account.
Finding it
The researcher found that a ticket could be created in another user's helpdesk account by sending email with that user's address as the sender. Because the sender address of an email is not authenticated by the receiving helpdesk, anyone can claim to be any user. The researcher framed this as creating tickets on behalf of any user without their permission or knowledge.
Exploitation
Step 1: Compose the email with a spoofed sender
Go to https://emkei.cz/ and enter the victim's email as the sender and [redacted] as the receiver. Fill out the other necessary details.
The sender field is the victim's address, so the helpdesk will attribute the resulting ticket to the victim's account. The receiver is the helpdesk's inbound email address. The attacker controls what is written in the ticket.
Step 2: Send the email
Solve the captcha on emkei.cz and send the email. The captcha only gates use of the spoofing service; it does not involve the target.
Step 3: Confirm the ticket
Check the helpdesk account at support.hackerone.com and a new ticket will be visible.
The report also links a Medium article by Khaled Hassan, "Hacking thousands of companies through their helpdesk", as supporting material, and includes a proof-of-concept recording that is redacted in the disclosed text.
Root cause
The helpdesk creates tickets from inbound email and uses the sender address to decide which user's account the ticket belongs to. Email sender addresses are trivially forgeable, so this binding is not an authorisation check. The report does not explain the underlying cause.
Impact
An unauthorised user can create tickets in any user's helpdesk account. The attacker chooses the content of those tickets. The report does not describe any further consequence, such as data exposure or account takeover, beyond ticket creation and content injection.
Fix
A fix would need to stop trusting the bare From address for account attribution, for example by requiring a verified sender identity or a per-user token in the reply address before a ticket is attached to an account.
Variants to test
- Spoof the sender on other helpdesks that accept email: send a message with a victim's address as sender to the support address and check whether a ticket appears in the victim's account.
- Use a display name that matches a trusted internal address while keeping an arbitrary real sender, to see whether the parser matches on the display name rather than the address.
- Send from an address in the same domain as the helpdesk to test whether internal-looking senders bypass any filtering.
- Reply to an existing ticket notification address with a forged sender to see whether the reply is threaded into the victim's ticket.
A positive result in each case is a ticket, or ticket content, appearing in an account the sender does not control.
Hunting notes
This class of bug hides wherever a product ingests email and maps it to an account: helpdesks, ticketing systems, shared inboxes and support portals. During recon, look for a published support address, a "create ticket by email" feature, or reply-to addresses in notification emails. The signal is that the product attributes email to an account purely by sender address. To show impact, demonstrate that a message sent from a third-party spoofing service with the victim's address as sender produces a ticket in the victim's account with attacker-chosen content, which is exactly what this report does.
What happened, in plain words
HackerOne runs a helpdesk at support.hackerone.com. Normally, if you need help, you log in there and create a ticket. A ticket is just a message that describes your problem and asks for support. The report shows that an attacker could create a ticket in any user's helpdesk account without logging in as that user, and could put any content they wanted into that ticket. The attacker did not need the victim's password or any special access. They only needed to send an email that looked like it came from the victim's email address.
This is possible because the helpdesk accepts tickets by email. The report shows that an email with the victim's address as sender produced a ticket in the victim's account. The report does not explain why the helpdesk accepted the spoofed sender. So an attacker can send an email with the victim's address as the sender, and the helpdesk will create a ticket in the victim's account as if the victim had sent it.
The researcher used a public website, https://emkei.cz/, that lets you send email with any sender address you choose. They entered the victim's email as the sender and [redacted] as the receiver, solved a captcha, and sent the email. Then they checked the helpdesk account and saw a new ticket. The report includes a proof-of-concept recording, but it is redacted in the disclosed text.
Context
HackerOne has a helpdesk at support.hackerone.com. Users who need help log in there and create a ticket. A ticket is a request for support. The report describes a way to create a ticket in any user's helpdesk account without authorisation, with content controlled by the attacker.
To understand the issue, you need to know a few basic ideas:
- Helpdesk: a system where users ask for help and support staff respond. It usually has user accounts, tickets, and a way to reply.
- Ticket: a message or request for help. It belongs to a user account.
- Email sender address: the
Fromfield in an email. It says who sent the message, but it is not a proof of identity. Just like the return address on a paper envelope, anyone can write anything there. - Spoofing: pretending to be someone else, for example by putting a different sender address in an email.
- Authorisation: checking whether someone is allowed to do something. Here, the helpdesk should check that the person creating a ticket is really the account owner.
Setup
The researcher did not need an account on the victim's side and did not need special tools. The only external service used was https://emkei.cz/, a website that sends email with a sender address you choose. The precondition is that the helpdesk accepts tickets by email and trusts the From address of the incoming message to decide which user's account the ticket belongs to.
In simple terms: the helpdesk has a feature that turns incoming email into tickets. It looks at who the email says it is from, and puts the ticket in that person's account. It does not check whether the email really came from that person.
Finding it
The researcher found that a ticket could be created in another user's helpdesk account by sending email with that user's address as the sender. Because the sender address of an email is not authenticated by the receiving helpdesk, anyone can claim to be any user. The researcher framed this as creating tickets on behalf of any user without their permission or knowledge.
Why is the sender address not authenticated? Email was designed to be simple. The From header is just text.
Exploitation
Step 1: Compose the email with a spoofed sender
Go to https://emkei.cz/ and enter the victim's email as the sender and [redacted] as the receiver. Fill out the other necessary details.
What this means:
Sender:is the email address that will appear in theFromfield. The attacker puts the victim's email address here. This is the spoofing part.Receiver:is the address the email is sent to. Here it is[redacted], the helpdesk's inbound email address.- The attacker can write anything they want in the ticket.
Why this step: the helpdesk will receive an email that looks like it came from the victim. It will then create a ticket in the victim's account, with the attacker's content.
Step 2: Send the email
Solve the captcha on emkei.cz and send the email. The captcha only gates use of the spoofing service; it does not involve the target.
A captcha is a test to prove you are human, like typing distorted letters. It is there to stop automated abuse of emkei.cz, not to protect HackerOne.
Step 3: Confirm the ticket
Check the helpdesk account at support.hackerone.com and a new ticket will be visible.
Checking the helpdesk account showed the new ticket. This confirms that the helpdesk accepted the spoofed email and attributed it to the victim.
The report also links a Medium article by Khaled Hassan, "Hacking thousands of companies through their helpdesk", as supporting material, and includes a proof-of-concept recording that is redacted in the disclosed text.
Root cause
The helpdesk creates tickets from inbound email and uses the sender address to decide which user's account the ticket belongs to. Email sender addresses are trivially forgeable, so this binding is not an authorisation check. The report does not explain the underlying cause.
In plain words: the helpdesk trusted the return address on the envelope without checking ID. Anyone can write any return address, so anyone can create a ticket in any account.
Impact
An unauthorised user can create tickets in any user's helpdesk account. The attacker chooses the content of those tickets.
So the impact is limited to creating tickets with arbitrary content in someone else's account.
Fix
A fix would need to stop trusting the bare From address for account attribution, for example by requiring a verified sender identity or a per-user token in the reply address before a ticket is attached to an account.
In simple terms: the helpdesk should not believe the sender address on its own. It could, for example, send a confirmation email to the address and require a click, or include a unique secret code in the reply address for each user, so that only someone who received the original email can reply and add to the ticket.
Variants to test
- Spoof the sender on other helpdesks that accept email: send a message with a victim's address as sender to the support address and check whether a ticket appears in the victim's account.
- Use a display name that matches a trusted internal address while keeping an arbitrary real sender, to see whether the parser matches on the display name rather than the address.
- Send from an address in the same domain as the helpdesk to test whether internal-looking senders bypass any filtering.
- Reply to an existing ticket notification address with a forged sender to see whether the reply is threaded into the victim's ticket.
A positive result in each case is a ticket, or ticket content, appearing in an account the sender does not control.
These are ideas for testing similar systems. For example, if a helpdesk uses the display name (the friendly name shown next to the address) instead of the actual address, you might be able to trick it by setting the display name to something trusted. Or if the helpdesk treats emails from its own domain as internal and trusted, you could try sending from an address that looks like it belongs to the helpdesk.
Hunting notes
This class of bug hides wherever a product ingests email and maps it to an account: helpdesks, ticketing systems, shared inboxes and support portals. During recon, look for a published support address, a "create ticket by email" feature, or reply-to addresses in notification emails. The signal is that the product attributes email to an account purely by sender address. To show impact, demonstrate that a message sent from a third-party spoofing service with the victim's address as sender produces a ticket in the victim's account with attacker-chosen content, which is exactly what this report does.
Recon means exploring a target to find features and entry points. Here, you would look for any email address the product publishes for support, or any email that the product sends which invites a reply. If the product creates tickets from those emails and uses only the sender address to decide the account, it is likely vulnerable.
Glossary
- Helpdesk: a system where users ask for help and support staff respond, usually with user accounts and tickets.
- Ticket: a message or request for help in a helpdesk system, belonging to a user account.
- Email sender address: the
Fromfield in an email, indicating who sent it, but not verified by default. - Spoofing: pretending to be someone else, for example by setting a different sender address in an email.
- Authorisation: the process of checking whether a user is allowed to perform an action.
- Captcha: a test to prove you are human, used to prevent automated abuse.
- SPF, DKIM, DMARC: email authentication mechanisms that help verify the sending domain.
- Recon: short for reconnaissance, the phase of exploring a target to find potential vulnerabilities.
- Proof-of-concept (POC): a demonstration that a vulnerability exists, often with steps or a recording.