Skip to main content
Vulnerability Database/CVE-2026-112299

CVE-2026-112299: smrealms smr SSRF Vulnerability

CVE-2026-112299 is a server-side request forgery vulnerability in smrealms smr Album Website component that enables remote attackers to manipulate server requests. This article covers technical details, impact analysis, and patching guidance.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112299 Overview

CVE-2026-112299 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in the SMRealms SMR project, a browser-based space trading game. The flaw resides in the isUrlReachable function within src/pages/Account/AlbumEditProcessor.php of the Album Website component. An authenticated attacker can manipulate the Website argument to force the server to issue arbitrary HTTP requests to attacker-chosen URLs. The vulnerability affects the rolling release of SMRealms SMR up to commit f40380c017bc35cd8db6ffdb9d4e78bf65b9d43d. The exploit has been publicly disclosed. The upstream maintainers responded promptly and released fix commit cb402e7f4e70b617b59d8c55dbe926b951ceb4a8.

Critical Impact

An authenticated remote attacker can abuse the album website field to make the SMR server send HTTP requests to internal network resources, enabling internal reconnaissance and interaction with services otherwise unreachable from the public internet.

Affected Products

  • SMRealms SMR (rolling release) up to commit f40380c017bc35cd8db6ffdb9d4e78bf65b9d43d
  • Album Website component (src/pages/Account/AlbumEditProcessor.php)
  • Deployments that have not applied patch commit cb402e7f4e70b617b59d8c55dbe926b951ceb4a8

Discovery Timeline

  • 2026-10-19 - CVE-2026-112299 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-112299

Vulnerability Analysis

The SMR Album feature allows authenticated players to associate a personal website URL with their profile album entry. The AlbumEditProcessor.php processor validated the submitted URL through a helper named isUrlReachable, which issued an HTTP request using cURL against the user-supplied value. Because the URL was passed directly to curl_init without scheme filtering, host allow-listing, or blocking of private and loopback address ranges, an attacker could point the request at internal targets. Typical SSRF abuse patterns include probing 127.0.0.1, 169.254.169.254 cloud metadata endpoints, or internal 10.0.0.0/8 services. The response status class drove the function's return value, giving attackers a boolean oracle for internal service availability.

The associated patch also removes an unrelated reflected cross-site scripting issue by passing the website value through htmlentities before rendering it inside an anchor tag.

Root Cause

The root cause is unvalidated user input flowing into an outbound HTTP client [CWE-918]. The isUrlReachable function accepted any string as a URL and executed curl_exec with CURLOPT_NOBODY and a five-second timeout. No validation enforced the scheme, resolved the hostname, or rejected private IP space before the request was issued.

Attack Vector

Exploitation requires an authenticated account on the SMR instance and network reachability to the Album edit endpoint. The attacker submits an album edit form with the Website field set to an internal URL. The server dispatches the request on the attacker's behalf and exposes reachability through the processor's control flow.

php
// Removed in patch cb402e7f4e70b617b59d8c55dbe926b951ceb4a8
// src/pages/Account/AlbumEditProcessor.php
function isUrlReachable(string $url): bool {
    $ch = curl_init($url);
    if ($ch === false) {
        throw new Exception('Failed to initialize curl');
    }
    curl_setopt_array($ch, [
        CURLOPT_HEADER => true,
        CURLOPT_NOBODY => true, // headers only
        CURLOPT_RETURNTRANSFER => true, // don't print output
        CURLOPT_TIMEOUT => 5, // in seconds
    ]);
    curl_exec($ch);
    $statusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

    $statusClass = IFloor($statusCode / 100);
    return $statusClass === 2 || $statusClass === 3;
}

Source: GitHub Commit cb402e7. The patch deletes the entire isUrlReachable reachability check, eliminating the outbound request made from user-supplied input.

Detection Methods for CVE-2026-112299

Indicators of Compromise

  • Outbound HTTP requests originating from the SMR PHP worker process to RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or 127.0.0.0/8.
  • Requests from the SMR host to cloud metadata endpoints such as 169.254.169.254 or metadata.google.internal.
  • Repeated POSTs to the Album edit processor with varying Website form values from a single authenticated session.
  • Web server logs showing successive album edits followed by anomalous egress connection attempts within the five-second cURL timeout window.

Detection Strategies

  • Instrument the PHP-FPM or web worker with egress monitoring that logs destination IP, port, and process context for every outbound socket.
  • Add web application firewall (WAF) rules that inspect the Website parameter on the Album edit endpoint for private IP literals, file://, gopher://, and other non-HTTP schemes.
  • Correlate authenticated session identifiers with outbound request volume to flag accounts generating disproportionate server-side HTTP traffic.

Monitoring Recommendations

  • Forward web server access logs and host firewall egress logs to a central analytics tier for correlation across authentication, application, and network layers.
  • Alert on any outbound connection from the SMR application host to link-local or metadata service addresses.
  • Review Git history on deployed instances to confirm whether commit cb402e7f4e70b617b59d8c55dbe926b951ceb4a8 is present.

How to Mitigate CVE-2026-112299

Immediate Actions Required

  • Pull the latest SMRealms SMR rolling release and confirm commit cb402e7f4e70b617b59d8c55dbe926b951ceb4a8 is applied.
  • Restrict outbound network access from the SMR application host to only the destinations required for normal operation.
  • Audit recent album edits for suspicious Website values pointing at internal or metadata addresses.

Patch Information

The fix is delivered in commit cb402e7f4e70b617b59d8c55dbe926b951ceb4a8, merged via Pull Request #2579. The patch removes the server-side reachability probe entirely and HTML-encodes the website value before rendering it. Additional context is available in the VulDB entry for CVE-2026-112299.

Workarounds

  • Block the Album edit endpoint at the reverse proxy until the patch is deployed.
  • Enforce an egress firewall policy on the SMR host denying traffic to RFC1918, loopback, and cloud metadata ranges.
  • Temporarily disable user profile website submission by stripping the Website parameter at the proxy layer.
bash
# Example egress restriction using iptables to block SSRF targets
iptables -A OUTPUT -m owner --uid-owner www-data -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 169.254.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.