Search

Find a vulnerability

Search criteria

    1 vulnerability found for ws318n-21 by huawei

    VAR-202112-2524

    Vulnerability from variot - Updated: 2024-11-23 22:40

    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

    Show details on source website

    {
      "@context": {
        "@vocab": "https://www.variotdbs.pl/ref/VARIoTentry#",
        "affected_products": {
          "@id": "https://www.variotdbs.pl/ref/affected_products"
        },
        "configurations": {
          "@id": "https://www.variotdbs.pl/ref/configurations"
        },
        "credits": {
          "@id": "https://www.variotdbs.pl/ref/credits"
        },
        "cvss": {
          "@id": "https://www.variotdbs.pl/ref/cvss/"
        },
        "description": {
          "@id": "https://www.variotdbs.pl/ref/description/"
        },
        "exploit_availability": {
          "@id": "https://www.variotdbs.pl/ref/exploit_availability/"
        },
        "external_ids": {
          "@id": "https://www.variotdbs.pl/ref/external_ids/"
        },
        "iot": {
          "@id": "https://www.variotdbs.pl/ref/iot/"
        },
        "iot_taxonomy": {
          "@id": "https://www.variotdbs.pl/ref/iot_taxonomy/"
        },
        "patch": {
          "@id": "https://www.variotdbs.pl/ref/patch/"
        },
        "problemtype_data": {
          "@id": "https://www.variotdbs.pl/ref/problemtype_data/"
        },
        "references": {
          "@id": "https://www.variotdbs.pl/ref/references/"
        },
        "sources": {
          "@id": "https://www.variotdbs.pl/ref/sources/"
        },
        "sources_release_date": {
          "@id": "https://www.variotdbs.pl/ref/sources_release_date/"
        },
        "sources_update_date": {
          "@id": "https://www.variotdbs.pl/ref/sources_update_date/"
        },
        "threat_type": {
          "@id": "https://www.variotdbs.pl/ref/threat_type/"
        },
        "title": {
          "@id": "https://www.variotdbs.pl/ref/title/"
        },
        "type": {
          "@id": "https://www.variotdbs.pl/ref/type/"
        }
      },
      "@id": "https://www.variotdbs.pl/vuln/VAR-202112-2524",
      "affected_products": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/affected_products#",
          "data": {
            "@container": "@list"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            },
            "@id": "https://www.variotdbs.pl/ref/sources"
          }
        },
        "data": [
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 1.6,
            "vendor": "huawei",
            "version": "10.0.2.2"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 1.6,
            "vendor": "huawei",
            "version": "10.0.2.5"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 1.6,
            "vendor": "huawei",
            "version": "10.0.2.6"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 0.8,
            "vendor": "huawei",
            "version": "ws318n-21  firmware  10.0.2.5"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 0.8,
            "vendor": "huawei",
            "version": "ws318n-21  firmware  10.0.2.2"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 0.8,
            "vendor": "huawei",
            "version": "ws318n-21  firmware  10.0.2.6"
          },
          {
            "model": "ws318n-21",
            "scope": "eq",
            "trust": 0.8,
            "vendor": "huawei",
            "version": null
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "credits": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/credits#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": "The vulnerability was discovered by an external security researcher",
        "sources": [
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          }
        ],
        "trust": 0.6
      },
      "cve": "CVE-2021-40041",
      "cvss": {
        "@context": {
          "cvssV2": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV2#"
            },
            "@id": "https://www.variotdbs.pl/ref/cvss/cvssV2"
          },
          "cvssV3": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV3#"
            },
            "@id": "https://www.variotdbs.pl/ref/cvss/cvssV3/"
          },
          "severity": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/cvss/severity#"
            },
            "@id": "https://www.variotdbs.pl/ref/cvss/severity"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            },
            "@id": "https://www.variotdbs.pl/ref/sources"
          }
        },
        "data": [
          {
            "cvssV2": [
              {
                "accessComplexity": "MEDIUM",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "author": "nvd@nist.gov",
                "availabilityImpact": "NONE",
                "baseScore": 1.9,
                "confidentialityImpact": "NONE",
                "exploitabilityScore": 3.4,
                "id": "CVE-2021-40041",
                "impactScore": 2.9,
                "integrityImpact": "PARTIAL",
                "severity": "LOW",
                "trust": 1.8,
                "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:N",
                "version": "2.0"
              },
              {
                "accessComplexity": "MEDIUM",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "author": "CNVD",
                "availabilityImpact": "NONE",
                "baseScore": 1.9,
                "confidentialityImpact": "NONE",
                "exploitabilityScore": 3.4,
                "id": "CNVD-2022-03906",
                "impactScore": 2.9,
                "integrityImpact": "PARTIAL",
                "severity": "LOW",
                "trust": 0.6,
                "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:N",
                "version": "2.0"
              }
            ],
            "cvssV3": [
              {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "author": "nvd@nist.gov",
                "availabilityImpact": "NONE",
                "baseScore": 4.2,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "exploitabilityScore": 1.1,
                "id": "CVE-2021-40041",
                "impactScore": 2.7,
                "integrityImpact": "LOW",
                "privilegesRequired": "HIGH",
                "scope": "CHANGED",
                "trust": 1.0,
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              {
                "attackComplexity": "Low",
                "attackVector": "Local",
                "author": "NVD",
                "availabilityImpact": "None",
                "baseScore": 4.2,
                "baseSeverity": "Medium",
                "confidentialityImpact": "Low",
                "exploitabilityScore": null,
                "id": "CVE-2021-40041",
                "impactScore": null,
                "integrityImpact": "Low",
                "privilegesRequired": "High",
                "scope": "Changed",
                "trust": 0.8,
                "userInteraction": "Required",
                "vectorString": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.0"
              }
            ],
            "severity": [
              {
                "author": "nvd@nist.gov",
                "id": "CVE-2021-40041",
                "trust": 1.0,
                "value": "MEDIUM"
              },
              {
                "author": "NVD",
                "id": "CVE-2021-40041",
                "trust": 0.8,
                "value": "Medium"
              },
              {
                "author": "CNVD",
                "id": "CNVD-2022-03906",
                "trust": 0.6,
                "value": "LOW"
              },
              {
                "author": "CNNVD",
                "id": "CNNVD-202112-2756",
                "trust": 0.6,
                "value": "MEDIUM"
              }
            ]
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "description": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/description#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": "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",
        "sources": [
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          }
        ],
        "trust": 2.16
      },
      "external_ids": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/external_ids#",
          "data": {
            "@container": "@list"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": [
          {
            "db": "NVD",
            "id": "CVE-2021-40041",
            "trust": 3.8
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575",
            "trust": 0.8
          },
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906",
            "trust": 0.6
          },
          {
            "db": "CS-HELP",
            "id": "SB2021122912",
            "trust": 0.6
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756",
            "trust": 0.6
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "id": "VAR-202112-2524",
      "iot": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/iot#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": true,
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          }
        ],
        "trust": 1.35
      },
      "iot_taxonomy": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/iot_taxonomy#",
          "data": {
            "@container": "@list"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": [
          {
            "category": [
              "Network device"
            ],
            "sub_category": null,
            "trust": 0.6
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          }
        ]
      },
      "last_update_date": "2024-11-23T22:40:37.988000Z",
      "patch": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/patch#",
          "data": {
            "@container": "@list"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": [
          {
            "title": "huawei-sa-20211229-01-xss",
            "trust": 0.8,
            "url": "https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en"
          },
          {
            "title": "Patch for Huawei WS318n Cross-Site Scripting Vulnerability",
            "trust": 0.6,
            "url": "https://www.cnvd.org.cn/patchInfo/show/313706"
          },
          {
            "title": "Huawei WS318n Fixes for cross-site scripting vulnerabilities",
            "trust": 0.6,
            "url": "http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=176501"
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          }
        ]
      },
      "problemtype_data": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/problemtype_data#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": [
          {
            "problemtype": "CWE-79",
            "trust": 1.0
          },
          {
            "problemtype": "Cross-site scripting (CWE-79) [NVD evaluation ]",
            "trust": 0.8
          }
        ],
        "sources": [
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "references": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/references#",
          "data": {
            "@container": "@list"
          },
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": [
          {
            "trust": 2.0,
            "url": "https://nvd.nist.gov/vuln/detail/cve-2021-40041"
          },
          {
            "trust": 1.6,
            "url": "https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en"
          },
          {
            "trust": 0.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"
          }
        ],
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "sources": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#",
          "data": {
            "@container": "@list"
          }
        },
        "data": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "sources_release_date": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources_release_date#",
          "data": {
            "@container": "@list"
          }
        },
        "data": [
          {
            "date": "2022-01-14T00:00:00",
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "date": "2023-01-27T00:00:00",
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "date": "2021-12-29T00:00:00",
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "date": "2022-01-10T14:10:23.123000",
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "sources_update_date": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources_update_date#",
          "data": {
            "@container": "@list"
          }
        },
        "data": [
          {
            "date": "2022-01-14T00:00:00",
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "date": "2023-01-27T02:20:00",
            "db": "JVNDB",
            "id": "JVNDB-2021-017575"
          },
          {
            "date": "2022-01-14T00:00:00",
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          },
          {
            "date": "2024-11-21T06:23:26.723000",
            "db": "NVD",
            "id": "CVE-2021-40041"
          }
        ]
      },
      "threat_type": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/threat_type#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": "local",
        "sources": [
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          }
        ],
        "trust": 0.6
      },
      "title": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/title#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": "Huawei WS318n Cross-Site Scripting Vulnerability",
        "sources": [
          {
            "db": "CNVD",
            "id": "CNVD-2022-03906"
          },
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          }
        ],
        "trust": 1.2
      },
      "type": {
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/type#",
          "sources": {
            "@container": "@list",
            "@context": {
              "@vocab": "https://www.variotdbs.pl/ref/sources#"
            }
          }
        },
        "data": "XSS",
        "sources": [
          {
            "db": "CNNVD",
            "id": "CNNVD-202112-2756"
          }
        ],
        "trust": 0.6
      }
    }