BLOG DE SIDERTIA
Microsoft fixes the CVE-2017-8585 security vulnerability discovered by Sidertia Team
During a fuzzing session as part of our research over the security of common ASP.NET functionalities and design patterns, we discovered a vulnerability in Microsoft Common Object Runtime Library that allows to crash the application pool process of an application hosted on IIS with a simple http request.
Versions Affected
ASP.NET 4.6, 4.6.1, 4.6.2, 4.7
CVE Reference
CVE-2017-8585
Vendor Fix
Microsoft an advisory and associated patches for each of the affected version in ASP.Net.
Description
A standard way of implementing localization in an ASP.NET Mvc application is allowing the user to select the language/culture on the frontend sending it to backend in the URL or as a cookie value. That string could then be used to set the culture of the current thread to allow localization of strings in the views with the help of the proper resource file per culture set.
If a string with double dash is provided as culture, when mscorlib tries to find a translation for a string in a view, an exception will be thrown without clearing the stack of strings to translate, which will cause its GetResourceStringCode function to enter an infinite loop trying to always translate the same string.
As the function includes a check to detect infinite recursion, it will cause a fail fast of the application pool, causing a denial of service in the application until it is restarted.
Proof of concept
GET /en-a-bbbbbbbb/Home/dfasdasdsa HTTP/1.1
Host: 192.168.1.147:8081
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.8,es-ES;q=0.6,es;q=0.4
Connection: close
SUSCRIBIRSE
ÚLTIMAS NOTICIASNoticias
-
viernes, 22 de diciembre de 2017
Sidertia Solutions en las XI Jornadas STIC-CCN-CERT
-
jueves, 26 de octubre de 2017
SIDERTIA SOLUTIONS en las XI Jornadas STIC CCN-CERT
-
lunes, 26 de junio de 2017
Sidertia, procesos de selección en curso
ÚLTIMOS TWEETSTwitter
ARCHIVO
- February 2018 (1)
- September 2017 (2)
- July 2017 (4)
- June 2017 (3)
- May 2017 (3)
- April 2017 (2)
- March 2017 (1)
- February 2017 (1)
- May 2016 (2)
- March 2016 (2)
- February 2016 (3)
- January 2016 (1)
- December 2015 (1)
- October 2015 (1)
- September 2015 (3)
- August 2015 (1)
- July 2015 (1)
- June 2015 (1)
- May 2015 (1)
- April 2015 (2)
- March 2015 (1)
- February 2015 (3)
- January 2015 (1)
- December 2014 (1)
- November 2014 (1)
- October 2014 (1)
- July 2014 (3)
- June 2014 (3)
- May 2014 (1)
- April 2014 (4)
- March 2014 (4)
- February 2014 (4)
- January 2014 (3)
- December 2013 (5)
- November 2013 (4)
- October 2013 (1)
- May 2013 (2)
- February 2013 (1)
- January 2013 (1)
- December 2012 (3)
- September 2012 (2)
- July 2012 (3)
- June 2012 (1)
- May 2012 (1)
- April 2012 (3)
- March 2012 (2)







