niksis02
0667514220
fix: authorize browser-based POST object uploads against the object ARN
...
`POSTObject` called `verifyAccess` without an `Object`, and `AuthorizePublicBucketAccess` took the object name from the request path, which is only `/bucket` for a `POST`. So both evaluated `s3:PutObject` against the bucket ARN `arn:aws:s3:::bucket`. `PutBucketPolicy` rejects `s3:PutObject` on a bucket resource, so no valid policy could ever match a `POST` upload. An `Allow` on `arn:aws:s3:::bucket/*` or on a key prefix never applied, and a `Deny` on a key prefix never applied either. A public-write ACL or a broad identity policy could therefore upload through `POST` to keys a `Deny` protects, which `PutObject` refuses. Identity policies evaluated by the standalone IAM service had the same mismatch.
S3 treats `POST` as an alternate form of `PUT` and authorizes it as `s3:PutObject` on the ARN of the object named by the form's `key` field. `POSTObject` now passes that `key` as `Object` to `verifyAccess`, matching `PutObject`. For anonymous `POST` requests, `AuthorizePublicBucketAccess` now uses the `key` that `AuthorizePostObject` has already parsed.
2026-09-23 22:53:54 +04:00
..
2026-05-21 23:49:34 +04:00
2026-09-09 17:18:42 +04:00
2026-03-10 09:47:37 -07:00
2026-07-31 14:58:21 -07:00
2026-04-22 13:23:46 -07:00
2026-08-27 16:37:28 -07:00
2026-05-21 23:49:34 +04:00
2026-06-10 12:41:55 +04:00
2024-05-06 16:16:31 -07:00
2026-05-21 23:49:34 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-05-21 23:49:34 +04:00
2026-06-10 12:41:51 +04:00
2026-09-10 16:35:05 +04:00
2026-09-16 20:14:09 +04:00
2026-09-10 16:35:05 +04:00
2026-05-21 23:49:34 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-01-05 16:24:01 +04:00
2026-09-16 08:16:55 -07:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-08-31 16:47:49 +04:00
2026-06-10 12:41:51 +04:00
2026-09-10 16:35:05 +04:00
2026-09-10 16:35:05 +04:00
2026-09-10 16:35:05 +04:00
2026-09-10 16:35:05 +04:00
2026-09-10 16:35:05 +04:00
2026-09-23 22:53:54 +04:00
2025-10-31 20:53:55 +04:00
2026-09-10 16:35:05 +04:00
2026-09-08 16:30:37 +04:00
2026-08-25 01:03:22 +04:00
2026-09-08 16:30:37 +04:00
2026-08-25 01:03:12 +04:00
2026-09-02 16:15:53 +04:00
2026-09-08 16:30:37 +04:00
2026-09-01 19:55:27 +04:00
2026-08-25 01:03:22 +04:00
2026-09-02 16:15:53 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:22 +04:00
2026-08-28 00:49:20 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:06:25 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:22 +04:00
2026-09-01 19:55:27 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:12 +04:00
2026-09-02 16:15:53 +04:00
2026-08-28 00:49:21 +04:00
2026-08-25 01:03:22 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:07:36 +04:00
2026-08-25 01:03:22 +04:00
2026-08-28 00:49:21 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:21 +04:00
2026-08-28 00:49:20 +04:00
2026-08-28 00:49:20 +04:00
2026-09-02 16:15:53 +04:00
2026-08-28 00:49:20 +04:00
2026-08-25 01:03:22 +04:00
2026-08-25 01:03:12 +04:00
2026-05-21 23:49:34 +04:00
2026-06-18 11:34:05 -07:00
2026-09-08 20:23:09 +04:00
2026-05-21 23:49:34 +04:00
2026-08-27 16:40:43 -07:00
2026-09-19 02:10:34 +04:00
2026-05-21 23:49:34 +04:00
2026-03-02 19:30:57 +04:00
2026-06-10 12:41:51 +04:00
2026-01-08 16:23:23 -08:00
2026-08-25 01:07:33 +04:00
2026-09-19 22:26:47 +04:00
2026-09-23 22:53:54 +04:00
2026-09-22 02:05:00 +04:00
2026-09-23 22:53:54 +04:00
2025-11-03 22:59:06 +04:00
2026-02-24 16:59:38 +04:00
2026-05-23 04:18:06 +04:00
2026-09-09 17:18:42 +04:00
2026-05-21 23:49:34 +04:00
2025-10-31 20:53:55 +04:00
2026-09-20 11:04:22 -07:00
2026-09-22 02:04:34 +04:00
2026-09-10 16:35:05 +04:00
2026-06-16 22:48:51 +04:00
2026-09-10 16:35:05 +04:00
2026-09-10 16:35:05 +04:00
2026-09-23 22:53:54 +04:00
2026-09-03 23:51:55 +04:00
2026-09-03 23:51:55 +04:00
2026-09-09 17:18:42 +04:00
2026-09-08 07:21:40 -07:00
2026-06-15 14:48:31 +04:00
2026-05-04 08:50:39 -07:00
2025-12-26 21:16:01 +04:00
2026-06-15 18:53:42 +04:00
2026-09-22 02:04:34 +04:00
2026-09-20 11:46:23 -07:00
2026-07-31 14:58:21 -07:00
2026-09-23 22:53:54 +04:00
2026-09-21 20:34:47 +04:00
2026-08-19 13:54:34 +02:00
2026-08-25 01:07:36 +04:00