Google Security Misconfiguration Leads to Account Takeover !
The buganizer email reply system accepted spoofed emails and sent a reply from a Google address with the attacker's subject and body, allowing phishing. An attacker could send a fake security alert from a Google address to a victim.
Published on medium.com
Thank you for taking the time to read about “ Google Security Misconfiguration Leads to Account Takeover ! "
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.
Context
Google runs its own vulnerability reporting platform at bughunters.google.com. When a researcher submits a bug, the platform sends a confirmation email from an address of the form [redacted]. Replying to that email thread adds a comment to the corresponding report, which is visible both on the bughunters.google.com tracker and on the linked issuetracker.google.com issue.
The feature under examination is therefore an inbound email to comment bridge: mail sent to a per-issue address is parsed and its content is attached to the report. The researcher's question was whether mail sent to that address from another mailbox would add a comment to the report.
Setup
No special accounts, roles or tooling are described beyond the following:
- A submitted report on bughunters.google.com, which produces the confirmation email and the per-issue reply address.
- The ability to send email to that address from an arbitrary sender, including through the mail spoofing service emkei.cz.
- A phishing page hosted at a short link, used as the payload body.
The report does not list software versions or any further preconditions.
Finding it
The starting observation is that replying to the confirmation email thread automatically adds a comment to the report at URLs of this shape:
https://bughunters.google.com/profile/xyz/tracker/xyz
https://issuetracker.google.com/issues/xyz
The researcher then asked what happens if mail is sent to the unique per-issue address from a different mailbox. The first attempt failed: the comment was not added. The next attempt used a mail spoofing service, emkei.cz, to forge the sender. Again the comment was not added.
However, something else happened. The researcher received a mail from [redacted] carrying the subject and body that had been sent. In other words, the forged message did not become a report comment, but Google's own address relayed the attacker-supplied subject and body back out as an email.
Exploitation
Step 1: identify the per-issue address
After submitting a bug, the confirmation mail arrives from an address of the form:
[redacted]
This is the address that the comment bridge listens on.
Step 2: test a normal foreign sender
Sending to that address from another mailbox did not add a comment to the report. The bridge rejected the message as a comment source.
Step 3: test a spoofed sender
Sending to the same address through the spoofing service emkei.cz also did not add a comment. The report does not say what check rejected it.
Step 4: observe the relayed message
Although no comment appeared, the researcher received a mail from:
[redacted]
with the subject and body that had been submitted. This is the behaviour that made the issue worth pursuing: the content was reflected back out under a Google sender address.
Step 5: craft the phishing message
The researcher prepared a message in the following format, with the body pointing at an attacker-controlled phishing site behind a short link:
Subject -
Security Alert
Body -
Unfortunately, We have seen some suspicious activity on your account.
Kindly Signin to verify your account https://bit.ly/xyz (Attacker’s Phishing Website) .
Google Security Team
Step 6: send with the victim as sender
The message was sent to [redacted] from the victim's mail address, using emkei.cz to forge the sender. The researcher then received a mail from [redacted] carrying the crafted subject and body. The researcher describes this as an error email carrying the crafted subject and body from a Google address.
Timeline
| Event | Date |
|---|---|
| Bug submitted | 10.01.2022 |
| Bug triaged | 11.01.2022 |
| Bug closed (Won't Fix, intended behaviour) | 18.01.2022 |
The exchange with Google
Google's position was that the report amounted to phishing. The researcher's reply accepted that it is phishing but argued it is not ordinary phishing, because the attacker can phish the victim only because Google's mail servers are not protected and are misconfigured, and asked for the issue to be looked into and fixed. Google's final reply was that they would not be making a change.
Root cause
The report frames the problem as a mail server misconfiguration: the buganizer system accepts a message whose sender has been forged, fails to treat it as a comment, and then emits a bounce or error message to the forged sender address, copying the attacker-controlled subject and body into a message sent from [redacted]. The researcher's argument is that the sending infrastructure should not relay unauthenticated, forged content under a Google address. The report does not describe the internal checks that rejected the comment, nor which authentication mechanism, if any, was missing; any statement about SPF, DKIM or DMARC enforcement here would be speculation.
Impact
An attacker who knows a per-issue buganizer address can send a forged message to it and receive a Google-branded error email carrying their subject and body. The content of that email, subject and body, is fully attacker-controlled, so it can carry a credential-harvesting link. The message arrives from a Google address rather than from the attacker.
The conditions are narrow: the attacker needs a valid per-issue address of the form [redacted], and needs to be able to forge the sender, for example through a spoofing service. The report does not demonstrate any compromise of a Google account; the outcome depends on the victim following the link and entering credentials on the phishing page.
Fix
No fix was made. Google triaged the report and closed it as intended behaviour, stating that they would not be making a change. The researcher's requested outcome, protecting the mail servers so that forged content is not relayed under a Google address, was not implemented according to the report.
Variants to test
- Other per-issue or per-ticket reply addresses on bug trackers and support desks. A positive result is an error or bounce message arriving from the vendor's own domain with your subject and body intact.
- Different forged sender domains against the same bridge, to see whether any domain passes the comment check that the first attempts failed. A positive result is a comment appearing on the report from a sender you do not control.
- Reply addresses of other notification systems that accept inbound mail, such as status pages or mailing list managers. A positive result is reflected content delivered from the vendor's domain.
- Varying the body to include HTML or links, to see whether the relayed error message preserves markup. A positive result is a clickable link in a message sent from the vendor's address.





What happened, in plain words
Google runs a website where security researchers can report bugs they find in Google products. That website is called bughunters.google.com. When you send in a bug report there, the system sends you a confirmation email. That email comes from an address that looks like this:
[redacted]
If you simply hit reply on that email and write something, your reply is automatically added as a comment on your bug report. You can see that comment on the bughunters.google.com tracker page for your report, and also on a linked page at issuetracker.google.com.
So there is a small machine behind the scenes that reads incoming email sent to that special address and copies the text into the report. Think of it like a suggestion box with a slot: anything you drop in the slot ends up pinned to the noticeboard. The researcher, Harsh Banshpal, wondered what else that slot could be used for.
His question was simple: what happens if someone sends mail to that special address from another mailbox? Would a comment be added to the report?
That is what this write-up is about. It is not about stealing a password directly. It is about making a message arrive from a Google address, which makes a fake message look far more trustworthy than it really is.

The image above is the Google logo used at the top of the article.

The second image is the article's opening banner, introducing the author Harsh Banshpal.
The background you need
Before the steps make sense, a few everyday ideas need explaining.
Bug bounty programme. A company offers money or thanks to people who find security problems in its products and report them privately instead of using them for harm. Google runs one of these.
Bug tracker. A system that stores each reported problem as a numbered ticket, so the company and the reporter can discuss it. Google's tracker here is called Buganizer, and the public-facing part is at bughunters.google.com.
Email address with a plus sign. In email, everything after a + in the part before the @ is usually ignored for delivery but kept for sorting. So [redacted] is really the mailbox [redacted] with a label attached. The label tells the system which ticket the message belongs to. It is like writing a flat number on an envelope that all goes to the same building's front desk.
Email spoofing. Normally an email says who sent it in a field called From. That field is just text that the sending program fills in. Unless the receiving server checks cryptographic signatures, it cannot be sure the From address is real. A spoofing service is a website that lets anyone type any From address and send a message that looks like it came from there. It is like being able to write any return address on the back of an envelope.
Phishing. A fake message that pretends to be from a trusted company and pushes the reader to click a link and type in a password or card number on a fake page. The fake page is hosted by the attacker.
Short link. A service like bit.ly turns a long web address into a short one. Attackers use it to hide where a link really goes.
Bounce or error email. When a mail server cannot process a message, it often sends a reply back to the sender explaining the problem. That reply usually quotes the original subject and body. This quoting behaviour is the heart of the issue.
Misconfiguration. A setting on a server that is left in a state that allows something unintended. It is not a coding bug in the usual sense; it is a switch set the wrong way, or a check that was never turned on.
Setting up
The researcher did not need anything exotic. The report describes only these pieces:
- A submitted report on bughunters.google.com, which produces the confirmation email and the per-issue reply address.
- The ability to send email to that address from an arbitrary sender, including through the mail spoofing service emkei.cz.
- A phishing page hosted at a short link, used as the payload body.
The report does not list software versions or any further preconditions.
Finding it
The starting observation is that replying to the confirmation email thread automatically adds a comment to the report at URLs of this shape:
https://bughunters.google.com/profile/xyz/tracker/xyz
https://issuetracker.google.com/issues/xyz
Line by line: the first line is the page on Google's bug bounty site where the researcher's own report lives. The xyz parts are placeholders for the profile name and the tracker number. The second line is the matching ticket on Google's internal issue tracker, which is also visible to the reporter. Both pages show the same conversation, so a comment added by email appears in both places.
The researcher then asked what happens if mail is sent to the unique per-issue address from a different mailbox. The first attempt failed: the comment was not added. The next attempt used a mail spoofing service, emkei.cz, to forge the sender. Again the comment was not added.
However, something else happened. The researcher received a mail from [redacted] carrying the subject and body that had been sent. In other words, the forged message did not become a report comment, but Google's own address relayed the attacker-supplied subject and body back out as an email.
That is the pivot point. The comment bridge said no, but the error handling said yes, and it said yes using a Google address.
Exploitation
Step 1: identify the per-issue address
After submitting a bug, the confirmation mail arrives from an address of the form:
[redacted]
This is the address that the comment bridge listens on. The Component-No and Issue-No parts are the labels that route the message to the right ticket. Without a valid pair, the system has nothing to attach the message to, so this address is the key the attacker needs.
Step 2: test a normal foreign sender
Sending to that address from another mailbox did not add a comment to the report. The bridge rejected the message as a comment source. The reason to try this first is to learn the baseline: does the system care who the sender is? The answer was yes, it does.
Step 3: test a spoofed sender
Sending to the same address through the spoofing service emkei.cz also did not add a comment. The report does not say what check rejected it. The reason to try this second is to see whether the check is only on the visible From text. It turned out the check was stronger than that, so spoofing the From field alone was not enough to post a comment.
Step 4: observe the relayed message
Although no comment appeared, the researcher received a mail from:
[redacted]
with the subject and body that had been submitted. This is the behaviour that made the issue worth pursuing: the content was reflected back out under a Google sender address.
Think of it like a receptionist who refuses to file your letter but still posts it back to you in a company envelope. The filing was blocked, but the envelope was not.
Step 5: craft the phishing message
The researcher prepared a message in the following format, with the body pointing at an attacker-controlled phishing site behind a short link:
Subject -
Security Alert
Body -
Unfortunately, We have seen some suspicious activity on your account.
Kindly Signin to verify your account https://bit.ly/xyz (Attacker’s Phishing Website) .
Google Security Team
Line by line: the first line labels the subject, which is Security Alert. That is the line the victim will see in their inbox list, so it is chosen to sound urgent. The blank line separates subject from body. The body opens with a sentence designed to worry the reader: Unfortunately, We have seen some suspicious activity on your account. The next line tells the reader what to do: Kindly Signin to verify your account https://bit.ly/xyz (Attacker’s Phishing Website) . The short link is where the fake login page lives. The closing line, Google Security Team, is a signature that pretends to be official. The whole point is that the victim will see this text arriving from a Google address, not from the attacker.
Step 6: send with the victim as sender
The message was sent to [redacted] from the victim's mail address, using emkei.cz to forge the sender. The researcher then received a mail from [redacted] carrying the crafted subject and body. The researcher describes this as an error email carrying the crafted subject and body from a Google address.
The message was sent with the victim's address in the From field, forged through emkei.cz. The attacker never needs to control the victim's mailbox; they only need to know the address.
Timeline
| Event | Date |
|---|---|
| Bug submitted | 10.01.2022 |
| Bug triaged | 11.01.2022 |
| Bug closed (Won't Fix, intended behaviour) | 18.01.2022 |
Triaged means Google's security team looked at the report, confirmed it was a real behaviour, and assigned it for handling. Closing as intended behaviour means they decided the behaviour was by design and would not be changed.
The exchange with Google
Google's position was that the report amounted to phishing. The researcher's reply accepted that it is phishing but argued it is not ordinary phishing, because the attacker can phish the victim only because Google's mail servers are not protected and are misconfigured, and asked for the issue to be looked into and fixed. Google's final reply was that they would not be making a change.

The image above is captioned Testing Your Patience ! and sits where the article pauses before the interesting part.

The next image follows the line Here’s where the fun begins. and marks the start of the actual testing.

The image captioned Why? Just Why? appears right after Google's reply that they would not be making a change, and expresses the researcher's reaction.
Root cause
The report frames the problem as a mail server misconfiguration: the buganizer system accepts a message whose sender has been forged, fails to treat it as a comment, and then emits a bounce or error message to the forged sender address, copying the attacker-controlled subject and body into a message sent from [redacted]. The researcher's argument is that the sending infrastructure should not relay unauthenticated, forged content under a Google address. The report does not describe the internal checks that rejected the comment, nor which authentication mechanism, if any, was missing; any statement about SPF, DKIM or DMARC enforcement here would be speculation.
In plain terms: the comment was not added, but the system quoted the rejected message back to the sender. But the system also quoted the rejected message back to the sender from a Google address. The quoting is the misconfiguration.
Impact
An attacker who knows a per-issue buganizer address can send a forged message to it and receive a Google-branded error email carrying their subject and body. The content of that email, subject and body, is fully attacker-controlled, so it can carry a credential-harvesting link. The message arrives from a Google address rather than from the attacker.
The conditions are narrow: the attacker needs a valid per-issue address of the form [redacted], and needs to be able to forge the sender, for example through a spoofing service. The report does not demonstrate any compromise of a Google account; the outcome depends on the victim following the link and entering credentials on the phishing page.
So the impact is not Google account taken over automatically. It is a convincing fake Google email can be delivered to a chosen address. The account takeover in the title only happens if the victim clicks and types their password into the fake page.
Fix
No fix was made. Google triaged the report and closed it as intended behaviour, stating that they would not be making a change. The researcher's requested outcome, protecting the mail servers so that forged content is not relayed under a Google address, was not implemented according to the report.
Variants to test
- Other per-issue or per-ticket reply addresses on bug trackers and support desks. A positive result is an error or bounce message arriving from the vendor's own domain with your subject and body intact.
- Different forged sender domains against the same bridge, to see whether any domain passes the comment check that the first attempts failed. A positive result is a comment appearing on the report from a sender you do not control.
- Reply addresses of other notification systems that accept inbound mail, such as status pages or mailing list managers. A positive result is reflected content delivered from the vendor's domain.
- Varying the body to include HTML or links, to see whether the relayed error message preserves markup. A positive result is a clickable link in a message sent from the vendor's address.
The video proof of concept linked at the end of the article shows the flow in action.
Glossary
- Bug bounty programme: A scheme where a company rewards people for reporting security problems privately.
- Bug tracker: A system that stores each reported problem as a numbered ticket with a discussion thread.
- Buganizer: Google's internal issue tracking system, linked to the public bughunters.google.com pages.
- bughunters.google.com: Google's public website for submitting and tracking vulnerability reports.
- issuetracker.google.com: Google's public-facing issue tracker pages, where the same ticket can be viewed.
- Per-issue address: An email address that carries a label identifying which ticket a message belongs to, here of the form
[redacted]. - Plus addressing: The convention that text after a
+in the local part of an email address is used for sorting but delivered to the same mailbox. - Comment bridge: A feature that reads incoming email and copies its content into a ticket as a comment.
- Email spoofing: Faking the
Fromfield of an email so it appears to come from someone else. - emkei.cz: A mail spoofing service used in the report to forge the sender address.
- Phishing: A fake message that pushes the reader to a fake page to steal credentials.
- Short link: A service such as bit.ly that turns a long URL into a short one, often used to hide the real destination.
- Bounce or error email: An automatic reply from a mail server saying a message could not be processed, usually quoting the original subject and body.
- Misconfiguration: A server setting left in a state that allows unintended behaviour.
- Triaged: A report that has been reviewed and confirmed as a real issue by the security team.
- Won't Fix / intended behaviour: A report closed because the vendor considers the behaviour by design and will not change it.
- SPF, DKIM, DMARC: Email authentication mechanisms that let a receiving server check whether a sender is genuine.
- Credential harvesting: Collecting usernames and passwords through a fake login page.
- Proof of concept (POC): A demonstration, often a video or script, showing that an issue is real.