Read the docs

Server-side request forgery in Apache StormCrawler robots.txt fetch

Priority LOW 22CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

Apache StormCrawler from 3.0.0 before 4.0.0 is affected. HttpRobotRulesParser follows redirects from a host's robots.txt for up to five hops without checking the scheme, host or port of the target, a server-side request forgery flaw (CWE-918). A crawled website can point the fetch at internal addresses such as loopback, private ranges or cloud metadata endpoints, and the okhttp protocol sends configured Authorization headers to the redirect target. An attacker who controls a crawled site needs no privileges, but the crawler must fetch that site.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

Description When StormCrawler fetches a host's `/robots.txt` and receives a redirect, `HttpRobotRulesParser` resolves the `Location` header and re-fetches the target for up to five hops. The loop checks neither the scheme, the host nor the port of the resolved target, and it is not governed by `http.allow.redirects`, which only affects the page fetch. A crawled site can therefore point the robots.txt fetch at any address reachable from the fetcher worker, including loopback interfaces, private ranges and cloud metadata endpoints. Every crawled URL triggers a robots.txt fetch on a cache miss, so no unusual configuration is required to reach the loop. The fetched body is only parsed as robots rules and is not returned to the caller, so the read itself is blind. The more direct impact is on credentials: the okhttp protocol applies its configured request headers, including the `Authorization` header built from `http.basicauth.user` and `http.basicauth.password` and anything in `http.custom.headers`, to every request it makes. Because StormCrawler follows the redirect itself and issues a new request, okhttp's own removal of the `Authorization` header across a host change does not apply, and the operator's crawl credentials are delivered to the host the redirect names. The connection-time IP filter, `http.filter.ipaddress.include` and `http.filter.ipaddress.exclude`, is installed as an okhttp network interceptor on the same client and does apply to these hops when it is configured. It ships with no rules, which is why the path is reachable in a default configuration. URL filtering never applies, because the robots.txt fetch does not pass through the outlink filter chain. Mitigation Upgrade to 4.0.0, where a robots.txt redirect is followed only when the target uses http or https and shares scheme, host and port with the URL it was reached from. Deployments that legitimately serve robots.txt through a cross-host redirect can restore the previous behaviour with `http.robots.redirect.crosshost.allow`. Users who cannot upgrade immediately should set `http.filter.ipaddress.exclude` to cover loopback, private, link-local and CGNAT ranges, which is enforced after DNS resolution and therefore also on redirect hops. Operators who configure `http.basicauth.*` or `http.custom.headers` for a crawl should assume those credentials may have been sent to third-party hosts and rotate them, and should scope credentials by running a separate topology per origin. Credit Independently reported to the Apache StormCrawler PMC by n0mi1k, with a proof of concept. Also found by the ASF -- using Claude agents to study the security of open-source projects, validated and reported by Apache StormCrawler.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00351 21st percentileScored 2026-11-30
Fix Fixed Apache StormCrawler (Apache Software Foundation): 4.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache StormCrawler3.0.0 to before 4.0.04.0.0Patch availableCNA
  • Apache StormCrawler VendorApache Affected 3.0.0 to before 4.0.0 Fixed in 4.0.0 Patch available CNA

Remediation

Upgrade to 4.0.0, which follows a robots.txt redirect only to http or https targets that share scheme, host and port with the URL it was reached from. If you cannot upgrade immediately, set http.filter.ipaddress.exclude to cover loopback, private, link-local and CGNAT ranges. Rotate the http.basicauth.user and http.basicauth.password values and any http.custom.headers credentials, since they may have been sent to third-party hosts.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA Apache StormCrawler (Apache Software Foundation) Fixed in 4.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache StormCrawler 4.0.0

    4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-97200 HostURLFilter in Apache StormCrawler silently disables domain scopingPriority MEDIUM 48
    • TI-2026-97202 Crawled content injects control metadata in Apache StormCrawlerPriority LOW 38
    • TI-2026-97201 Apache StormCrawler: Host-Only Cookies Sent to Any HostPriority LOW 23

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-82446
  2. 2026-11-24 Alias added: GHSA-2c5p-jfv7-5cr6
  3. 2026-11-25 CVSS score added · CISA ADP
  4. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
See all 4297 →

Sources