My Oracle Support Banner

Missing Security Implementation In WebCenter RESTful Services To Like a Document (Doc ID 1471805.1)

Last updated on MARCH 21, 2019

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

The issue occurs under the following circumstances:
Create a group space and upload a document to it and add a user as a member of the group space with view privileges.

Now, if you call the following RESTful service to 'like' the document as the user that has view privileges, the 'like' counter will increase.

If you then call the same RESTful service to 'like' the document as a user that is not member of the group space (e.g. that has no view privileges), the 'like' counter also increases.

REST call:
http://<IP_ADDRESS>:<PORT>/rest/api/activities/services/oracle.webcenter.doclib/objectTypes/document/objects/(<UCM_DOC_ID>)/likes?utoken=<TOKEN_ID>

where <UCM_DOC_ID>:SCICLPDEV007442 is the Identifier of the document
and utoken=<TOKEN_ID> is the user token (changing depending on what user does the request)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.