473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Can an ASP.NET application punch a hole through IIS?

Hi newsgroup.

I ask, can a buggy ASP.net app grant root access to the server? Or are
there built-in mechanisms that prevent this?

Let's say, I have a bug in my application, that under certain
situations provokes a never ending loop, the application crashes, and
the asp.net process will get recycled.. could this provoke an attack?
Short question: Is ASP.net shielded enough from IIS, so that any
failures in .net applications, don't affect the security of IIS?

Aug 6 '07 #1
2 1300
On Aug 6, 11:59 am, PSiegm...@mail.nu wrote:
Hi newsgroup.

I ask, can a buggy ASP.net app grant root access to the server? Or are
there built-in mechanisms that prevent this?

Let's say, I have a bug in my application, that under certain
situations provokes a never ending loop, the application crashes, and
the asp.net process will get recycled.. could this provoke an attack?

Short question: Is ASP.net shielded enough from IIS, so that any
failures in .net applications, don't affect the security of IIS?
ASP.NET handles it's errors internally, and to a degree it may protect
IIS, but ASP.NET generally runs as "ASPNET" with sufficient privledge
to grant very damaging access if it's abused. It also doesn't
neccessarily realize what is and isn't an attack, so something could
be passed through ASP.NET without harm and still break IIS.

It's not a massive security hole (ok, maybe it is, but so is
everything else), but it's something to be aware of.

Aug 6 '07 #2

<PS*******@mail.nuwrote in message
news:11*********************@l70g2000hse.googlegro ups.com...
Hi newsgroup.

I ask, can a buggy ASP.net app grant root access to the server? Or are
there built-in mechanisms that prevent this?
That depends entirely on what security context you are running ASP.NET
application in.

By default, on Windows Server 2003, ASP.NET runs as Network Service, which
is a relatively low privilege account. If you change this to something else
(e.g. "LocalSystem") then obviously ASP.NET is now effectively running as
"root", and if an attacker can manipulate your application, they may be able
to get full privileges over your system.

Let's say, I have a bug in my application, that under certain
situations provokes a never ending loop, the application crashes, and
the asp.net process will get recycled.. could this provoke an attack?
Well, it would cause, potentially, a denial of service attack (since a never
ending loop generally causes 100% CPU). But you can mitigate this by
configuring IIS to allow a web application pool only a certain % of CPU.
Short question: Is ASP.net shielded enough from IIS, so that any
failures in .net applications, don't affect the security of IIS?
This is a question that can not be answered without more information. There
is no such thing as the perfectly secure application - only applications
that are more secue than others. It all depends on your configuration, and
what the application is doing.

Cheers
Ken
Aug 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

32
by: Chung Leong | last post by:
Building web sites with PHP is easy. Building secured web sites--in any language--is hard. The end result is many PHP sites with security issues. I thought therefore it would be a good idea to put...
5
by: Jim Heavey | last post by:
Hello, I am trying to figure out how to put my application onto the server. I am deploying to a Windows 2000 Server When I bring up Internet Services Manager and navigate to the Default Web...
1
by: Quentin Huo | last post by:
Hi: I am trying move the ASP application to .NET. And I want to move a part of ASP pages to .NET firstly and then move the other bacause they are independent with each other. But it seems the...
4
by: Patrick Olurotimi Ige | last post by:
Huge security hole in .NET: Java creator http://www.zdnet.com.au/news/security/0,2000061744,39179932,00.htm *** Sent via Developersdex http://www.developersdex.com *** Don't just participate...
5
by: bill | last post by:
I am looking for examples and assistance in configuring application roles using SQL Server 2000 and VB.NET, both web forms and windows forms. Are there any suggestions? Thanks Bill
4
by: dk0146 | last post by:
I have written an MS Access Application which tracks employee time and produces reports. It saves calculating hours based on time in and time out. I call it PUNCH CLOCK. It is very usefull and...
97
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in...
3
by: Chuck | last post by:
Hello, Does Dotnet 2.0 Framework still have the security hole that Dotnet 1.1 Framework had regarding HTTP-Post method for web services? TIA
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.