Skip to content

CVE-2024-48911 OpenCanary Executes Commands From Potentially Writable Config File

MediumCVSS 5.8 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

OpenCanary, a multi-protocol network honeypot, directly executed commands taken from its config file. Prior to version 0.9.4, where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon. Version 0.9.4 contains a fix for the issue.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi opencanary(PyPI) < 0.9.4; < 0.9.5; = 0.2; = 0.3 +21 more 0.9.4, 0.9.5 Fixed
thinkst opencanary < 0.9.4; = < 0.9.4 0.9.4 Fixed

Affected products

ProductAffected versionsFixed in
pypi opencanary(PyPI) < 0.9.5 0.9.5
pypi opencanary(PyPI) = 0.2 No fix listed
pypi opencanary(PyPI) = 0.3 No fix listed
pypi opencanary(PyPI) = 0.3.1 No fix listed
pypi opencanary(PyPI) = 0.3.2 No fix listed
pypi opencanary(PyPI) = 0.4 No fix listed
pypi opencanary(PyPI) = 0.5 No fix listed
pypi opencanary(PyPI) = 0.5.1 No fix listed
pypi opencanary(PyPI) = 0.5.2 No fix listed
pypi opencanary(PyPI) = 0.5.4 No fix listed
pypi opencanary(PyPI) = 0.5.5 No fix listed
pypi opencanary(PyPI) = 0.5.6 No fix listed
pypi opencanary(PyPI) = 0.5.7 No fix listed
pypi opencanary(PyPI) = 0.5.8 No fix listed
pypi opencanary(PyPI) = 0.6.0 No fix listed
pypi opencanary(PyPI) = 0.6.1 No fix listed
pypi opencanary(PyPI) = 0.6.2 No fix listed
pypi opencanary(PyPI) = 0.6.3 No fix listed
pypi opencanary(PyPI) = 0.7.1 No fix listed
pypi opencanary(PyPI) = 0.9.0 No fix listed
pypi opencanary(PyPI) = 0.9.1 No fix listed
pypi opencanary(PyPI) = 0.9.2 No fix listed
pypi opencanary(PyPI) = 0.9.3 No fix listed
pypi opencanary(PyPI) = 0.9.4 No fix listed
pypi opencanary(PyPI) < 0.9.4 0.9.4
Show 2 more
ProductAffected versionsFixed in
thinkst opencanary = < 0.9.4 No fix listed
thinkst opencanary < 0.9.4 0.9.4

References