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 1461524 - CC: Auditing: ROLE_ASSUME event recorded even though no privileged user access occurred
Summary: CC: Auditing: ROLE_ASSUME event recorded even though no privileged user acces...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.4
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Endi Sukma Dewata
QA Contact: Asha Akkiangady
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-14 16:48 UTC by Christina Fu
Modified: 2020-10-04 21:32 UTC (History)
5 users (show)

Fixed In Version: pki-core-10.5.1-1.el7
Doc Type: Bug Fix
Doc Text:
Certificate System no longer incorrectly logs `ROLE_ASSUME` audit events Previously, Certificate System incorrectly generated the `ROLE_ASSUME` audit event for certain operations even if no privileged access occurred for a user. Consequently, the event was incorrectly logged. The problem has been fixed and `ROLE_ASSUME` events are no longer logged in the mentioned scenario.
Clone Of:
Environment:
Last Closed: 2018-04-10 16:58:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 2860 0 None None None 2020-10-04 21:32:41 UTC
Red Hat Product Errata RHBA-2018:0925 0 None None None 2018-04-10 16:59:35 UTC

Description Christina Fu 2017-06-14 16:48:07 UTC
I am finding a number of the following audit events when no role access was attempted
[AuditEvent=ROLE_ASSUME][SubjectID=$Unidentified$][Outcome=Success][Role=<null>] assume privileged role

Comment 3 Christina Fu 2017-10-25 21:37:20 UTC
Here is an example of where it happens:
0.http-bio-8443-exec-8 - [20/Oct/2017:16:37:47 PDT] [14] [6] [AuditEvent=CMC_USER_SIGNED_REQUEST_SIG_VERIFY_SUCCESS][SubjectID=CN=cfuEC][Outcome=Success][ReqType=enrollment][CertSubject=CN=cfuEC2][SignerInfo=CN=cfuEC] User signed CMC request signature verification success
0.http-bio-8443-exec-8 - [20/Oct/2017:16:37:47 PDT] [14] [6] [AuditEvent=ROLE_ASSUME][SubjectID=CN=cfuEC][Outcome=Success][Role=<null>] assume privileged role

It seems to be happening right after authenticate() in ProfileSubmitCMCServlet.java
It is possible that it was making assumption that it's always the role user that submitted the CMC request.

To replicate, one could try submitting a user-signed certificate:
https://pki.fedoraproject.org/wiki/PKI_10.4_CMC_Feature_Update_(RFC5272)#User-signed_CMC_requests_Example_.28with_PopLinkWitnessV2.29

Comment 4 Matthew Harmsen 2017-10-31 15:27:19 UTC
edewata fixed in master:

    https://github.com/dogtagpki/pki/commit/16d1fd02482f8bae4d26a505ebacf37f3dc022d7

Comment 9 Sumedh Sidhaye 2018-01-22 13:25:28 UTC
Build used for verification:

root@csqa4-guest01 ~ # pki --version
PKI Command-Line Interface 10.5.1-5.1.el7

After following the procedure mentioned in:

https://pki.fedoraproject.org/wiki/PKI_10.4_CMC_Feature_Update_(RFC5272)#User-signed_CMC_requests_Example_.28with_PopLinkWitnessV2.29

I do not see any stray ROLE_ASSUME audit event entries like before.

Hence marking this verified.

Comment 12 errata-xmlrpc 2018-04-10 16:58:29 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, 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-2018:0925


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