Bug 558 - Apply mitigation on CVE-2023-48795

Review Request #286 — Created June 14, 2024 and submitted

luhsuan
APV10
rel_apv_10_7
558
jasonchou, milliechou, timlai, weikai

As it needs a lot of re-working to eliminate CVE-2023-48795.
We instead apply a mitigation to address CVE-2023-48795 by disabling the following encryptions and MACs by default:

  • Encryption
    • chacha20-poly1305@openssh.com
  • MAC
    • the MACs with -etm@openssh.com suffix.

For more information, you may find on this NIST report.

  • Nexus vulnerability scanning
    • PASSED (report by @timlai).
  • connection test with specified encryption (ssh <server name> -c <encryption>)
    • PASSED (the server should reject the connection)
  • connection test with specified MAC (ssh <server name> -m <MAC>)
    • PASSED (the server should reject the connection)
  • APV terminal output of ssh cipher
    • PASSED (should show New ciphers, separated by commas. Supported ciphers are:aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com)
Description From Last Updated

可以多加ui_ssh_ciphers function跟DEFAULT_SSH_CIPHERS變數 還有修改ssh configuration file(sshd_config) 做MAC的指定

jasonchoujasonchou

changes to sys_cmd.c is not apperaring, can you please fix the same.

kduttakdutta

Hi Reviewers, Should we change the output message of ssh cipher as well as the document? I think showing chacha20-poly1305@openssh.com …

luhsuanluhsuan

Check wether doc also need to update

timlaitimlai
jasonchou
  1. 漏掉的部分

  2. 可以多加ui_ssh_ciphers function跟DEFAULT_SSH_CIPHERS變數
    還有修改ssh configuration file(sshd_config) 做MAC的指定

    1. Hi Jason,

      Thanks for the advice.
      As APV uses some mysterious way to create the default sshd_config.
      May you provide some guides that how APV create the default sshd_config?

    2. Hi Jason,

      Nevermind, I just set the DEFAULT_SSH_CIPHERS and only the ciphers in DEFAULT_SSH_CIPHERS will be enable by default.

  3. 
      
luhsuan
luhsuan
luhsuan
luhsuan
  1. 
      
  2. Hi Reviewers,

    Should we change the output message of ssh cipher as well as the document?
    I think showing chacha20-poly1305@openssh.com will lead to confusion.

    1. Done. Remove the showing chacha20-poly1305@openssh.com message.

  3. 
      
weikai
  1. Ship It!
  2. 
      
kdutta
  1. 
      
  2. changes to sys_cmd.c is not apperaring, can you please fix the same.

    1. Hi Ansuk,

      It seems that it is the issue or ReviewBoard.
      You may use the "Download Diff" tab to download the patch then review it instead.

    2. What's more, I will ask the TW IT department to realize the cause of this issue.

  3. 
      
luhsuan
luhsuan
timlai
  1. 
      
  2. Check wether doc also need to update

    1. Hi Tim,

      For the document, are there any procedures for updating?
      I thought Simon will decide whether the document need to be updated, and Anja will write the changes.

    2. Hi Tim,

      Thanks for the talk.
      I will talk to Anja to know the procedures of updating the document.

  3. 
      
timlai
  1. Ship It!
  2. 
      
luhsuan
Review request changed

Status: Closed (submitted)

Loading...