ID

VAR-202112-2524


CVE

CVE-2021-40041


TITLE

Huawei WS318n Cross-Site Scripting Vulnerability

Trust: 1.2

sources: CNVD: CNVD-2022-03906 // CNNVD: CNNVD-202112-2756

DESCRIPTION

There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing network settings. Due to insufficient validation of user input, a local authenticated attacker could exploit this vulnerability by injecting special characters. Successful exploit could cause certain information disclosure. Affected product versions include: WS318n-21 10.0.2.2, 10.0.2.5 and 10.0.2.6. HUAWEI WS318n Exists in a cross-site scripting vulnerability.Information may be obtained and information may be tampered with. The Huawei WS318n is a router from the Chinese company Huawei. An attacker could exploit this vulnerability to execute JavaScript code on the client side

Trust: 2.16

sources: NVD: CVE-2021-40041 // JVNDB: JVNDB-2021-017575 // CNVD: CNVD-2022-03906

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2022-03906

AFFECTED PRODUCTS

vendor:huaweimodel:ws318n-21scope:eqversion:10.0.2.2

Trust: 1.6

vendor:huaweimodel:ws318n-21scope:eqversion:10.0.2.5

Trust: 1.6

vendor:huaweimodel:ws318n-21scope:eqversion:10.0.2.6

Trust: 1.6

vendor:huaweimodel:ws318n-21scope:eqversion:ws318n-21 firmware 10.0.2.5

Trust: 0.8

vendor:huaweimodel:ws318n-21scope:eqversion:ws318n-21 firmware 10.0.2.2

Trust: 0.8

vendor:huaweimodel:ws318n-21scope:eqversion:ws318n-21 firmware 10.0.2.6

Trust: 0.8

vendor:huaweimodel:ws318n-21scope:eqversion: -

Trust: 0.8

sources: CNVD: CNVD-2022-03906 // JVNDB: JVNDB-2021-017575 // NVD: CVE-2021-40041

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-40041
value: MEDIUM

Trust: 1.0

NVD: CVE-2021-40041
value: MEDIUM

Trust: 0.8

CNVD: CNVD-2022-03906
value: LOW

Trust: 0.6

CNNVD: CNNVD-202112-2756
value: MEDIUM

Trust: 0.6

nvd@nist.gov: CVE-2021-40041
severity: LOW
baseScore: 1.9
vectorString: AV:L/AC:M/AU:N/C:N/I:P/A:N
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 3.4
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2022-03906
severity: LOW
baseScore: 1.9
vectorString: AV:L/AC:M/AU:N/C:N/I:P/A:N
accessVector: LOCAL
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 3.4
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2021-40041
baseSeverity: MEDIUM
baseScore: 4.2
vectorString: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: 1.1
impactScore: 2.7
version: 3.1

Trust: 1.0

NVD: CVE-2021-40041
baseSeverity: MEDIUM
baseScore: 4.2
vectorString: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: HIGH
userInteraction: REQUIRED
scope: CHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: NONE
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2022-03906 // JVNDB: JVNDB-2021-017575 // CNNVD: CNNVD-202112-2756 // NVD: CVE-2021-40041

PROBLEMTYPE DATA

problemtype:CWE-79

Trust: 1.0

problemtype:Cross-site scripting (CWE-79) [NVD evaluation ]

Trust: 0.8

sources: JVNDB: JVNDB-2021-017575 // NVD: CVE-2021-40041

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202112-2756

TYPE

XSS

Trust: 0.6

sources: CNNVD: CNNVD-202112-2756

PATCH

title:huawei-sa-20211229-01-xssurl:https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en

Trust: 0.8

title:Patch for Huawei WS318n Cross-Site Scripting Vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/313706

Trust: 0.6

title:Huawei WS318n Fixes for cross-site scripting vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=176501

Trust: 0.6

sources: CNVD: CNVD-2022-03906 // JVNDB: JVNDB-2021-017575 // CNNVD: CNNVD-202112-2756

EXTERNAL IDS

db:NVDid:CVE-2021-40041

Trust: 3.8

db:JVNDBid:JVNDB-2021-017575

Trust: 0.8

db:CNVDid:CNVD-2022-03906

Trust: 0.6

db:CS-HELPid:SB2021122912

Trust: 0.6

db:CNNVDid:CNNVD-202112-2756

Trust: 0.6

sources: CNVD: CNVD-2022-03906 // JVNDB: JVNDB-2021-017575 // CNNVD: CNNVD-202112-2756 // NVD: CVE-2021-40041

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2021-40041

Trust: 2.0

url:https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en

Trust: 1.6

url:https://www.huawei.com/cn/psirt/security-advisories/huawei-sa-20211229-01-xss-cn

Trust: 0.6

url:https://www.cybersecurity-help.cz/vdb/sb2021122912

Trust: 0.6

sources: CNVD: CNVD-2022-03906 // JVNDB: JVNDB-2021-017575 // CNNVD: CNNVD-202112-2756 // NVD: CVE-2021-40041

CREDITS

The vulnerability was discovered by an external security researcher

Trust: 0.6

sources: CNNVD: CNNVD-202112-2756

SOURCES

db:CNVDid:CNVD-2022-03906
db:JVNDBid:JVNDB-2021-017575
db:CNNVDid:CNNVD-202112-2756
db:NVDid:CVE-2021-40041

LAST UPDATE DATE

2024-11-23T22:40:37.988000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2022-03906date:2022-01-14T00:00:00
db:JVNDBid:JVNDB-2021-017575date:2023-01-27T02:20:00
db:CNNVDid:CNNVD-202112-2756date:2022-01-14T00:00:00
db:NVDid:CVE-2021-40041date:2024-11-21T06:23:26.723

SOURCES RELEASE DATE

db:CNVDid:CNVD-2022-03906date:2022-01-14T00:00:00
db:JVNDBid:JVNDB-2021-017575date:2023-01-27T00:00:00
db:CNNVDid:CNNVD-202112-2756date:2021-12-29T00:00:00
db:NVDid:CVE-2021-40041date:2022-01-10T14:10:23.123