Logic Issue in Unusual and Unexpected Scenario Leading to Critica
The support case system trusted the sender's email address and Reply-To header, allowing an attacker to impersonate the admin and add comments or upload malicious files. After being removed from a case, the attacker could still receive all case details by setting a Reply-To address.
Published on hamzadzworm.medium.com
The admin can perform many actions in a case, such as uploading files, inviting other users, and adding comments to the case.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application authenticated email replies only by the sender's display name and email address, without verifying a secret token or DKIM signature.
Impact
An attacker could impersonate the admin to post comments and upload malicious files, and could continue receiving case details after removal.
What the attacker needed
Access to the support case feature; ability to send emails
How it was found
- Create a support case as an admin and note the notification email.
- Send an email to the case address with the admin's name and email as sender.
- Observe that a comment is added as if from the admin.
- Attach a malicious file to the email to bypass upload restrictions.
- Set the Reply-To field to the attacker's email.
- After being removed from the case, receive all case details via Reply-To.
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 write-up has not been written yet. The Original tab links to the source.
A support case is like a shared inbox for a problem. The system believed any email that looked like it came from the admin, so an attacker could send a fake email and post comments or files as the admin. Even after being removed, the attacker could still get updates by setting a 'Reply-To' address.
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.