S4E just found a high top 10 tcp port service scan
critical·Network Vulnerabilities·Updated Feb 27, 2025

CVE-2024-56331 Scanner

CVE-2024-56331 Scanner - Local File Inclusion (LFI) vulnerability in Uptime Kuma

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
by S4E users
0
Assets Scanned
domains & IPs
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2024-56331
6.8
CVSSmedium
Exploitable remotely over the internet · low-privilege account sufficient · user interaction needed.

Uptime Kuma is an open source, self-hosted monitoring tool. An **Improper URL Handling Vulnerability** allows an attacker to access sensitive local files on the server by exploiting the `file:///` protocol. This vulnerability is triggered via the **"real-browser"** request type, which takes a screenshot of the URL provided by the attacker. By supplying local file paths, such as `file:///etc/passwd`, an attacker can read sensitive data from the server. This vulnerability arises because the system does not properly validate or sanitize the user input for the URL field. Specifically: 1. The URL input (`<input data-v-5f5c86d7="" id="url" type="url" class="form-control" pattern="https?://.+" required="">`) allows users to input arbitrary file paths, including those using the `file:///` protocol, without server-side validation. 2. The server then uses the user-provided URL to make a request, passing it to a browser instance that performs the "real-browser" request, which takes a screenshot of the content at the given URL. If a local file path is entered (e.g., `file:///etc/passwd`), the browser fetches and captures the file’s content. Since the user input is not validated, an attacker can manipulate the URL to request local files (e.g., `file:///etc/passwd`), and the system will capture a screenshot of the file's content, potentially exposing sensitive data. Any **authenticated user** who can submit a URL in "real-browser" mode is at risk of exposing sensitive data through screenshots of these files. This issue has been addressed in version 1.23.16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Attack Vector
Network
Privileges Req.
Low
User Interaction
Required
Affected
uptime-kumaby louislam
>= 1.23.0, < 1.23.16
Updated Aug 18, 2026View on NVD →
Detail

Uptime Kuma is an open-source monitoring tool widely used by developers, system administrators, and DevOps engineers to monitor the uptime and availability of services. It provides customizable monitoring with real-time notifications and supports multiple protocols including HTTP(s), TCP, and ping. The platform is known for its modern user interface and ease of deployment in both self-hosted and cloud-based environments. Uptime Kuma is commonly integrated into CI/CD pipelines or internal monitoring systems for visibility into service health. Organizations prefer it for its open-source nature and community-driven development. It is often deployed on private servers or within internal networks for security monitoring.

The scanner targets a Local File Inclusion (LFI) vulnerability in Uptime Kuma. This flaw arises from improper URL handling in the "real-browser" feature, allowing malicious users to load local files via crafted URLs. The vulnerability can be exploited using the `file:///` scheme to access sensitive system files such as `/etc/passwd`. It is considered a critical issue due to the ease of exploitation and the potential for information disclosure. LFI vulnerabilities like this one may lead to full system compromise when chained with other bugs. It requires authentication but can be exploited via standard WebSocket connections. The issue is patched in version 1.23.16.

Technically, the vulnerability resides in how the "real-browser" feature processes user-supplied URLs. By sending WebSocket requests with the `file:///` prefix, attackers can trick the application into generating screenshots of arbitrary local files. The server fails to validate the supplied URLs, directly processing requests pointing to local paths. This vulnerability is triggered via a crafted WebSocket message using the `add` method with a target pointing to sensitive files like `/etc/passwd`. The attacker must be authenticated but does not require elevated privileges. The flaw can be confirmed by checking the response message confirming the successful addition of a malicious request. A sample matcher looks for the confirmation string in the application's response.

If exploited, attackers may gain unauthorized access to sensitive local files, including password configurations, SSH keys, or application secrets. This can lead to further compromise of the host system, including privilege escalation or lateral movement. Information disclosure may be used to assist in more targeted attacks. In shared hosting environments, other tenants may also be affected. It increases the attack surface significantly, especially in exposed internal tools. The impact may vary based on the permissions of the running service.

REFERENCES

Solution Advice
  • Upgrade Uptime Kuma to version 1.23.16 or later where the vulnerability is patched.
  • Restrict access to the real-browser feature to trusted users only.
  • Monitor WebSocket requests for abnormal `file:///` usage.
  • Deploy Web Application Firewalls (WAFs) with rules preventing local path traversal attempts.
  • Harden the server environment by minimizing readable sensitive files for the Uptime Kuma process.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.