CVE-2021-44667 Cross-site Scripting in Nacos
An attacker can inject malicious scripts via pageSize and pageNo parameters in Nacos auth/users, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-44667?
CVE-2021-44667 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Cross Site Scripting (XSS) vulnerability exists in Nacos 2.0.3 in auth/users via the (1) pageSize and (2) pageNo parameters.
Weakness: CWE-79
Which versions are affected by CVE-2021-44667?
4 open source packages ship an affected version, including com.alibaba.nacos:nacos-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.alibaba.nacos:nacos-common Maven | All versions | 1.4.5 |
com.alibaba.nacos:nacos-common Maven | All versions | 1.4.5 |
com.alibaba.nacos:nacos-common Maven | From 2.0.0-ALPHA.1 | 2.1.0-BETA |
com.alibaba.nacos:nacos-common Maven | From 2.0.0-ALPHA.1 | 2.1.0-BETA |
Products include Alibaba Nacos.
How do I fix CVE-2021-44667?
Upgrade com.alibaba.nacos:nacos-common to a fixed version for your release line: 1.4.5 or 2.1.0-BETA.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-44667 being exploited?
There is no known exploitation of CVE-2021-44667 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4gr7-qw2q-jxh6.