7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
10 High
AI Score
Confidence
High
0.937 High
EPSS
Percentile
99.1%
An attacker can either hijack an existing TCP-session and inject bad TCP-segments or establish a new TCP-session on any TCP-port listened to by the target.
This vulnerability could lead to a buffer overflow of up to a full TCP receive-window (by default, 10k-64k depending on version). The buffer overflow occurs in the task calling recv()/recvfrom()/recvmsg().
Applications that pass a buffer equal to or larger than a full TCP-window are not susceptible to this attack. Applications passing a stack-allocated variable as a buffer are the easiest to exploit.
The most likely outcome is a crash of the application reading from the affected socket, which could result in remote code execution.
This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(502262);
script_version("1.4");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/06/24");
script_cve_id("CVE-2019-12255");
script_xref(name:"CEA-ID", value:"CEA-2019-0679");
script_name(english:"Hirschmann HiOS Switches Integer Underflow (CVE-2019-12255)");
script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
script_set_attribute(attribute:"description", value:
"An attacker can either hijack an existing TCP-session and inject bad TCP-segments
or establish a new TCP-session on any TCP-port listened to by the target.
This vulnerability could lead to a buffer overflow of up to a full
TCP receive-window (by default, 10k-64k depending on version).
The buffer overflow occurs in the task calling recv()/recvfrom()/recvmsg().
Applications that pass a buffer equal to or larger than a full TCP-window
are not susceptible to this attack. Applications passing a stack-allocated
variable as a buffer are the easiest to exploit.
The most likely outcome is a crash of the application reading from the affected socket,
which could result in remote code execution.
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-portal.siemens.com/productcert/pdf/ssa-632562.pdf");
script_set_attribute(attribute:"see_also", value:"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2019-0009");
script_set_attribute(attribute:"see_also", value:"https://support2.windriver.com/index.php?page=security-notices");
script_set_attribute(attribute:"see_also", value:"https://security.netapp.com/advisory/ntap-20190802-0001/");
# https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2019-12255
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1e78a302");
# https://www.windriver.com/security/announcements/tcp-ip-network-stack-ipnet-urgent11/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c7d3d59d");
# http://packetstormsecurity.com/files/154022/VxWorks-6.8-Integer-Underflow.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eb2cc234");
script_set_attribute(attribute:"see_also", value:"https://support.f5.com/csp/article/K41190253");
script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-189842.pdf");
script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/pdf/ssa-352504.pdf");
# https://support.f5.com/csp/article/K41190253?utm_source=f5support&%3Butm_medium=RSS
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?68ce8bd8");
script_set_attribute(attribute:"see_also", value:"https://www.cisa.gov/news-events/ics-advisories/icsa-19-211-0");
script_set_attribute(attribute:"solution", value:
"The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original
can be found at CISA.gov.
Wind River has produced controls and patches to mitigate the reported vulnerabilities. To obtain patches, email
[email protected] and indicate the VxWorks major version for which you need source patches.
For more detailed information on the vulnerabilities and the mitigating controls, please see the Wind River advisory at:
https://www.windriver.com/security/announcements/tcp-ip-network-stack-ipnet-urgent11/
Additional vendors affected by the reported vulnerabilities have also released security advisories related to their
affected products. Those advisories are as follows:
Rockwell Automation (login required) - https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1088561
Xerox - https://security.business.xerox.com/en-us/news/wind-river-vxworks-ipnet-tcp-ip-stack-vulnerabilities/
DrΓΒ€ger Γ’ΒΒ https://static.draeger.com/security
Schneider Electric Γ’ΒΒ https://www.se.com/ww/en/download/document/SESB-2019-214-01/");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-12255");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(120);
script_set_attribute(attribute:"vuln_publication_date", value:"2019/08/09");
script_set_attribute(attribute:"patch_publication_date", value:"2019/08/09");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/06/10");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rail_switch_power_lite");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rail_switch_power_smart");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rsp20");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rsp25");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rsp30");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rsp35");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rspe30");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rspe32");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rspe35");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_rspe37");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_dragon_mach4000");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_dragon_mach4500");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_eagle20");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_eagle30");
script_set_attribute(attribute:"cpe", value:"cpe:/h:belden:hirschmann_eagle_one");
script_set_attribute(attribute:"generated_plugin", value:"former");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Tenable.ot");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("tenable_ot_api_integration.nasl");
script_require_keys("Tenable.ot/Hirschmann");
exit(0);
}
include('tenable_ot_cve_funcs.inc');
get_kb_item_or_exit('Tenable.ot/Hirschmann');
var asset = tenable_ot::assets::get(vendor:'Hirschmann');
var vuln_cpes = {
"cpe:/h:belden:hirschmann_rail_switch_power_lite" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rail_switch_power_smart" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rsp20" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rsp25" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rsp30" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rsp35" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rspe30" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rspe32" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rspe35" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_rspe37" :
{"versionEndIncluding" : "07.0.07", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_dragon_mach4000" :
{"versionEndIncluding" : "07.2.04", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_dragon_mach4500" :
{"versionEndIncluding" : "07.2.04", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_eagle20" :
{"versionEndIncluding" : "05.3.06", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_eagle30" :
{"versionEndIncluding" : "05.3.06", "family" : "Hirschmann"},
"cpe:/h:belden:hirschmann_eagle_one" :
{"versionEndIncluding" : "05.3.06", "family" : "Hirschmann"}
};
tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);
Vendor | Product | Version | CPE |
---|---|---|---|
belden | hirschmann_rsp20 | cpe:/h:belden:hirschmann_rsp20 | |
belden | hirschmann_rail_switch_power_lite | cpe:/h:belden:hirschmann_rail_switch_power_lite | |
belden | hirschmann_rspe37 | cpe:/h:belden:hirschmann_rspe37 | |
belden | hirschmann_rsp25 | cpe:/h:belden:hirschmann_rsp25 | |
belden | hirschmann_rsp35 | cpe:/h:belden:hirschmann_rsp35 | |
belden | hirschmann_rspe30 | cpe:/h:belden:hirschmann_rspe30 | |
belden | hirschmann_rail_switch_power_smart | cpe:/h:belden:hirschmann_rail_switch_power_smart | |
belden | hirschmann_rspe35 | cpe:/h:belden:hirschmann_rspe35 | |
belden | hirschmann_dragon_mach4500 | cpe:/h:belden:hirschmann_dragon_mach4500 | |
belden | hirschmann_dragon_mach4000 | cpe:/h:belden:hirschmann_dragon_mach4000 |
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12255
www.nessus.org/u?1e78a302
www.nessus.org/u?68ce8bd8
www.nessus.org/u?c7d3d59d
www.nessus.org/u?eb2cc234
cert-portal.siemens.com/productcert/pdf/ssa-189842.pdf
cert-portal.siemens.com/productcert/pdf/ssa-352504.pdf
cert-portal.siemens.com/productcert/pdf/ssa-632562.pdf
psirt.global.sonicwall.com/vuln-detail/SNWLID-2019-0009
security.netapp.com/advisory/ntap-20190802-0001/
support.f5.com/csp/article/K41190253
support2.windriver.com/index.php?page=security-notices
www.cisa.gov/news-events/ics-advisories/icsa-19-211-0
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
10 High
AI Score
Confidence
High
0.937 High
EPSS
Percentile
99.1%