Skip to content
CVE-2026-134624 Elastic Security · Elastic

Detect N-able MailAssure (SpamExperts) SSRF Exploitation (CVE-2026-134624) in Elastic Security

Detects exploitation attempts against CVE-2026-134624, a server-side request forgery (SSRF, CWE-918) vulnerability in N-able MailAssure (SpamExperts) affecting versions prior to 20261121.1943. The flaw is in the LDAP synchronization connection check that MailAssure runs when a relay is configured. An authenticated API user can cause the server to connect to arbitrary internal hosts and ports, determine which are reachable, and send crafted data to internal services. This vulnerability is listed in the CISA Known Exploited Vulnerabilities catalog. These analytics identify SSRF indicators in MailAssure web/proxy telemetry: inbound requests carrying URL/host parameters pointing at private or link-local address ranges, and anomalous outbound connections initiated by the MailAssure host toward internal RFC1918 ranges or cloud metadata services.

MITRE ATT&CK

Tactic
Discovery Collection Reconnaissance

Elastic Detection Query

Elastic Security (Elastic)
eql
// df00tech DF00-22c3796247 · https://df00tech.com/detections/CVE-2026-134624 · licence: https://df00tech.com/detections/licence
any where event.category == "web" and
  (url.path like~ "*mailassure*" or url.path like~ "*spamexperts*" or url.path like~ "*/api/*") and
  url.query != null and
  url.query regex~ """.*(url|uri|target|host|dest|redirect|callback|proxy|feed|fetch|src|path)=.*""" and
  url.query regex~ """.*(10\.|127\.|169\.254\.|192\.168\.|172\.(1[6-9]|2[0-9]|3[0-1])\.).*"""
high severity medium confidence

Elastic EQL rule matching MailAssure web events whose query string contains an SSRF parameter pointing at a private or link-local address.

Data Sources

Web Server LogsElastic Filebeat

Required Tables

logs-*filebeat-*

False Positives & Tuning

  • Internal scanners probing the appliance with SSRF payloads
  • Configured internal feed integrations
  • Security testing activity against the mail gateway

Other platforms for CVE-2026-134624


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 SSRF parameter targeting internal RFC1918 address

    Expected signal: Web access log entry with a url= parameter resolving to an RFC1918 address on the MailAssure host.

  2. Test 2 SSRF parameter targeting cloud metadata endpoint

    Expected signal: Web access log entry containing target=http://169.254.169.254 against the MailAssure endpoint.

  3. Test 3 URL-encoded SSRF payload bypassing naive filters

    Expected signal: Web access log entry with a URL-encoded uri= parameter that decodes to a loopback address.


Response Playbook

Triage

  1. Confirm the MailAssure (SpamExperts) instance version; if below 20261121.1943 it is vulnerable to CVE-2026-134624 and should be treated as exploitable per the CISA KEV listing.
  2. Decode the suspicious URL/host parameter from the inbound request and determine the SSRF target, note whether it points at an RFC1918 range, loopback, 169.254.169.254 link-local metadata, or an external attacker host.
  3. Correlate the inbound SSRF request timestamp with outbound connections initiated by the MailAssure host to identify whether the server-side request actually fired and what internal endpoint it reached.
  4. Review the HTTP response status and size returned to the client to assess whether internal content or metadata was successfully exfiltrated.

Containment

  1. Apply the N-able MailAssure update to version 20261121.1943 or later to remediate the SSRF flaw.
  2. If immediate patching is not possible, restrict egress from the MailAssure host with a firewall allowlist so it can only reach required mail infrastructure, and block access to 169.254.169.254 and unneeded RFC1918 destinations.
  3. Block the identified attacker source IP(s) at the perimeter and invalidate any sessions or credentials potentially exposed via SSRF-retrieved metadata.

Evidence Collection

  1. Preserve MailAssure web/proxy access logs covering the inbound SSRF requests, including full query strings and user agents.
  2. Capture host-level outbound connection logs and any network flow records showing server-initiated requests to internal or metadata endpoints.
  3. Export the relevant SIEM search results and retain the decoded SSRF payloads for the incident record.

