توضیح (فارسی)
Orthanc 1.11.0 قبل 1.12.11 یک HTTP Response Header Injection vulnerability در OrthancFramework/Sources/HttpServer/HttpOutput.cpp دارد، که HttpOutput::StateMachine::SetContentFilename() و HttpOutput::AnswerWithoutBuffering() file nameCaller-supplied را به Content-Disposition header مینویسند بدون حذف CR, LF یا double quote characters. GET filename argument patient, study and series archive and media routes این کد since 1.11.0 میرسد، و since 1.12.7 so do the filename argument of the instance file and attachment data routes and the Filename field of POST archive requests، which archive jobs store and reuse when their output is downloaded. Attackers can craft a link یا archive job که, وقتی کاربر Orthanc آن را باز یا دانلود میکند، یک پاسخ برگردانده میشود حاوی headers attacker-chosen مانند Set-Cookie.
Original description (English)
Orthanc 1.11.0 before 1.12.11 contains an HTTP response header injection vulnerability in OrthancFramework/Sources/HttpServer/HttpOutput.cpp, where HttpOutput::StateMachine::SetContentFilename() and HttpOutput::AnswerWithoutBuffering() write a caller-supplied file name into the Content-Disposition header without removing CR, LF or double quote characters. The filename GET argument of the patient, study and series archive and media routes reaches this code since 1.11.0, and since 1.12.7 so do the filename argument of the instance file and attachment data routes and the Filename field of POST archive requests, which archive jobs store and reuse when their output is downloaded. Attackers can craft a link or archive job that, when an Orthanc user opens or downloads it, returns a response containing attacker-chosen headers such as Set-Cookie.