Due to a buffer overflow vulnerability in the SRX Series flow daemon (flowd) while processing certain crafted telnet protocol messages, a remote attacker may be able to execute arbitrary code leading to a complete compromise of the system. This issue only occurs if telnet pass-through authentication is configured on the firewall. A sample affected configuration is shown below:
user@junos# show access profile FWAUTH { authentication-order password; client FWClient1 { firewall-user { password "$9$XHhxVYGDkf5F"; ## SECRET-DATA } } } firewall-authentication { pass-through { default-profile FWAUTH; telnet { banner { success "WELCOME TO JUNIPER TELNET SESSION"; } } } } user@junos# show security policies ... from-zone UT-ZONE to-zone T-ZONE { policy P1 { match { source-address any; destination-address any; application junos-telnet; } then { permit { firewall-authentication { pass-through { client-match FWClient1; } } } } } }
The following software releases have been updated to resolve this specific issue:
If telnet pass-through authentication is not required, disabling the feature will completely mitigate this vulnerability.