Bug 2216855 (CVE-2023-43040) - CVE-2023-43040 rgw: improperly verified POST keys
Summary: CVE-2023-43040 rgw: improperly verified POST keys
Keywords:
Status: NEW
Alias: CVE-2023-43040
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2216857 2216858 2216859 2216860 2216861 2216862 2216863 2216864 2216865 2216866 2216867 2217572 2258829 2258830
Blocks: 2216856
TreeView+ depends on / blocked
 
Reported: 2023-06-22 21:28 UTC by Anten Skrabec
Modified: 2024-02-08 16:49 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:5693 0 None None None 2023-10-12 16:34:26 UTC
Red Hat Product Errata RHSA-2024:0745 0 None None None 2024-02-08 16:49:49 UTC

Description Anten Skrabec 2023-06-22 21:28:37 UTC
An unprivileged user can write to any bucket(s) accessible by a given key if a POST’s form-data contains a key called ‘bucket’ with a value matching the name of the bucket used to sign the request. The result of this is that a user could actually upload to any bucket accessible by the specified access key as long as the bucket in the POST policy matches the bucket in said POST form part.

Fix this simply by setting the bucket to the correct value after the POST form parts are processed, ignoring the form part above if specified.

Comment 2 Mike Burns 2023-06-26 12:02:17 UTC
Hi Anten,

This shouldn't impact OpenStack (at least directly).  librgw is from the ceph package.  OpenStack pulls this from RHEL or Ceph directly on all the releases.  It will cause container grade updates after it's resolved.

Comment 6 errata-xmlrpc 2023-10-12 16:34:25 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

Via RHSA-2023:5693 https://access.redhat.com/errata/RHSA-2023:5693

Comment 9 errata-xmlrpc 2024-02-08 16:49:48 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 5.3

Via RHSA-2024:0745 https://access.redhat.com/errata/RHSA-2024:0745


Note You need to log in before you can comment on or make changes to this bug.