SMTP header injection
Description
Email injection is a security weakness that allows a malicious attacker to exploit email-related features, such as email contact forms found on websites, in order to send harmful email content to unintended recipients.
Impact
- Sending arbitrary email in a wide variety of attacks, such as spam, phishing, spear phishing.
Recommendation
Completely limit unsecured mail functions. Implement the use of specialized services or secure e-mail libraries. Validate incoming data and the escape of data that is not properly encrypted.
Threat
Authenticated attacker with access to the web service using the SMTP service from the Internet.
Expected Remediation Time
⌚ 120 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the src.
Base
- Attack vector: N
- Attack complexity: L
- Privileges required: L
- User interaction: N
- Scope: C
- Confidentiality: N
- Integrity: N
- Availability: L
Temporal
- Exploit code madurity: P
- Remediation level: U
- Report confidence: C
Result
- Vector string: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L/E:P/RL:U/RC:C
- Score:
- Base: 5.0
- Temporal: 4.7
- Severity:
- Base: Medium
- Temporal: Medium
Compliant code
Non compliant code
Requirements
Fixes
Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.