Werk #13897 · Mar 31, 22
Fix command injection vulnerability
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
Previously to this Werk an attacker who could control certain notification variables such as NOTIFICATIONTYPE or HOSTNAME was able to inject commands to the fall-back mail command. The commands were then executed as site user.
With this werk the variable MAIL_COMMAND is no longer available in notification scripts.
You can reduce the risk of exploitation with disabling the listening of the notification spooler (the default is disabled) (CEE/CME only feature).
All maintained versions (>=1.6) are subject to this vulnerability. It is likely that also previous versions were vulnerable.
To detect possible exploitation var/log/mknotifyd.log and var/log/notify.log can be checked for special shell characters like && and odd quoting.
Details
- Class:
- Security Fixes
- Level:
- Prominent
- Component:
- Notifications
- Versions:
- 2.2.0b1CommunityProUltimateUltimate + MT
- 2.1.0b6CommunityProUltimate + MT
- 2.0.0p24CommunityProUltimate + MT
- 1.6.0p29CommunityProUltimate + MT