Skip to content

πŸ›‘οΈ Sentinel: [CRITICAL] Fix SSRF bypass via ISATAP tunneling#75

Merged
manupawickramasinghe merged 1 commit into
mainfrom
sentinel-ssrf-isatap-13349946982675809614
May 13, 2026
Merged

πŸ›‘οΈ Sentinel: [CRITICAL] Fix SSRF bypass via ISATAP tunneling#75
manupawickramasinghe merged 1 commit into
mainfrom
sentinel-ssrf-isatap-13349946982675809614

Conversation

@ManupaKDU
Copy link
Copy Markdown
Contributor

🚨 Severity: CRITICAL
πŸ’‘ Vulnerability: The Python ipaddress module evaluates ISATAP addresses (e.g., 2001:db8::5efe:127.0.0.1) as globally routable (is_global=True) and does not natively expose or validate the encapsulated IPv4 payload. This allows an attacker to bypass standard SSRF filters by wrapping private or loopback IPv4 addresses in an ISATAP IPv6 structure.
🎯 Impact: Attackers could scan and interact with internal network resources (like 127.0.0.1 or 192.168.x.x) that are meant to be protected by the SSRF filter.
πŸ”§ Fix: Manually identify ISATAP identifiers (0000:5EFE or 0200:5EFE) within the 64-bit interface identifier of an IPv6 address using bitwise operations, extract the embedded 32-bit IPv4 address, and validate it against the existing SSRF blocklist rules.
βœ… Verification: Verified by running the unit test suite (python3 -m unittest test_testping1.py), which includes a new test test_is_reachable_ssrf_bypass_isatap that confirms ISATAP payloads are properly blocked.


PR created automatically by Jules for task 13349946982675809614 started by @ManupaKDU

🚨 Severity: CRITICAL
πŸ’‘ Vulnerability: The Python `ipaddress` module evaluates ISATAP addresses (e.g., `2001:db8::5efe:127.0.0.1`) as globally routable (`is_global=True`) and does not natively expose or validate the encapsulated IPv4 payload. This allows an attacker to bypass standard SSRF filters by wrapping private or loopback IPv4 addresses in an ISATAP IPv6 structure.
🎯 Impact: Attackers could scan and interact with internal network resources (like 127.0.0.1 or 192.168.x.x) that are meant to be protected by the SSRF filter.
πŸ”§ Fix: Manually identify ISATAP identifiers (`0000:5EFE` or `0200:5EFE`) within the 64-bit interface identifier of an IPv6 address using bitwise operations, extract the embedded 32-bit IPv4 address, and validate it against the existing SSRF blocklist rules.
βœ… Verification: Verified by running the unit test suite (`python3 -m unittest test_testping1.py`), which includes a new test `test_is_reachable_ssrf_bypass_isatap` that confirms ISATAP payloads are properly blocked.

Co-authored-by: ManupaKDU <95234271+ManupaKDU@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@manupawickramasinghe manupawickramasinghe merged commit 4ea37f9 into main May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants