Reply
Using a ASP.NET Shopping Cart? Serious IIS Issue
Old 10-18-2008, 10:55 PM Using a ASP.NET Shopping Cart? Serious IIS Issue
Sean@WMS's Avatar
Skilled Talker

Posts: 52
Name: Sean Connors
Location: Eureka, CA USA
Trades: 0
I read an article the other day entitled "How to take over an IIS server in no time flat" by Mark Joseph Edwards.

In the article he boils down a presentation by Cesar Cerrudo presented at Microsoft's BlueHat Security Briefings. Here's a core excerpt:


Quote:
Cerrudo showed how to completely take over — or "0wn" — a system running Microsoft's Internet Information Services (IIS) and Windows Server 2003.

The attack involves hijacking a security token and using it to gain elevated privileges. That sounds rather complicated, and it is — unless you have some helper code. Microsoft hasn't yet fixed the problem, but neither had any working exploits been released.

That all changed last week. Complete working exploit code is now available on the Internet, as documented by the No More Root blog and others. People can use this code to upload to an IIS server a file that allows them to take over the system.
One of the front lines of of defense is to reduce the trustLevel of .NET applications:

Quote:
Fortunately, there are ways to reduce the risk. Regardless of whether you use IIS 6 or IIS 7, don't allow ASP.NET applications to run with full trust. Instead, configure the machine-level Web.config file so it forces applications to run with medium trust
See: http://msdn.microsoft.com/en-us/library/ms998341.aspx

Currently we have clients using BV Commerce 2004 and AbleCommerce 7 as ASP.NET shopping cart solutions. All of the BV Commerce sites crashed, while all of the AbleCommerce 7 sites respected the "Medium" trust level.

If you are a host or a merchant running Lagarde's StoreFront 6 or 7 or ASPDotNetStorefront -- or any other ASP.NET shopping cart application, you may want to look into this issue.
__________________
Web Merchant Services
Online Payment Processing, FREE shopping cart
Sean@WMS is offline
Reply With Quote
View Public Profile Visit Sean@WMS's homepage!
 
 
When You Register, These Ads Go Away!
Old 10-20-2008, 01:43 PM Re: Using a ASP.NET Shopping Cart? Serious IIS Issue
Junior Talker

Posts: 1
Trades: 0
If you are running AspDotNetStorefront, it fully supports medium trust operation. There are a few caveats however. The application was designed to support standard medium trust. Some hosts applying additional restrictions to their medium trust policies, which can cause things to break, so make sure your host is using a fairly standard medium trust configuration. Secondly, by default medium trust does not allow access to sockets, which means any code that calls an external URL will fail. Because payment gateways, realtime shipping rates, etc. call third-party API, the host will have to allow access to sockets (or at least allow HTTP/HTTPS calls to the APIs' URLS) in order for realtime payment gateways and real time shipping to function. This is something that we generally see as standard practice amongst hosts running medium trust.
ASPDNSF-DAN is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using a ASP.NET Shopping Cart? Serious IIS Issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10718 seconds with 13 queries