Internal Email Spoofing Possible
Email from outside the organisation that claims to come from an internal address is accepted and delivered to staff as though it were internal.
| Severity | Medium |
| CVSS 3.1 | 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N Open in the calculator |
| CVSS 4.0 | 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-290: Authentication Bypass by Spoofing |
| OWASP Top 10 | A07:2025 Authentication Failures |
| MITRE ATT&CK | T1684.002 Email Spoofing, T1684.001 Impersonation, T1566 Phishing |
| Category | Security Misconfiguration |
Description
The organisation's mail system accepts messages from the internet whose sender address uses one of the organisation's own domains, and delivers them to users' inboxes as though they had been sent internally. With no access to the organisation's systems, an attacker can therefore send staff what appears to be email from a named colleague, a senior manager or an internal system or service such as IT support or payroll, often without the warnings applied to other external mail. Because people tend to trust messages from inside their own organisation, such email is effective for credential phishing, malware delivery, requests to change payment details and requests for sensitive information. The likelihood of success depends on users' awareness and on other filtering, and the impact on what the deceived user can do or disclose.
The weakness typically arises where the domain's DMARC policy is not enforced; where the mail gateway or platform does not apply the domain's own SPF, DKIM and DMARC results to inbound mail; where an allow rule or connector trusts any message from the organisation's own domain; or where a mail server or relay accepts unauthenticated messages for local delivery from any source. In Microsoft 365 a common route is Direct Send, which lets devices and services submit mail to the tenant's MX endpoint without authentication, using an internal sender address.
The weakness is confirmed by sending test messages from an external server, with the organisation's domain in both the envelope sender and the From header, to an internal mailbox (for example with swaks), and recording whether they are delivered, quarantined or rejected and how they are displayed.
Remediation
Stop the mail system accepting unauthenticated mail from outside that claims an internal sender:
- Enforce DMARC on the organisation's domains (
p=quarantineorp=reject), with SPF and DKIM in place, and make sure the inbound gateway or platform applies that policy to mail arriving from outside. - Add an inbound rule that rejects or quarantines messages from outside the organisation that use an internal domain in the envelope sender or From address, with exceptions only for named, authenticated services that are allowed to send as the domain.
- Remove allow rules, safe sender entries and connector settings that trust the organisation's own domain or bypass filtering for it.
- In Microsoft 365, move devices and services that use Direct Send to authenticated submission or a partner connector, then block Direct Send with
Set-OrganizationConfig -RejectDirectSend $true, and keep spoof intelligence enabled in the anti-phishing policy. - On on-premises servers, restrict anonymous relay and receive connectors to the gateways and devices that need them.
- Enable external sender tagging, for example with
Set-ExternalInOutlookin Exchange Online, so that staff can see when a message did not originate internally.
Confirm the fix by repeating the test from an external server and checking that spoofed internal messages are rejected or quarantined.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.