sendmail-forward-exposure: Sendmail .forward File - Exposure
- Template: sendmail-forward-exposure
- Name: Sendmail .forward File - Exposure
- Description: Sendmail .forward file is publicly accessible. This file is used to configure email forwarding and can expose sensitive information including email addresses, forwarding rules, and potentially executable commands (pipe to programs).
- Severity: low
- Authors: ritikchaddha
- Tags: exposure, sendmail, config, mail, mta, vuln
- References: https://www.sendmail.org/~ca/email/doc8.12/op-sh-4.html, https://linux.die.net/man/5/forward
- Verified: yes
- Max requests: 4
- Directory: http/misconfiguration
- Path: http/misconfiguration/sendmail-forward-exposure.yaml
- Digest: 4b0a00483046022100dddf6cc6a617f95fbdf5f54b1e0c8fbef4b60f2e6ee5dcca41d7e90932741048022100be2943199cda431a799efcc3f99332879b81dfde153b9687b61ae0c43752af9d
- Created at: 2026-01-20T04:19:04Z
- Updated at: 2026-09-08T09:47:47Z
- Age in days: 308
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/sendmail-forward-exposure.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Cwe: CWE-200
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Not known: epss score, epss percentile, cpe
Metadata
- Max-request: 4
- Verified: yes
Labels
- Name: Sendmail - Information Disclosure
- Impact: Attackers can read sensitive email addresses, forwarding rules, and potentially executable commands, aiding further attacks.
- Remediation: Restrict public access to .forward files and update to the latest version of Sendmail.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: sendmail-forward-exposure
info:
name: Sendmail .forward File - Exposure
author: ritikchaddha
severity: low
description: |
Sendmail .forward file is publicly accessible. This file is used to configure email forwarding and can expose sensitive information including email addresses, forwarding rules, and potentially executable commands (pipe to programs).
reference:
- https://www.sendmail.org/~ca/email/doc8.12/op-sh-4.html
- https://linux.die.net/man/5/forward
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
max-request: 4
verified: true
tags: exposure,sendmail,config,mail,mta,vuln
http:
- method: GET
path:
- "{{BaseURL}}/.forward"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}"'
- "\|[\\s]*/[a-zA-Z0-9/_.-]+"
- ":include:[\\s]*/[a-zA-Z0-9/_.-]+"
- "^/[a-zA-Z0-9/_.-]+/[a-zA-Z0-9/_.-]+$"
condition: or
- type: word
part: content_type
words:
- "text/plain"
- type: status
status:
- 200
- type: word
part: body
words:
- "<html"
- "<!DOCTYPE"
- "<HTML"
negative: true
digest: 4b0a00483046022100dddf6cc6a617f95fbdf5f54b1e0c8fbef4b60f2e6ee5dcca41d7e90932741048022100be2943199cda431a799efcc3f99332879b81dfde153b9687b61ae0c43752af9d:922c64590222798bb761d5b6d8e72950
```