bahn.de
We found 2 issues in bahn.de's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be bahn.de?
- Unlikely. bahn.de has a DMARC policy of “reject”, so most receiving mail servers rejects messages that fail authentication.
- Does bahn.de have DMARC?
- Yes, with the policy p=reject.
- Does bahn.de have an SPF record?
- Yes: v=spf1 include:deutschebahn.com ip4:82.150.225.79 ip4:171.17.133.140 -all
- Does bahn.de use DKIM?
- Yes. We found DKIM keys for: selector1.
- Who provides email for bahn.de?
- Microsoft 365, based on its mail (MX) records.
- Is bahn.de's SSL certificate valid?
- Yes. Issued by Amazon, valid until 2027-03-14 (103 days left).
- Does bahn.de support TLS 1.3?
- Yes.
- Does bahn.de still accept outdated TLS 1.0 or 1.1?
- No.
- Does bahn.de use HSTS?
- Yes.
- Is DNSSEC enabled for bahn.de?
- No.
How bahn.de compares
Scores higher than 80% of the 10,000 most popular websites.
Its issues, and how common they are among popular sites
"Uncommon" means fewer than 1 in 10 popular sites have this problem. See the full research.
Email security A
- Mail provider
- Microsoft 365
- SPF
v=spf1 include:deutschebahn.com ip4:82.150.225.79 ip4:171.17.133.140 -all- DMARC
v=DMARC1; p=reject; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=1; adkim=r; aspf=r
- SPF is set up (-all hard fail)
- DMARC enforced (reject)
- DKIM signing keys found (selector1)
- MTA-STS is enforced
HTTPS & certificate A
- Issued by
- Amazon
- Expires
- 2027-03-14 (103 days)
- Checked
- bahn.de and www.bahn.de
- Protocol
- TLSv1.3
- Key
- RSA 2048-bit
- Valid, trusted certificate (issued by Amazon)
- Supports TLS 1.3
- Outdated TLS 1.0 and 1.1 are switched off
- Only strong encryption ciphers accepted
Website security headers A
Content Security Policy doesn't restrict scripts low
A policy is present, but it allows inline scripts ('unsafe-inline'), so it offers little protection against cross-site scripting (XSS).
Tighten script-src: remove 'unsafe-inline' and wildcards, and allow specific sources, nonces or hashes instead. Test with Content-Security-Policy-Report-Only first.
Cookies sent without the Secure flag (bm_sz) low
Without 'Secure', the browser may send these cookies over unencrypted HTTP, where they can be read on public Wi-Fi.
Add the Secure attribute to these cookies in your application or framework settings.
No Referrer-Policy header note
Modern browsers default to a reasonable policy, but setting one explicitly controls how much of the site's page addresses are shared with other sites when visitors click a link.
Send: Referrer-Policy: strict-origin-when-cross-origin
- HTTP redirects to HTTPS
- HSTS enabled
- Protected against clickjacking
- X-Content-Type-Options: nosniff set
Domain & DNS A
- Nameservers
- ns-1259.awsdns-29.org, ns-1759.awsdns-27.co.uk, ns-375.awsdns-46.com, ns-680.awsdns-21.net
DNSSEC isn't enabled note
DNSSEC signs a domain's DNS records so attackers can't forge them. Many large sites don't use it yet, so it doesn't affect the grade, but it's a worthwhile hardening step.
Many DNS providers can enable it with one click. If your registrar is different from your DNS provider, you'll also add a DS record at the registrar.
No CAA record note
A CAA record lists which certificate authorities may issue certificates for bahn.de. Without one, any of them can. It's optional hardening and doesn't affect the grade.
Add a CAA record for the authority you use, e.g. 0 issue "letsencrypt.org". If you use a CDN, check which authorities it needs first.