Lucene search

K
nessusThis script is Copyright (C) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.TENABLE_OT_WAGO_CVE-2022-22511.NASL
HistoryJul 21, 2022 - 12:00 a.m.

Wago Multiple products - Web-Based Management Cross-site Scripting (CVE-2022-22511)

2022-07-2100:00:00
This script is Copyright (C) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
34
wago products
web-based management
cross-site scripting
cve-2022-22511
reflected xss
confidential information
tenable.ot scanner

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.5

Confidence

High

EPSS

0.001

Percentile

22.7%

Various configuration pages of the device are vulnerable to reflected XSS (Cross-Site Scripting) attacks. An authorized attacker with user privileges may use this to gain access to confidential information on a PC that connects to the WBM after it has been compromised.

  • Various configuration pages of the device are vulnerable to reflected XSS (Cross-Site Scripting) attacks.
    An authorized attacker with user privileges may use this to gain access to confidential information on a PC that connects to the WBM after it has been compromised. (CVE-2022-22511)

This plugin only works with Tenable.ot. Please visit https://www.tenable.com/products/tenable-ot for more information.

##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(500675);
  script_version("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/02/20");

  script_cve_id("CVE-2022-22511");

  script_name(english:"Wago Multiple products - Web-Based Management Cross-site Scripting (CVE-2022-22511)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Various configuration pages of the device are vulnerable to reflected XSS (Cross-Site Scripting) attacks. An authorized
attacker with user privileges may use this to gain access to confidential information on a PC that connects to the WBM
after it has been compromised.

  - Various configuration pages of the device are vulnerable to reflected XSS (Cross-Site Scripting) attacks.
    An authorized attacker with user privileges may use this to gain access to confidential information on a
    PC that connects to the WBM after it has been compromised. (CVE-2022-22511)

This plugin only works with Tenable.ot. Please visit https://www.tenable.com/products/tenable-ot for more information.");
  script_set_attribute(attribute:"see_also", value:"https://cert.vde.com/en/advisories/VDE-2022-004/");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-22511");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2022/03/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/03/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2022/07/21");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8100_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8101%2f025-000_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8101_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8102%2f025-000_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8102_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8202%2f000-012_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8202%2f000-022_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8202%2f025-000_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8202%2f025-001_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:750-8202_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:751-9301_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:wago:752-8303%2f8000-002_firmware");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Tenable.ot");

  script_copyright(english:"This script is Copyright (C) 2022-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("tenable_ot_api_integration.nasl");
  script_require_keys("Tenable.ot/Wago");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Wago');

var asset = tenable_ot::assets::get(vendor:'Wago');

var vuln_cpes = {
    "cpe:/o:wago:750-8100_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC100"},
    "cpe:/o:wago:750-8101_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC100"},
    "cpe:/o:wago:750-8102_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC100"},
    "cpe:/o:wago:751-9301_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "CompactController"},
    "cpe:/o:wago:750-8202_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC200"},
    "cpe:/o:wago:750-8102%2f025-000_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC100"},
    "cpe:/o:wago:750-8101%2f025-000_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC100"},
    "cpe:/o:wago:750-8202%2f000-012_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC200"},
    "cpe:/o:wago:750-8202%2f000-022_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC200"},
    "cpe:/o:wago:750-8202%2f025-001_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC200"},
    "cpe:/o:wago:750-8202%2f025-000_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "ControllerPFC200"},
    "cpe:/o:wago:752-8303%2f8000-002_firmware" :
        {"versionEndExcluding" : "fw22", "versionStartIncluding" : "fw16", "family" : "EdgeController"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_NOTE);

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.5

Confidence

High

EPSS

0.001

Percentile

22.7%

Related for TENABLE_OT_WAGO_CVE-2022-22511.NASL