Algernon
cpe:2.3:a:algernon_project:algernon:*:*:*:*:*:*:*
- <= 1.17.6
A vulnerability in Algernon web server versions prior to 1.17.7 allows the Server-Sent Events (SSE) event server to bind to all network interfaces by default on Linux and macOS. This issue arises because the default host setting for non-Windows platforms is empty, causing the server to listen on every interface. As a result, a LAN peer can connect and access the file-change stream without any developer interaction. In contrast, the default behavior on Windows is to bind only to the loopback interface, providing a safer option.
This vulnerability leads to unauthorized access to the SSE event stream, disclosing filenames and edit timings of files being monitored, such as secret notes and environment variables, to any peer on the same local network.
To reproduce this vulnerability, run Algernon version 1.17.6 or earlier on a Linux or macOS system. The SSE event server will automatically bind to 0.0.0.0:5553, making it accessible from any device on the same local network. A simple curl command can then be used to connect to the SSE server and receive the file-change stream.
Users can update to Algernon version 1.17.7 or later, where this vulnerability is fixed. Alternatively, the default event address can be manually set to 'localhost' to prevent external access.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.