Coder Social home page Coder Social logo

thl-cmk / cve-log4j-check_mk-plugin Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 75.58 MB

CVE-log4j CheckMK plugin

License: GNU General Public License v2.0

Python 97.64% Shell 2.36%
log4j2 checkmk-extension checkmk-agent cve-2021-44228 cve-2021-45046 cve-2021-4104 cve-2021-42550 cve-2021-45105 cve-2021-44832

cve-log4j-check_mk-plugin's Introduction

checkmk CVE-log4j agent plugin

This agent plugin intergrates the CVE-2021-44228-Scanner from logpresso with checkmk the system monitoring from tribe29.

Included in this package is the scanner for Linux and Windows. You will find the release notes/latest version for the logpresso scanner here logpresso CVE-2021-44228-Scanner Releases.

The scanner (and so the plugin) can discover the following log4j issues

  • log4j 1.x
    • CVE-2017-5645
    • CVE-2019-17571
    • CVE-2020-9488
    • CVE-2021-4104
    • CVE-2022-23302
    • CVE-2022-23305
    • CVE-2022-23307
  • log4j 2.x
    • CVE-2021-44228
    • CVE-2021-45046
    • CVE-2021-45105
    • CVE-2021-44832
  • logback
    • CVE-2021-42550

You will find more information on the Apache Log4j 2 Security Vulnerabilities page (Log4j 1 is no longer supportet, you can find information about Log4j 1 Security Vulnerabilities here on the logging.apache.org web page).


Download

You can find the latest version of this plugin and a lot more checkmk plugins here

Note: The package for CMK1.6 will not be always on the same level as the version for CMK 2.0.

Note: before you update read the CHANGELOG please, and have a look at the Releases, there might be unexpected changes.


Install

  • in the checkmk Entrprise/Free edition you can install the plugin via Setup > Maintenance > Extension packages
  • in the checkmk RAW/Community edition you need to copy the package to your checkmk server (via SCP for example), and then - as site user - install the package with mkp install cve_2021_44228_log4.mkp on the cli.

How to use

To use this plugin you need to deploy the scanner and the plugin for your destination platform. You can do this via the agent bakery (Setup > Agents> Windows, Linux, Solaris, AIX > Agent rules > CVE-2021-44228-log4j). Here you can also configure some options for the scanner (see WATO bakery). If you have created (baked) a new agent package you need to redeploy the agent (automatic update/software deployment)

To use this plugin with the checkmk RAW/Community edition or have a platform that is not supported by the bakery have a look at the how to information. There you will also find more information around this plugin.

Note: only Linux and Windows is implemented for this bakery plugin. If you need this for AIX/Solaris have a look at the contribution guidelines


Want to contribute?

Nice ;-) Have a look at the contribution guidelines


Sample output

Note: in the service details you will find the raw output from the scanner

sample output

Sample output details

(sample details)

Sample syslog events in CMK event console

(sample syslog events in CMK event console)

Sample inventory summary

(sample inventory summary)

Sample inventory report

(sample inventory report)

WATO options
WATO check plugin

WATO check plugin

WATO bakery Linux

WATO bakery Linux

WATO bakery Windows

WATO bakery Windows

WATO inventory

WATO inventory

cve-log4j-check_mk-plugin's People

Contributors

thl-cmk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.