VYPR
Unrated severityOSV Advisory· Published Apr 18, 2018· Updated Aug 5, 2024

CVE-2018-1000163

CVE-2018-1000163

Description

Floodlight version 1.2 and earlier contains a Cross Site Scripting (XSS) vulnerability in the web console that can result in javascript injections into the web page. This attack appears to be exploitable via the victim browsing the web console.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Floodlight 1.2 and earlier has an XSS vulnerability in the web console via the manufacturerDescription field, allowing JavaScript injection when administrators view the console.

Vulnerability

Floodlight SDN controller version 1.2 and earlier contains a stored cross-site scripting (XSS) vulnerability in the web console. The software does not sanitize the manufacturerDescription field received from OpenFlow switches. In net/floodlightcontroller/core/SwitchDescription.java:77-89, the SwitchDescription constructor directly assigns the manufacturer description from the OpenFlow OFDescStatsReply without validation. Later, in the web console (ui/js/models/switchmodel.js:35-42), this field is displayed without escaping, allowing arbitrary HTML and JavaScript to be injected [1].

Exploitation

An attacker must control or compromise an OpenFlow switch capable of sending crafted OFDescStatsReply messages with malicious JavaScript in the manufacturerDescription field. When an administrator browses the Floodlight web console and views the switch list or details, the injected script executes in the context of the administrator's session. No prior authentication is required from the attacker if they can send OpenFlow messages to the controller, which is typical for switches in the network [1].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the administrator's browser. This can lead to session hijacking, defacement, or redirection to malicious sites. Depending on the administrator's privileges, the attacker may also perform actions on the controller via API calls, potentially compromising the entire SDN network [1].

Mitigation

As of the publication date (2018-04-18), no official patch was available. The vulnerability exists in Floodlight v1.2 and earlier. Users should upgrade to a version with proper input validation and output encoding. A workaround is to restrict access to the Floodlight web console to trusted administrators only and avoid exposing it to untrusted networks. The issue should be fixed by sanitizing the manufacturerDescription field upon receipt and escaping output in the web console [1].

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • floodlight/FloodlightOSV2 versions
    v0.8, v0.85, v0.90, …+ 1 more
    • (no CPE)range: v0.8, v0.85, v0.90, …
    • (no CPE)range: <=1.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.