SwiftMailer 5.4.5-DEV mail -f command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.2$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in SwiftMailer 5.4.5-DEV. Affected by this vulnerability is the function mail. Executing a manipulation of the argument -f with the input "Attacker -Param2 -Param3"@test.com can lead to command injection. This vulnerability is tracked as CVE-2016-10074. The attack can be launched remotely. Moreover, an exploit is present. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in SwiftMailer 5.4.5-DEV. It has been declared as critical. This vulnerability affects the function mail. The manipulation of the argument -f with the input value "Attacker -Param2 -Param3"@test.com leads to a command injection vulnerability. The CWE definition for the vulnerability is CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability.

The bug was discovered 12/29/2016. The weakness was disclosed 12/28/2016 by Dawid Golunski as SwiftMailer <= 5.4.5-DEV Remote Code Execution (CVE-2016-10074) as not defined mailinglist post (Full-Disclosure). The advisory is shared for download at seclists.org. The public release happened without coordination with the vendor. This vulnerability was named CVE-2016-10074 since 12/27/2016. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1202. The advisory points out:

An independent research uncovered a critical vulnerability in SwiftMailer that could potentially be used by (unauthenticated) remote attackers to achieve remote arbitrary code execution in the context of the web server user and remotely compromise the target web application. To exploit the vulnerability an attacker could target common website components such as contact/feedback forms, registration forms, password email resets and others that send out emails with the help of a vulnerable version of the SwiftMailer class.

A public exploit has been developed by Dawid Golunski in PHP and been published immediately after the advisory. It is possible to download the exploit at seclists.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 96636 (Debian DLA-792-1 : libphp-swiftmailer security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370272 (SwiftMailer Remote Code Execution Vulnerability.).

Upgrading to version 5.4.5 eliminates this vulnerability. A possible mitigation has been published 1 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Exploit-DB (40972), Tenable (96636) and SecurityFocus (BID 95140†). Additional details are provided at seclists.org. Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.2

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Dawid Golunski
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 96636
Nessus Name: Debian DLA-792-1 : libphp-swiftmailer security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 100260
OpenVAS Name: SwiftMailer Remote Code Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Saint ID: swift_mailer_pwnscriptum_cmd_injection
Saint Name: Swift Mailer PwnScriptum Command Injection

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: SwiftMailer 5.4.5

Timelineinfo

12/27/2016 🔍
12/28/2016 +1 days 🔍
12/28/2016 +0 days 🔍
12/28/2016 +0 days 🔍
12/29/2016 +1 days 🔍
12/29/2016 +0 days 🔍
12/30/2016 +1 days 🔍
12/30/2016 +0 days 🔍
01/20/2017 +21 days 🔍
10/24/2024 +2834 days 🔍

Sourcesinfo

Product: github.com

Advisory: SwiftMailer <= 5.4.5-DEV Remote Code Execution (CVE-2016-10074)
Researcher: Dawid Golunski
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-10074 (🔍)
GCVE (CVE): GCVE-0-2016-10074
GCVE (VulDB): GCVE-100-94732

OVAL: 🔍

SecurityFocus: 95140 - Swiftmailer CVE-2016-10074 Remote Code Execution Vulnerability

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍

Entryinfo

Created: 12/30/2016 10:44
Updated: 10/24/2024 23:28
Changes: 12/30/2016 10:44 (90), 08/24/2019 09:15 (5), 10/27/2022 07:23 (3), 10/24/2024 23:28 (20)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!