You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,143 +27,69 @@ You can find more details and instructions at [Allows JavaScriptSerializer Dese
27
27
28
28
Also check the FAQ section at the end of the [Security article](https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security?&_ga=2.240996419.1514756545.1609746144-426342040.1588420200#frequently-asked-questions).
<p>To ensure your application is not exposed to risk, there are several mitigation paths.The recommended approach is to upgrade to the latest version and follow the steps in the <ahref="https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security">RadAsyncUpload Security article</a>. You can find the other alternatives below.</p>
100
-
101
-
<p><strong>Update from 8 Sep 2017:</strong> You should follow one of these options even if you are not using RadAsyncUpload in your application.<br>
102
-
<strong>Update from 23 Oct 2019:</strong> Information on avoiding the issue through general web.config networking settings was removed because it is not sufficiently safe.</p>
103
-
104
-
<ul>
105
-
<li>Use a patch for versions between Q1 2011 (2011.1.315) and R2 2017 SP1 (2017.2.621).</li>
106
-
<li>If you are on active maintenance, upgrade to R2 2017 SP2 (2017.2.711) or later.</li>
107
-
</ul>
108
-
109
-
<p>NOTE: The patches are <strong>not</strong> available on the Telerik NuGet feed.</p>
110
-
111
-
<p>NOTE: If you are targeting .NET 3.5, review the <ahref="http://docs.telerik.com/devtools/aspnet-ajax/controls/fips-compatibility">FIPS Compatibility article</a>, because the encryption issue it describes also pertains to these patches.</p>
112
-
113
-
<hr>
114
-
115
-
<h4>Use a patch for versions between Q1 2011 (2011.1.315) and R2 2017 SP1 (2017.2.621)</h4>
116
-
117
-
<p>The R2 2017 SP2 release brings a fix and the ability to disable uploads for the first time. This fix was ported in the patches.</p>
118
-
119
-
<p>Download a patched version from your Telerik.com account <strong>after the 15th of August 2017</strong>. If you downloaded it earlier, download it again, because the file was updated since its <ahref="https://www.telerik.com/support/kb/aspnet-ajax/details/cryptographic-weakness">original creation</a>. Here is how to get the patch:</p>
120
-
121
-
<ol>
122
-
<li><p>Go to your <ahref="https://www.telerik.com/account/product-download?product=RCAJAX">telerik.com account</a>.</p></li>
123
-
<li><p>From the Version dropdown, select your release: <br>
124
-
<imgsrc="images/asyncupload-insecure-direct-object-reference-version-dropdown.png"alt="How to select your Telerik.Web.UI version"></p></li>
<li><p><ahref="http://docs.telerik.com/devtools/aspnet-ajax/installation/upgrading-instructions/upgrading-a-trial-to-a-developer-license-or-to-a-newer-version#manual-upgrade">Replace the Telerik.Web.UI assembly in your application</a> with the one of the same version that you just downloaded. Temporary files saved to the disk by RadAsyncUpload will now have the <code>.tmp</code> extension.</p></li>
127
-
<li><p>*<em>(Updated on 23 Oct 2019): *</em>Set the encryption keys described in the <ahref="https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security">RadAsyncUpload Security article</a>.</p></li>
128
-
</ol>
129
-
130
-
<p>This patch brings an added security measure. After applying the patched DLL, you can now <ahref="http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security#disableasyncuploadhandler">disable file uploads through the Telerik handler</a>. To do that, set the <strong>Telerik.Web.DisableAsyncUploadHandler</strong> key in the appSettings section of your web.config to <strong>true</strong>. You can then <ahref="http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-extend-the-radasyncupload-handler">create a custom handler</a> with the desired level of security. If you do that, see the <ahref="https://www.telerik.com/support/kb/aspnet-ajax/upload-(async)/details/uploadedfiles.saveas-throws-filenotfound-error-with-custom-handler">UploadedFiles.SaveAs Throws FileNotFound Error with Custom Handler</a> KB article.</p>
131
-
132
-
<p><strong>NOTE</strong>: Due to technical feasibility, the following versions do not have patches for this issue:</p>
133
-
134
-
<ul>
135
-
<li>Q1 2011 SP2 (2011.1.519)</li>
136
-
<li>Q2 2011 SP1 (2011.2.915)</li>
137
-
<li>Q3 2011 SP1 (2011.3.1305)</li>
138
-
<li>Q1 2012 SP1 (2012.1.411)</li>
139
-
<li>Q2 2012 SP2 (2012.2.912)</li>
140
-
</ul>
141
-
142
-
<p>The patched version shows "Telerik.Web.UI.Patch" in the File Description under Properties in Windows Explorer:</p>
143
-
144
-
<p>How to spot a patched version of Telerik.Web.UI.dll:</p>
145
-
146
-
<p><imgsrc="images/asyncupload-insecure-direct-object-reference-patched-version.png"alt="How a patched version looks like"></p>
147
-
148
-
<p>Source code for building a patched version and <ahref="http://docs.telerik.com/devtools/aspnet-ajax/deployment/protecting-the-telerik-asp.net-ajax-assembly">protecting the Telerik.Web.UI assembly</a> is available as well. If you downloaded it before the 15th of August 2017, you can download it again, because the file was updated.</p>
149
-
150
-
<hr>
151
-
152
-
<h4>Upgrade to R2 2017 SP2 (2017.2.711) or later if you’re on active maintenance.</h4>
153
-
154
-
<ol>
155
-
<li>
156
-
<ahref="http://docs.telerik.com/devtools/aspnet-ajax/installation/upgrading-instructions/upgrading-a-trial-to-a-developer-license-or-to-a-newer-version#upgrade-to-a-newer-version-of-telerik-ui-for-aspnet-ajax">Upgrade your Telerik UI for ASP.NET AJAX version</a>to R2 2017 SP2 (2017.2.711) or later.</li>
157
-
<li>Set the encryption keys as explained in the <ahref="https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security">RadAsyncUpload Security article</a>.</li>
158
-
</ol>
159
-
160
-
<p>The R2 2017 SP2 (2017.2.711) release brings an additional security measure. It allows you to <ahref="http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security#disableasyncuploadhandler">disable file uploads through the Telerik handler</a>. To do that, set the <strong>Telerik.Web.DisableAsyncUploadHandler</strong> key in the appSettings section of your web.config to <strong>true</strong>. You can then <ahref="http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-extend-the-radasyncupload-handler">create a custom handler</a> with the desired level of security. If you do that, see the <ahref="https://www.telerik.com/support/kb/aspnet-ajax/upload-(async)/details/uploadedfiles.saveas-throws-filenotfound-error-with-custom-handler">UploadedFiles.SaveAs Throws FileNotFound Error with Custom Handler</a> KB article.</p>
161
-
162
-
</p>
163
-
</div>
164
-
</div>
165
-
</div>
166
-
30
+
## Deprecated solutions
31
+
32
+
>caption
33
+
>
34
+
>**Start of the deprecated solutions section:**
35
+
>
36
+
>To ensure your application is not exposed to risk, there are several mitigation paths. The recommended approach is to upgrade to the latest version and follow the steps in the [RadAsyncUpload Security article](https://docs.>telerik.com/devtools/aspnet-ajax/controls/asyncupload/security). You can find other alternatives below.
37
+
>
38
+
>**Update from 8 Sep 2017:** You should follow one of these options even if you are not using RadAsyncUpload in your application.
39
+
>**Update from 23 Oct 2019:** Information on avoiding the issue through general web.config networking settings was removed because it is not sufficiently safe.
40
+
>
41
+
>- Use a patch for versions between Q1 2011 (2011.1.315) and R2 2017 SP1 (2017.2.621).
42
+
>- If you are on active maintenance, upgrade to R2 2017 SP2 (2017.2.711) or later.
43
+
>
44
+
> **NOTE:** The patches are **not** available on the Telerik NuGet feed.
45
+
>
46
+
> **NOTE:** If you are targeting .NET 3.5, review the [FIPS Compatibility article](http://docs.telerik.com/devtools/aspnet-ajax/controls/fips-compatibility), because the encryption issue it describes also pertains to these >patches.
47
+
>
48
+
>---
49
+
>
50
+
>#### Use a patch for versions between Q1 2011 (2011.1.315) and R2 2017 SP1 (2017.2.621)
51
+
>
52
+
>The R2 2017 SP2 release brings a fix and the ability to disable uploads for the first time. This fix was ported in the patches.
53
+
>
54
+
>Download a patched version from your Telerik.com account **after the 15th of August 2017**. If you downloaded it earlier, download it again, because the file was updated since its [original creation](https://www.telerik.com/>support/kb/aspnet-ajax/details/cryptographic-weakness).
55
+
>
56
+
>Steps to get the patch:
57
+
>1. Go to your [Telerik.com account](https://www.telerik.com/account/product-download?product=RCAJAX).
58
+
59
+
>2. From the Version dropdown, select your release:
>3. Download the `SecurityPatch_<your_version>.zip` file.
64
+
65
+
>4.[Replace the Telerik.Web.UI assembly in your application](http://docs.telerik.com/devtools/aspnet-ajax/installation/upgrading-instructions/upgrading-a-trial-to-a-developer-license-or-to-a-newer-version#manual-upgrade) >with the one of the same version that you just downloaded. Temporary files saved to the disk by RadAsyncUpload will now have the `.tmp` extension.
66
+
67
+
>5.*(Updated on 23 Oct 2019):* Set the encryption keys described in the [RadAsyncUpload Security article](https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security).
68
+
>
69
+
>This patch brings an added security measure. After applying the patched DLL, you can now [disable file uploads through the Telerik handler](http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/>security#disableasyncuploadhandler). To do that, set the **Telerik.Web.DisableAsyncUploadHandler** key in the `appSettings` section of your web.config to **true**. You can then [create a custom handler](http://docs.telerik.>com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-extend-the-radasyncupload-handler) with the desired level of security.
70
+
>
71
+
> **NOTE:** Due to technical feasibility, the following versions do not have patches for this issue:
72
+
>
73
+
> - Q1 2011 SP2 (2011.1.519)
74
+
> - Q2 2011 SP1 (2011.2.915)
75
+
> - Q3 2011 SP1 (2011.3.1305)
76
+
> - Q1 2012 SP1 (2012.1.411)
77
+
> - Q2 2012 SP2 (2012.2.912)
78
+
>
79
+
>The patched version shows "Telerik.Web.UI.Patch" in the File Description under Properties in Windows Explorer:
>#### Upgrade to R2 2017 SP2 (2017.2.711) or later if you're on active maintenance
86
+
>
87
+
>1.[Upgrade your Telerik UI for ASP.NET AJAX version](http://docs.telerik.com/devtools/aspnet-ajax/installation/upgrading-instructions/>upgrading-a-trial-to-a-developer-license-or-to-a-newer-version#upgrade-to-a-newer-version-of-telerik-ui-for-aspnet-ajax) to R2 2017 SP2 (2017.2.711) or later.
88
+
>2. Set the encryption keys as explained in the [RadAsyncUpload Security article](https://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security).
89
+
>
90
+
>The R2 2017 SP2 (2017.2.711) release brings an additional security measure. It allows you to [disable file uploads through the Telerik handler](http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/>security#disableasyncuploadhandler). To do that, set the **Telerik.Web.DisableAsyncUploadHandler** key in the `appSettings` section of your web.config to **true**. You can then [create a custom handler](http://docs.telerik.>com/devtools/aspnet-ajax/controls/asyncupload/how-to/how-to-extend-the-radasyncupload-handler) with the desired level of security.
91
+
>
92
+
>**End of the deprecated solutions section**
167
93
168
94
169
95
## Notes
@@ -177,6 +103,8 @@ We would like to thank Paul Taylor / Foregenix Ltd and Markus Wulftange of Code
0 commit comments