Bug 484828
Summary: | op.cgi security bug allows RA agents to approve requests not assigned to their agent group | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Dogtag Certificate System | Reporter: | Robert Mead <veryaware> | ||||
Component: | RA | Assignee: | Ade Lee <alee> | ||||
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | unspecified | CC: | awnuk, benl, cfu, msauton, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-07-22 23:32:17 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 443788, 488706 | ||||||
Attachments: |
|
Description
Robert Mead
2009-02-10 05:30:51 UTC
Thanks for the report. Your proposed fix will be incorporated in the Dogtag source tree in the near future (probably over the next week or two). It will also be released as a security errata for CS 7.3 shortly thereafter. Thanks, Ade Lee Red Hat CS Dev Team Created attachment 338553 [details]
patch to fix
patch to fix ..
cfu , please review
attachment (id=338553) +awnuk [builder@dhcp231-124 pki]$ svn ci -m "Bugzilla BZ#484828: op.cgi allows RA agents to approve requests not assigned to their agent group" base/ra dogtag/ra Sending base/ra/forms/agent/request/op.cgi Sending dogtag/ra/pki-ra.spec Transmitting file data .. Committed revision 377. verified with pki-ra build - 06/04/2009. https://sigma.dsdev.sjc.redhat.com:27989/agent/request/op.cgi?type=approve&id=3 Accessing a url like that says "you are not authorized". test case. 1 - added group1,group2 from ra admin 2 - added user1,user2 from ra admin 3 - user1 added to group1. user2 added to group2 4 - change autoassign.pm to assign all requests to group1 by default 5 - restart ra 6 - file a request. gets assgined to group1 7 - login to ra agent as user1. able to see request. see approve url 8 - login to ra agent as user2. unable to view request. unable to see approve url. |