RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1978345 - End Entity's List Certificates Page Back/Forward Buttons are Broken [rhel-7.9.z]
Summary: End Entity's List Certificates Page Back/Forward Buttons are Broken [rhel-7.9.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.9
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: 7.9
Assignee: Chris Kelley
QA Contact: PKI QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-01 15:45 UTC by Chris Zinda
Modified: 2022-01-15 00:53 UTC (History)
6 users (show)

Fixed In Version: pki-core-10.5.18-18.el7_9, pki-core-10.5.18-18.el7pki
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-23 17:16:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
List_Certificates_Not_working.png (88.57 KB, image/png)
2021-07-01 15:45 UTC, Chris Zinda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4791 0 None None None 2021-11-23 17:16:42 UTC

Description Chris Zinda 2021-07-01 15:45:52 UTC
Created attachment 1796848 [details]
List_Certificates_Not_working.png

Description of problem:
When you navigate to the List Certificates page and try to move forward/backwards the behavior is strange.  First, there are two of the buttons. Second, if you say list only 1 record and go to 0x4. Then choose the single back button it takes you directly to 0x1 and you cannot move to 0x2.

Version-Release number of selected component (if applicable):
pki-ca-10.5.18-12+

How reproducible:
Very.

Steps to Reproduce:
Goto End Entity -> retrieval tab -> list certificate
Either put in a known serial or leave blank,  Adjust the Range or leave at default.  Click Find.  I put in 0x4 and return 1 record for testing. 


Actual results:
See picture for how it looks. (List Certificates not Working).

Expected results:
It to work like every other page.  The Agent Pages version of this works just fine.

Additional info:
This appears to be a regression bug related to our fix for CVE-2020-25715.  Below is the git commit.

---
from pki-core-rhel-7.9-rhcs-97-bu-4.patch

From 7732ccb75f277338e728b963d06e92ca7c37414b Mon Sep 17 00:00:00 2001
From: Matthew Harmsen <mharmsen>
Date: Thu, 11 Feb 2021 16:48:18 -0700
Subject: [PATCH 17/17] Resolve XSS in ca queryCert pagination

Several values in ListCerts were reflected back to the caller, making a
reflected XSS attack possible. These values were sanitized and the
front-end template fixed to prevent this type of attack in general.

Resolves: CVE-2020-25715
Signed-off-by: Alexander Scheel <ascheel>
---

Comment 18 errata-xmlrpc 2021-11-23 17:16:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pki-core bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4791


Note You need to log in before you can comment on or make changes to this bug.