-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Issue Description
I'm not sure this is by design or not but we face some issues with the spammer with this exploit.
When we set the CLP for the volatileClasses (_JobStatus, _PushStatus, etc .. ), it ignores and use the default one.
Steps to reproduce
- Set CLP for volatileClasses, in our case, we set CLP for _PushStatus to readonly and no write except masterKey.
- try to create _PushStatus object without masterKey
Expected Results
The server should reject the request because of CLP
Actual Outcome
The server ignores the CLP and create the _PushStatus object
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : 2.4.1
- Operating System: centos
- Hardware: [FILL THIS OUT]
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): elastic beanstalk
-
Database
- MongoDB version: 3.2.11
- Storage engine: WiredTiger
- Hardware: [FILL THIS OUT]
- Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab
Remarks
- We've patched this issue on our side and will create the PR for that. Right now the other way would be checking in the beforeSave and beforeFind if you have this problem
Metadata
Metadata
Assignees
Labels
No labels