Project

General

Profile

Actions

Bug #4975

closed

A5/2 is preferrerd over A5/1, despite its lower security!

Added by laforge over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/25/2021
Due date:
% Done:

100%

Spec Reference:

Description

Looking at select_best_cipher() in source:src/osmo-bsc/osmo_bsc_bssap.c it seems that OsmoBSC simlpy assumes that a higher integer number x of A5/x is always superior to a lower number.

This is wrong, as A5/2 is worse then A5/1. So in general, higher value of 'x' is good, with the excception of '1' and '2' being swapped.


Checklist

  • fix C code implementation
  • add test case for cipher selection
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)