exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

ASP.NET Core 5-RC1 HTTP Header Injection

ASP.NET Core 5-RC1 HTTP Header Injection
Posted Dec 23, 2016
Authored by Reto Schadler

ASP.NET Core version 5.-RC1 suffers from an HTTP header injection vulnerability.

tags | exploit, web, asp
SHA-256 | 1d6c349a4c1cbeebdb441bb9d71d28155836dfc3262d25c0f5027232b302026b

ASP.NET Core 5-RC1 HTTP Header Injection

Change Mirror Download
#############################################################
#
# COMPASS SECURITY ADVISORY
# http://www.csnc.ch/en/downloads/advisories.html
#
#############################################################
#
# Product: ASP.NET Core
# Vendor: Microsoft https://www.microsoft.com
# CSNC ID: CSNC-2016-006
# Subject: HTTP Header Injection
# Risk: Medium
# Effect: HTTP Header manipulation
# Author: Reto Schadler (advisories@compass-security.com)
# Date: 21.12.2016
#
#############################################################

Introduction:
-------------
ASP.NET Core is a open-source and cross-platform framework for building modern cloud based internet connected applications,
such as web apps, IoT apps and mobile backends. ASP.NET Core apps can run on .NET Core or on the full .NET Framework.
It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises.
It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. [1]

Carriage return and line feed characters are not filtered from the URL. This allows to manipulate the HTTP Header, and
overwrite redirection URLs and manipulate cookies with a HTTP header injection are possible.

Affected:
---------
- ASP.NET 5-RC1

Technical Description:
----------------------
Inject carriage return and line feed into the URL, which allows to overwrite a new redirection location:
/Account/Login?ReturnUrl=%2FAccount%0D%0ALocation%3A%20http%3A%2F%2Fwww.csnc.ch

It's also possible to write or overwrite a cookie:
/Account%0D%0ASet-Cookie:%20CompassCookie=HelloWorld1

Workaround / Fix:
-----------------
Fixed with 1.0.0-RC2 of ASP.NET Core

Timeline:
---------
Vendor Status: Fixed with 1.0.0-RC2 of ASP.NET Core.
Vendor Notified: 12.04.2016
Vendor Response: 21.04.2016 patch on github -> 1.0.0-RC2
Patch available: RC2 ASP.NET Core [2]

References:
-----------
[1]: https://github.com/aspnet/home
[2]: https://github.com/aspnet/KestrelHttpServer/commit/c1e5640a656ddfe6d478cb54a30002de41c25180
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close