Security concern: Users can renew or edit other users' requests through shared shopping carts

When a user renews their own request, they are added as PersonHead in pwohelperpwo. According to One Identity Support, this can make other requests in the same shopping cart visible in the request history, through the standard functions QER_FTPWOVisibleForPerson and QER_FGIPWOVisibleForPerson.

We have experienced incidents where users unintentionally renewed or edited requests belonging to other people as a result.

One Identity Support has confirmed that this is working as designed, not a defect. There is no setting or hotfix to disable this behavior. The suggested solution is to implement a custom viewing condition, which must be carefully tested due to its security implications.

We find it concerning that sharing a shopping cart can expose other people's requests and potentially allow them to be modified, particularly during renewal, and that this is concidered intentional.

Has anyone else encountered this behavior? Have you found a supported way to prevent users from viewing and modifying other people's requests without breaking legitimate approval or delegation workflows?

I'd appreciate hearing about your experiences and any recommended solutions.

Note, the above happens in both the new web portal and the legacy one, but is of course easier to spot in the new web portal.

Regards

Rune Hystad

Parents
  • This is V9.2.2, but from the answer given from One Identity, the functions are the same in the later versions.

  • Hello Rune,

    Thanks for sharing your concern.
    I've investigated this in both my 9.2.2 test lab and my company's 9.2.2 environment.
    However, I was unable to find or reproduce any
    PWOHelperPWO entries exhibiting the behavior you described.
    Could you share some additional details on how to reproduce this behavior?
    For example, does this occur for all products, regardless of the approval policy used, or is it limited to specific products or approval policies?

    Best regards,
    Niels

  • Hi Niels!

    Thank you for investigating this.

    The key to reproducing this behavior is that multiple requests must belong to the same shopping cart, typically created by a manager ordering access for several employees at the same time.

    Here is a simplified reproduction scenario:

    1. A manager creates a shopping cart containing access requests for multiple employees (Person A, Person B, Person C, etc.).

    2. These requests are submitted together and belong to the same shopping cart.

    3. At a later point, Person A renews their own existing request from this shopping cart.

    4. During the renewal, Person A's own request has OrderState = 'OrderProlongation', and Person A is added as PersonHead in PWOHelperPWO.

    5. Person A can now see, and in some cases edit, other requests belonging to the same shopping cart, even though those requests belong to Person B, Person C, etc.

    The important detail is that the visibility issue occurs when a recipient renews their own request (OrderProlongation), not simply because multiple requests were originally submitted in the same shopping cart.

    According to One Identity Support, this behavior is related to the standard visibility functions QER_FTPWOVisibleForPerson and QER_FGIPWOVisibleForPerson.

    I hope this helps you reproduce it.

    Regards
    Rune

Reply
  • Hi Niels!

    Thank you for investigating this.

    The key to reproducing this behavior is that multiple requests must belong to the same shopping cart, typically created by a manager ordering access for several employees at the same time.

    Here is a simplified reproduction scenario:

    1. A manager creates a shopping cart containing access requests for multiple employees (Person A, Person B, Person C, etc.).

    2. These requests are submitted together and belong to the same shopping cart.

    3. At a later point, Person A renews their own existing request from this shopping cart.

    4. During the renewal, Person A's own request has OrderState = 'OrderProlongation', and Person A is added as PersonHead in PWOHelperPWO.

    5. Person A can now see, and in some cases edit, other requests belonging to the same shopping cart, even though those requests belong to Person B, Person C, etc.

    The important detail is that the visibility issue occurs when a recipient renews their own request (OrderProlongation), not simply because multiple requests were originally submitted in the same shopping cart.

    According to One Identity Support, this behavior is related to the standard visibility functions QER_FTPWOVisibleForPerson and QER_FGIPWOVisibleForPerson.

    I hope this helps you reproduce it.

    Regards
    Rune

Children
  • Hello Rune,

    I went through this scenario in my 9.2.2 testlab, but I did not encounter the PWOHelperPWO entry (where Person A is added as PersonHead)
    when Person A renews their own request (OrderState = OrderProlongation).

    Were you able to reproduce it on a clean 9.2.2 install, without any customizations?

    Regards,
    Niels

  • Thank you for testing this!

    In our approval workflows, we almost always have an approval level using the predefined approval procedure BR Back to recipient. We use this procedure to check whether a product has Terms of Use that must be accepted by the recipient. If Terms of Use exist, the request is sent back to PersonOrdered for acceptance.

    This appears to be the key to reproducing the behavior. When the request goes through this approval procedure, an entry is created in PWOHelperPWO where PersonHead = PersonOrdered.

    Consequently, when Person A subsequently renews their own request (OrderState = OrderProlongation), Person A is also present as PersonHead in PWOHelperPWO. This seems to contribute to the visibility issue with other requests belonging to the same shopping cart.

    I suppose we could use a different renewal workflow without this approval level/procedure, but I still don't understand why identities added as PersonHead in PWOHelperPWO should be able to access other requests simply because those requests share the same shopping cart.

    During further testing, I also discovered that this behavior is not limited to renewals. It also applies to ordinary requests, before they have been approved or assigned.

    Since PersonOrdered is already added as PersonHead in PWOHelperPWO, Person A can see other requests belonging to the same shopping cart in the request history, even at this stage. However, I was not able to edit these requests.

    This suggests that the visibility issue is not specifically related to OrderState = OrderProlongation, but rather to the presence of PersonOrdered as PersonHead in PWOHelperPWO, combined with requests sharing the same shopping cart.

     

    Regards
    Rune