StudioCMS S3 Storage Manager Authorization Bypass via Missing `await` on Async Auth Check
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| @studiocms | s3-storage | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Studiocms | S3-storage |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mm78-fgq8-6pgr | StudioCMS S3 Storage Manager Authorization Bypass via Missing `await` on Async Auth Check |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.213% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Studiocms studiocms
|
|
| CPEs | cpe:2.3:a:studiocms:studiocms:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Studiocms studiocms
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Studiocms
Studiocms s3-storage |
|
| Vendors & Products |
Studiocms
Studiocms s3-storage |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | StudioCMS is a server-side-rendered, Astro native, headless content management system. Prior to 0.3.1, the S3 storage manager's isAuthorized() function is declared async (returns Promise<boolean>) but is called without await in both the POST and PUT handlers. Since a Promise object is always truthy in JavaScript, !isAuthorized(type) always evaluates to false, completely bypassing the authorization check. Any authenticated user with the lowest visitor role can upload, delete, rename, and list all files in the S3 bucket. This vulnerability is fixed in 0.3.1. | |
| Title | StudioCMS S3 Storage Manager Authorization Bypass via Missing `await` on Async Auth Check | |
| Weaknesses | CWE-863 | |
| References |
| |
| Metrics |
cvssV3_1
|