Issue G: Unescaped Characters Put Into Content-Disposition Header #832
Comments
|
in order to address this issue i've applied the following changes:
related to the http split injection i've further investigated and it does not sussist. in fact the set_header function of cyclone calls the _convert_header_value that prevent usage of the following values [\x00-\x1f]. in addition as suggested i've corretly url encoded/decoded the filename as suggested in the report by using the standard urllib.encode/decode. can you please validate the solution? |
|
@evilaliv3 I believe the security issue has been fixed, but the actual setting of the The simplest 'correct' way to do it is to put the filename in the URL of the download link or button, then don't set the filename with
Then have the server just ignore the last |
|
allright, we will evaluate this possibility thank you. |
Synopsis: When the whistleblower uploads a file, they provide its file name. That file name is stored in
the GlobaLeaks database. When the receiver downloads the file, the name provided will be reflected nto the HTTP headers that are sent to the receiver, without being escaped.
The text was updated successfully, but these errors were encountered: