Protection Bypass Affecting angularjs.core package, versions [,1.2.2)
Snyk CVSS
Attack Complexity
High
Confidentiality
High
Integrity
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DOTNET-ANGULARJSCORE-1579461
- published 23 Jan 2017
- disclosed 12 Nov 2013
- credit Chirayu Krishnappa
How to fix?
Upgrade AngularJS.Core
to version 1.2.2 or higher.
Overview
AngularJS.Core is an AngularJS.* package for other Angular modules within .NET.
Affected versions of this package are vulnerable to Protection Bypass via ng-attr-action
and ng-attr-srcdoc
allowing binding to Javascript.
The fix was to require bindings to form[action]
to be $sce.RESOURCE_URL
and bindings to iframe[srcdoc]
to be $sce.HTML