Skip to content
Misconfiguration Disclosed report Beginner

Open SMTP port can let anyone send email from mail.chihar.com

An SMTP service on port 587 was reachable and accepted SMTP commands such as EHLO, STARTTLS and MAIL TO from an arbitrary client. The reporter claims this could let an attacker impersonate a company address and send phishing email, though no actual message delivery or spoofing is demonstrated.

str33 Follow

Originally disclosed on HackerOne

  • Disclosed after 26 days

An open SMTP port 587 can let anyone connect and send emails impersonating someone in your the company if he could enumerate the email addresses.

POC -

  1. I performed an nmap scan and was able to find an open port 587 for SMTP
  2. I did a netcat connection to it and was able to run commands such as HELO and EHLO(which is harmless)
  3. I could even use commands STARTTLS and MAIL TO.
  4. I can impersonate the support team of weblate and send an email to one of the employees asking them to visit a link and even though they know about phishing they might do it and hence stealing their sessionID.

The image shows few commands which I was able to run on the server.

Pretty much all the companies have strong email security policies and hence you should implement it and deny end user access to the SMTP server.

Attachments

Capture2.PNG
Capture2.PNG From the original on HackerOne

The original report as published on HackerOne, by str33. 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

Root cause

Likely the submission service on port 587 accepted SMTP commands without requiring authentication before the MAIL TO stage, though the text does not confirm whether authentication was enforced later.

Impact

If the server truly accepts mail without authentication, an attacker could send phishing messages that appear to come from the company, but the report does not show a delivered message or a successful spoof.

What the attacker needed

Network access to port 587; knowledge of a target email address

The fix

Implement strong email security policies and deny end-user access to the SMTP server.

How it was found

  1. Scan the host and find port 587 open for SMTP.
  2. Connect to the port with a raw TCP client.
  3. Issue SMTP greeting and identification commands such as HELO and EHLO.
  4. Issue STARTTLS and MAIL TO commands.

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.

SMTP is the protocol servers use to send email. The reporter found port 587 reachable and accepting basic commands, but did not show that mail was actually sent or that a sender address could be forged.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by str33

View all

2 more disclosed reports, best first.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.