-
Notifications
You must be signed in to change notification settings - Fork 736
Open
Description
I have tweaked the code to use the new Groovy payload given by orange last month.
However in my usecase , i dont have a direct initialContext.lookup available. What i have is the path below-
However right now its failing at line 104 in http://cr.openjdk.java.net/~mduigou/7072353/3/webrev/src/share/classes/com/sun/jndi/rmi/registry/RegistryContextFactory.java.html#104
As the object sent back from the EVIL RMI server is not an instance of Context?
ANy suggestions if this can still be exploited?
javax.naming.NotContextException: rmi://54.x.x.x:1099/ngiawf
at com.sun.jndi.rmi.registry.RegistryContextFactory.URLToContext(RegistryContextFactory.java:107) ~[?:1.8.0_222]
at com.sun.jndi.rmi.registry.RegistryContextFactory.getInitialContext(RegistryContextFactory.java:69) ~[?:1.8.0_222]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) ~[?:1.8.0_222]
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) ~[?:1.8.0_222]
at javax.naming.InitialContext.init(InitialContext.java:244) ~[?:1.8.0_222]
at javax.naming.InitialContext.<init>(InitialContext.java:216) ~[?:1.8.0_222]
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101) ~[?:1.8.0_222]
Metadata
Metadata
Assignees
Labels
No labels