Escalation Criteria

  • !Escalate to incident response if outbound connections from the MailAssure host to 169.254.169.254 or internal services correlate with inbound SSRF requests, indicating successful exploitation.
  • !Escalate if cloud instance metadata or internal credentials appear to have been retrieved, triggering credential rotation and broader compromise assessment.

Investigation Guide

Forensic Artifacts

  • >MailAssure web/proxy access logs containing URL/host parameters pointing at internal addresses
  • >Host outbound connection and netflow records showing server-initiated requests to RFC1918 or link-local targets
  • >Application error or debug logs on the MailAssure host revealing fetched URL contents

Tuning Guidance

Baseline legitimate internal destinations the MailAssure host is expected to contact (internal mail relays, configured feed sources) and allowlist them in the outbound-connection analytics to reduce noise. Tighten the inbound URL-parameter list to the specific parameters MailAssure actually exposes once identified from access-log review, and exclude known internal scanner source IPs. Raise confidence to high when an inbound SSRF request correlates with a matching outbound server-initiated connection within a short time window.


Hunting Queries

Hunts specifically for SSRF attempts aimed at cloud instance metadata endpoints via MailAssure URL parameters.

Hunting — KQL
kql
// df00tech DF00-22c3796247 · https://df00tech.com/detections/CVE-2026-134624 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csHost has_any ("mailassure", "spamexperts") | extend decodedQuery = url_decode(csUriQuery) | where decodedQuery matches regex @"(?i)(url|uri|target|host)=.*(169\.254\.169\.254|metadata)" | project TimeGenerated, cIP, csHost, csUriStem, decodedQuery
Hunting — SPL
spl
``` df00tech DF00-22c3796247 · https://df00tech.com/detections/CVE-2026-134624 · licence: https://df00tech.com/detections/licence ```
index=web (host="*mailassure*" OR host="*spamexperts*") | eval decoded=urldecode(uri_query) | where match(decoded, "(?i)(url|uri|target|host)=.*(169\.254\.169\.254|metadata)") | table _time, src_ip, host, uri_path, decoded

Atomic Red Team Tests

Test 1 SSRF parameter targeting internal RFC1918 address
linux

Simulates an SSRF attempt against a MailAssure-style endpoint with a URL parameter pointing at an internal private address.

Command

bash
curl -s -o /dev/null -w '%{http_code}' 'https://mailassure.lab.local/api/fetch?url=http://192.168.0.10:8080/admin'

Cleanup

bash
echo 'No cleanup required; stateless HTTP request.'

Expected Telemetry

Web access log entry with a url= parameter resolving to an RFC1918 address on the MailAssure host.

Expected Detection

The kql/spl analytics match the private-range URL parameter in the inbound request.

Test 2 SSRF parameter targeting cloud metadata endpoint
linux

Simulates an SSRF attempt aimed at the cloud instance metadata service via a MailAssure URL parameter.

Command

bash
curl -s -o /dev/null -w '%{http_code}' 'https://mailassure.lab.local/api/fetch?target=http://169.254.169.254/latest/meta-data/'

Cleanup

bash
echo 'No cleanup required; stateless HTTP request.'

Expected Telemetry

Web access log entry containing target=http://169.254.169.254 against the MailAssure endpoint.

Expected Detection

The metadata-focused hunting query and primary analytics flag the 169.254.169.254 target.

Test 3 URL-encoded SSRF payload bypassing naive filters
linux

Simulates an SSRF attempt using URL-encoding of the internal target to test decoding in the detection pipeline.

Command

bash
curl -s -o /dev/null -w '%{http_code}' 'https://mailassure.lab.local/api/fetch?uri=http%3A%2F%2F127.0.0.1%2Finternal'

Cleanup

bash
echo 'No cleanup required; stateless HTTP request.'

Expected Telemetry

Web access log entry with a URL-encoded uri= parameter that decodes to a loopback address.

Expected Detection

The analytics url_decode/urldecode step reveals 127.0.0.1 and the rule matches on the loopback range.

Related Detections