| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| parse-server | = 9.5.0≥ 9.0.0, ≤ 9.4.1< 8.6.5 | 8.6.5 |
| parse-server | ≥ 9.0.0, < 9.5.0-alpha.3< 8.6.5 | 9.5.0-alpha.38.6.5 |
The readOnlyMasterKey can be used to create and delete files via the Files API (POST /files/:filename, DELETE /files/:filename). This bypasses the read-only restriction which violates the access scope of the readOnlyMasterKey.
Any Parse Server deployment that uses readOnlyMasterKey and exposes the Files API is affected. An attacker with access to the readOnlyMasterKey can upload arbitrary files or delete existing files.
The fix adds permission checks to both the file upload and file delete handlers.
There is no workaround other than not using readOnlyMasterKey, or restricting network access to the Files API endpoints.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí