swift/test
Clay Gerrard 0694e1911d Disallow unsafe tempurl operations to point to unauthorized data
Do not allow PUT tempurls to create pointers to other data. Specifically
disallow the creation of DLO object manifests by returning an error if a
non-safe tempurl request includes an X-Object-Manifest header regardless of
the value of the header.

This prevents discoverability attacks which can use any PUT tempurl to probe
for private data by creating a DLO object manifest and then using the PUT
tempurl to head the object which would 404 if the prefix does not match any
object data or form a valid DLO HEAD response if it does.

This also prevents a tricky and potentially unexpected consequence of PUT
tempurls which would make it unsafe to allow a user to download objects
created by tempurl (even if they just created them) because the result of
reading the object created via tempurl may not be the data which was uploaded.

[CVE-2015-5223]

Co-Authored-By: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp>

Closes-Bug: 1453948

Change-Id: I91161dfb0f089c3990aca1b4255b520299ef73c8
2015-08-26 07:54:02 -07:00
..
functional Disallow unsafe tempurl operations to point to unauthorized data 2015-08-26 07:54:02 -07:00
probe Enable object system metadata on PUTs 2014-08-01 16:41:33 -07:00
unit Disallow unsafe tempurl operations to point to unauthorized data 2015-08-26 07:54:02 -07:00
__init__.py In-process swift server for functional tests 2014-04-29 08:45:11 -04:00
sample.conf Fixes several typos (Swift) 2014-09-18 21:18:50 -07:00