vendor:
FreeNAC
by:
Blake
N/A
CVSS
MEDIUM
SQL Injection and XSS
79
CWE
Product Name: FreeNAC
Affected Version From: 03.02
Affected Version To: 03.02
Patch Exists: YES
Related CWE:
CPE: a:freenac_project:freenac:3.02
Platforms Tested: Ubuntu 8.04
2012
FreeNAC version 3.02 SQL Injection and XSS Vulnerabilities
Multiple parameters in FreeNAC version 3.02 are vulnerable to reflective cross-site scripting. The affected parameters are comment, mac, graphtype, type, and name. An attacker can inject malicious scripts into these parameters, which can be executed in the user's browser. This can lead to various attacks such as stealing sensitive information, session hijacking, or defacing the website.
Mitigation:
To mitigate the XSS vulnerability, it is recommended to implement proper input validation and output encoding. Additionally, web application firewalls can be used to detect and block malicious script injection attempts. For the SQL Injection vulnerability, it is recommended to use parameterized queries or prepared statements to prevent unauthorized access to the database.