How To Disable the Java Security Manager

Posted by: IKVM.NET Weblog, on 01 Aug 2011 | View original | Bookmarked: 0 time(s)

Suppose you have a type safety vulnerability in Java, you could use it to execute native code, but you can also simply disable the SecurityManager: import java.io.*; import java.lang.ref.*; import java.lang.reflect.*; class Union1 { ObjectStreamClass osc; Class c; AccessibleObject acc; } class Union2 { MyObjectStreamClass osc; MyClass c; MyAccessibleObject acc; } class MyObjectStreamClass { int i1; int i2; int i3; int i4; ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Security | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 352 | Hits: 7

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD