Skip to content

trickyearlobe/CVE_2021_44228_Check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

CVE_2021_44228_Check

A little widget to check if your JRE/JDK allows JNDI remote code execution by default

Compiling

git clone https://github.com/trickyearlobe/CVE_2021_44228_Check
cd CVE_2021_44228_Check
javac Log4JCheck.java

Running

java Log4JCheck

It should produce results similar to this

Java Version: 11.0.12
com.sun.jndi.ldap.object.trustURLCodebase: null
com.sun.jndi.rmi.object.trustURLCodebase: null
com.sun.jndi.cosnaming.object.trustURLCodebase: null

A null or false means remote JNDI code execution is disabled by default. A true means remote JNDI code execution is enabled.

About

Check if Java allows JNDI remote code exec by default

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages