[PTA] - How to disable Terrapin weakness

[PTA] - How to disable Terrapin weakness

89
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:01 PM


Objective


If your SSH implementations supports (and is configured to offer) the chacha20-poly1305@openssh.com encryption algorithm, or any encryption algorithm suffixed -cbc in combination with any MAC algorithm suffixed -etm@openssh.com, you are vulnerable to Terrapin.

A vulnerability scanner is available here:

https://github.com/RUB-NDS/Terrapin-Scanner/releases/tag/v1.1.3



Environment


12.2;12.6;13.2 Privileged Access Manager (PAM, self-hosted) PTA;Other (Technical)

Procedure


To disable / make the server Terrapin proof:

1.) edit the file
/usr/lib/systemd/system/sshd.service

2.) and comment out the line:
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config

So it looks like this: (as per attached picture)
#EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config

Then restart sshd
systemctl daemon-reload
systemctl restart sshd

Note: This issue has been fixed in PTA 14.0


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001DEcCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail