GitHub Advisoryadvisory · Packagist
GHSA-45xg-4w5x-j429 TYPO3 Arbitrary Shell Execution in Swiftmailer library
HIGH
Official page ↗
- Ecosystem
- Packagist
- Packages
- typo3/cms
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2024-05-30
Affected packages
• Packagist typo3/cms: >= 6.2.0, < 6.2.6 → fixed in 6.2.6
• Packagist typo3/cms: >= 6.1.0, < 6.1.12 → fixed in 6.1.12
• Packagist typo3/cms: >= 4.7.0, < 4.7.20 → fixed in 4.7.20
• Packagist typo3/cms: >= 4.5.0, < 4.5.37 → fixed in 4.5.37
Description
The swiftmailer library in use allows to execute arbitrary shell commands if the "From" header comes from a non-trusted source and no "Return-Path" is configured. Affected are only TYPO3 installation the configuration option
```
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport']
```
is set to "sendmail". Installations with the default configuration are not affected.
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/TYPO3/typo3/commit/313c4bba53dd78803a9ee97c1f6f1d450a521521 web
- https://github.com/TYPO3/typo3/commit/6af37574e063929eaab066dd9920b1fa8815da12 web
- https://github.com/TYPO3/typo3/commit/dbdd9f22b7cebf43f2e4abdb2a6a8a9f32af8f61 web
- https://github.com/TYPO3/typo3/commit/ead183c5acf25b7e1121adee5a5860bd9b5f05a2 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2014-10-22-2.yaml web
- https://github.com/TYPO3/typo3 package
- https://typo3.org/security/advisory/typo3-core-sa-2014-002 web