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

Published Oct 14, 2024
·
Updated

Impact

OpenCanary directly executed commands taken from its config file. 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.

Thanks to the folks at Whirlylabs for finding and fixing this.

Patches

Upgrade to 0.9.4 or higher.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
Thinkst Opencanary<0.9.4
pip/OpenCanary<0.9.5
0.9.5

Event History

Oct 14, 2024
CVE Published
via MITRE·08:45 PM
Data Sourced
via MITRE·08:45 PM
DescriptionWeakness
Advisory Published
via GitHub·09:16 PM
Data Sourced
via GitHub·09:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-48911?

CVE-2024-48911 has been assigned a moderate severity due to the potential for privilege escalation.

2

How do I fix CVE-2024-48911?

To fix CVE-2024-48911, upgrade OpenCanary to version 0.9.5 or later.

3

Who is affected by CVE-2024-48911?

Users of OpenCanary versions up to and including 0.9.4 are affected by CVE-2024-48911.

4

What kind of vulnerability is CVE-2024-48911?

CVE-2024-48911 is a command execution vulnerability that allows unauthorized users to modify configuration files.

5

Is CVE-2024-48911 present in OpenCanary installations?

Yes, CVE-2024-48911 is present in any OpenCanary installation using version 0.9.4 or earlier.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203