Impact
Parse Server's readOnlyMasterKey option allows access with master-level read privileges but is documented to deny all write operations. However, some endpoints incorrectly accept the readOnlyMasterKey for mutating operations. This allows a caller who only holds the readOnlyMasterKey to create, modify, and delete Cloud Hooks and to start Cloud Jobs, which can be used for data exfiltration.
Any Parse Server deployment that uses the readOnlyMasterKey option is affected. Note than an attacker needs to know the readOnlyMasterKey to exploit this vulnerability.
Patches
The fix adds authorization checks, rejecting mutating requests made with the readOnlyMasterKey.
Workarounds
There is no known workaround other than upgrading. If upgrading is not immediately possible, ensure the readOnlyMasterKey value is not shared with untrusted parties.
References
Impact
Parse Server's
readOnlyMasterKeyoption allows access with master-level read privileges but is documented to deny all write operations. However, some endpoints incorrectly accept thereadOnlyMasterKeyfor mutating operations. This allows a caller who only holds thereadOnlyMasterKeyto create, modify, and delete Cloud Hooks and to start Cloud Jobs, which can be used for data exfiltration.Any Parse Server deployment that uses the
readOnlyMasterKeyoption is affected. Note than an attacker needs to know thereadOnlyMasterKeyto exploit this vulnerability.Patches
The fix adds authorization checks, rejecting mutating requests made with the
readOnlyMasterKey.Workarounds
There is no known workaround other than upgrading. If upgrading is not immediately possible, ensure the
readOnlyMasterKeyvalue is not shared with untrusted parties.References