kura icon indicating copy to clipboard operation
kura copied to clipboard

Kura not Accessible if Default Certificates Deleted

Open LeoNerdoG opened this issue 3 years ago • 7 comments

Kudos to @mstankovic for finding this issue. I am adding it here so we have a sepparate issue for it (for easier tracking). If user uninstall both default certificates there is no way to access Kura anymore. BUT if user has enabled HTTP service prior to this (and added port 80 in the firewall), Kura is still accessible (even through HTTPS).

Testflow:

  1. Login to Kura as admin/admin
  2. Go to Security -> delete both default certificates
  3. Refresh page and observe how Kura is not accessible anymore.

Testflow No. 2:

  1. Login to Kura as admin/admin
  2. Go to Certificates, enable HTTP Service
  3. Go to Firewall, open port 80 in the firewall
  4. Go to Certificates, delete both defaul certificates
  5. Refresh page and observe the behaviour - Kura is still accessible

Expected behavior N/A

Screenshot: /

Target Environment (please complete the following information):

  • Board: Raspberry Pi 3
  • OS version: Linux raspberrypi 5.4.72-v7+ 1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux
  • Tested branch: PR #3143

Additional context As stated above, this issue has been found on branch PR 3143 and not on latest develop branch.

LeoNerdoG avatar Nov 17 '20 08:11 LeoNerdoG

Won't fix.

salvatore-coppola avatar Jun 11 '21 14:06 salvatore-coppola

Can we provide a reason why we are not fixing? Is that because it's not reproducible?

MMaiero avatar Jun 11 '21 15:06 MMaiero

Now after a certificate remotion, if the certificate is in the httpskeystore, a refresh in the httpservice is triggered. Regarding the problem that the user can still access through https, it is related to the handling of JSESSIONID and @nicolatimeus and are are working on it.

salvatore-coppola avatar Jun 14 '21 07:06 salvatore-coppola

@salvatore-coppola Are we done with this issue and the one you were mentioning for the JSESSIONID?

MMaiero avatar Jul 01 '21 12:07 MMaiero

@MMaiero we have moved this issue from the securiy ui fixes to generic ui fixes. At the moment i think this is not a real security problem, but we need to discuss about it.

salvatore-coppola avatar Jul 01 '21 12:07 salvatore-coppola

@salvatore-coppola Is this still open?

MMaiero avatar Feb 04 '22 11:02 MMaiero

@MMaiero i'll do a check

salvatore-coppola avatar Feb 04 '22 13:02 salvatore-coppola