English 中文(简体)
信托边界 暴力同时将申请海滩与会议数据相结合
原标题:Trust Boundary Violation while combining Application cache with session data

我要求获得申请标的=和;届会反对、修改和使用。 虽然所有东西都奏效,但我正从Fortification(为了更多的目的)https://www.fortification.com/vulncat/en/vulncat/sql/trust_boundary_violation.html.

任何关于如何解决这一问题的想法?

最佳回答

信托边界 暴力往往不是解决问题的简单内容。 为了真正理解这一点,你需要与安全审计员和你的建筑师会面,确定什么是信任边界。 为此,为您的应用打下了逻辑结构,包括切身、终端用户和所有其他系统,这些应用需要与用户连接。

然后,在申请中需要保护的部分周围划出一线。 这条线内的一切都令人困惑,你不必检查......它收集了所有数据,这些数据大概由您的开发商创建,否则就会被你的输入验证功能所困扰,而且你肯定这只是你所期望的数据。 (见https://www.owasp.或g/index.php/Data_Validation )

现在,藏匿在哪里?

  1. 如果它位于信任边界内,那么这种“信任边界暴力”是一种虚假的正面行为,你可以制造一个过滤器,以便如果来文方来自该档案或包裹,这个问题就会被掩盖。 你的过滤器将研究这样的问题:

    类别:“不信任边界侵犯”一揽子计划:com.example.mycache Package

    categ或y:"trust boundary violation" file:MyCacheObject.java

  2. If the cache is outside the trust boundary, then the assumption is that the attacker may use the cache as a mechanism to attack your program 或 users. Then you have to check all the data every time you put data into the cache 或 take anything out of the cache.

Once you ve defined the validation function(s) f或 the cache mechanism, your security audit或 或 F或tify consultant will write a custom validation rule that will make all the fixed issues disappear.

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签