> Source: [sk183025](https://support.checkpoint.com/results/sk/sk183025)

# sk183025 - CGI Generic HTML Injections vulnerability on Spark Firewall

| Property | Value |
|----------|-------|
| Solution ID | sk183025 |
| Date Created | 2025-01-27 |
| Last Modified | 2026-01-21 |
| Technical Level | Advanced |
| Products | Spark Firewall (Locally Managed) |
| Versions | R81.10.X |

## Symptoms

- * Sample report snippet from the Tenable scanner. It refers to CWE #80 and CWE #86.

  > `Using the GET HTTP method, Nessus found that :`  
  > `
  > + The following resources may be vulnerable to HTML injection :`  
  > `
  > + The 'url' parameter of the /hotspot/PortalMain CGI :`  
  > `
  > /hotspot/PortalMain?url=<"rwncxb%0A>`  
  > `
  > -------- output --------`  
  > `
  > Server: "Spark appliance name" `  
  > `
  > Strict-Transport-Security: max-age=31536000; includeSubDomains`  
  > `
  > Location: http://"Spark appliance interface IP"/hotspot/PortalMain?url=http%3a%2f%2f"Spark appliance interface IP":63448%2fhotspot%2fPortalMain&url=http%3a%2f%2f"Spark appliance interface IP":
  > 63448%2fhotspot%2fPortalMain&url=http%3a%2f%2f"Spark appliance interface IP":63448%2fhot
  > spot%2fPortalMain&url=<"rwncxb%0A>`  
  > `
  > Content-Length: 447`  
  > `
  > Connection: close`  
  > `
  > ------------------------
  > Clicking directly on these URLs should exhibit the issue :`  
  > `
  > (you will probably need to read the HTML source)`  
  > `
  > http://"Spark appliance interface IP":63448/hotspot/PortalMain?url=<"rwncxb%0A> `
* Disabling the Hotspot portal on the Quantum Spark WebUI does not resolve the issue.

  .

## Cause

On Quantum Spark appliances running version R81.10.10, we discovered that the Hotspot portal used for authentication after connecting to Wi-Fi, is vulnerable to the Open Redirect vulnerability via the "url" parameter in the hotspot URL "/hotspot/PortalMain?url=xxx".

It is also possible to inject an XSS payload using the format "javascript:\<function\>":

<br />

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
