Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkmk < 2.2.0p5 Information Disclosure Vulnerability #40

Open
Pr1mEzz opened this issue Jul 26, 2023 · 2 comments
Open

Checkmk < 2.2.0p5 Information Disclosure Vulnerability #40

Pr1mEzz opened this issue Jul 26, 2023 · 2 comments

Comments

@Pr1mEzz
Copy link

Pr1mEzz commented Jul 26, 2023

Hello,

yesterday we had a Vulnerability Testing and we found an Information Disclosure in our Agent Config.

The Agent is listening AND answering any requests at our WAN-Interfaces/IP's with any informations the agent is gathering. (you can check ist with "telnet ip port")
Worryingly, the port is not even open in the firewall policys.


image

image


Today we helped us with one workaround. In /usr/local/etc/checkmk.conf we added the CheckMK-IPs:

onlyfrom: our ipaddresses, comma seperated

So the Output with telnet after starting and stopping the agent is now:

Escape character is '^]'.
Connection closed by foreign host.

Is there anyway to configure listen interfaces or IP-Adresses so that the Agentport is not open at all Interfaces?

Thanks in Advance

@h4llm3n
Copy link

h4llm3n commented Aug 7, 2023

Hi! Can't confirm that issue here.
And the port should be 6556, not 5665.
Maybe you want to check your WAN rules and also the auto generated one here.

@thorstenspille
Copy link
Contributor

Hi,
if your firewall ruleset is configured properly, incoming packages on the WAN interface will be dropped.
You can ignore the CVE, this is an unoffical agent and we are using other version numbers. The dependencies are also others, than the official checkmk agent and t's using the python3 system interpreter of the opnsense, do for dependencies just check the known vulnerabilities for opnsense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants