Vulnerability · Published Oct 14, 2024 · Assigned by GitHub_M

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

Medium 5.8

In plain English

A medium-severity incorrect authorization in opencanary from thinkst. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.8Medium
Exploit odds (30 days)0.2%top 87.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopencanary0.9.5GHSA-pf5v-pqfv-x8jj
PyPIopencanary0.9.4PYSEC-2024-248

Affected products (as reported)

VendorProductVersions
thinkst opencanary < 0.9.4

Weakness: CWE-863 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

References