CVE-2019-18849: Medium severity Tnef Project Tnef vulnerability
In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorizedkeys file via an e-mail message with a crafted winmail.dat application/ms-tnef attachment, because of a heap-based buffer over-read involving strdup.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/tnefto a version that resolves this vulnerability.Fixed in 1.4.18-3Fixed in 1.4.18-4Fixed in 1.4.18-5 - Upgrade
Upgrade
tnefto a version that resolves this vulnerability.Fixed in 1.4.18
Event History
Frequently Asked Questions
What access or interaction is required to exploit this issue?
The attacker needs to send an e-mail containing a crafted winmail.dat attachment with the application/ms-tnef type. Exploitation requires the victim to interact with the message, as reflected by the CVSS user-interaction requirement.
What is the practical impact if exploitation succeeds?
An attacker may be able to write to the victim's .ssh/authorized_keys file. This could allow unauthorized SSH key-based access to the affected user's account.
Which versions should be remediated?
tnef versions before 1.4.18 are affected. Update to version 1.4.18 or a distribution-provided patched package.
How can administrators check for possible compromise?
Review affected users' .ssh/authorized_keys files for unexpected or unrecognized public keys, particularly following processing of suspicious winmail.dat attachments. Remove unauthorized keys and investigate associated SSH access if any are found.