Vulnerabilities > CVE-2019-12256 - Classic Buffer Overflow vulnerability in multiple products
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
Wind River VxWorks 6.9 and vx7 has a Buffer Overflow in the IPv4 component. There is an IPNET security vulnerability: Stack overflow in the parsing of IPv4 packets’ IP options.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Misc. NASL id XEROX_XRX19_016.NASL description According to its self-reported version, the remote Xerox WorkCentre is affected by multiple remote code execution and denial-of-service vulnerabilities in the IPnet TCP/IP stack. An unauthenticated, remote, attacker could leverage these vulnerabilities to gain full access to the affected device or to cause the device to become unresponsive. last seen 2020-06-01 modified 2020-06-02 plugin id 127109 published 2019-07-29 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/127109 title Xerox WorkCentre Multiple Vulnerabilities (XRX19-016) (URGENT/11) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(127109); script_version("1.4"); script_cvs_date("Date: 2019/10/18 23:14:15"); script_cve_id( "CVE-2019-12255", "CVE-2019-12256", "CVE-2019-12257", "CVE-2019-12258", "CVE-2019-12259", "CVE-2019-12260", "CVE-2019-12261", "CVE-2019-12262", "CVE-2019-12263", "CVE-2019-12264", "CVE-2019-12265" ); script_xref(name:"IAVA", value:"2019-A-0274"); script_name(english:"Xerox WorkCentre Multiple Vulnerabilities (XRX19-016) (URGENT/11)"); script_summary(english:"Checks system software version of Xerox WorkCentre devices."); script_set_attribute(attribute:"synopsis", value: "The remote host is affected by multiple vulnerabilities."); script_set_attribute(attribute:"description", value: "According to its self-reported version, the remote Xerox WorkCentre is affected by multiple remote code execution and denial-of-service vulnerabilities in the IPnet TCP/IP stack. An unauthenticated, remote, attacker could leverage these vulnerabilities to gain full access to the affected device or to cause the device to become unresponsive."); # https://securitydocs.business.xerox.com/wp-content/uploads/2019/07/cert_XRX19-016.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?94116ec1"); script_set_attribute(attribute:"see_also", value:"https://armis.com/urgent11/"); script_set_attribute(attribute:"solution", value: "Apply the appropriate update as described in the Xerox security bulletin in the referenced URL."); 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-12262"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"patch_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/h:xerox:workcentre"); script_set_attribute(attribute:"stig_severity", value:"I"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Misc."); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("xerox_workcentre_detect.nasl"); script_require_keys("www/xerox_workcentre", "www/xerox_workcentre/model", "www/xerox_workcentre/ssw"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); # Get model and system software version model = get_kb_item_or_exit("www/xerox_workcentre/model"); ver = get_kb_item_or_exit("www/xerox_workcentre/ssw"); ctrl = get_kb_item_or_exit("www/xerox_workcentre/ess"); vuln = FALSE; ctrl_append = "367972v2"; if (model =~ "^58(45|55|65|75|90)$") { less_or_equal = "072.190.165.14201"; great_or_equal = "073.190.035.24100"; fix = "072.190.196.34301"; } else if (model =~ "^78(45|55)$") { less_or_equal = "072.040.165.14201"; great_or_equal = "073.040.035.24100"; fix = "072.040.196.34301"; } else audit(AUDIT_HOST_NOT, "an affected Xerox WorkCentre model"); if ( ver_compare(ver:ver, fix:less_or_equal, strict:FALSE) <= 0 || ver_compare(ver:ver, fix:great_or_equal, strict:FALSE) >= 0 ) vuln = TRUE; else if (ctrl_append >!< ctrl) { if(report_paranoia < 2) audit(AUDIT_POTENTIAL_VULN, "Xerox WorkCentre " + model + " System SW", ver); else vuln = TRUE; } if(!vuln) audit(AUDIT_INST_VER_NOT_VULN, "Xerox WorkCentre " + model + " System SW", ver); report = '\n Model : Xerox WorkCentre ' + model + '\n Installed system software version : ' + ver + '\n Fixed system software version : ' + fix + ' and the 367972v2.dlm patch.\n'; security_report_v4(severity:SECURITY_HOLE, port:0, extra:report);
NASL family Misc. NASL id VXWORKS_URGENT11.NASL description According to its self-reported version, the remote device is potentially affected by multiple Wind River VxWorks remote code execution and denial-of-service vulnerabilities in the IPnet TCP/IP stack. An unauthenticated, remote, attacker could leverage these vulnerabilities to gain full access to the affected device or to cause the device to become unresponsive. Note that Nessus has not checked for the presence of the patch so this finding may be a false positive. last seen 2020-06-01 modified 2020-06-02 plugin id 127108 published 2019-07-29 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/127108 title Wind River VxWorks Multiple Vulnerabilities (URGENT/11) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(127108); script_version("1.4"); script_cvs_date("Date: 2019/10/18 23:14:15"); script_cve_id( "CVE-2019-12255", "CVE-2019-12256", "CVE-2019-12257", "CVE-2019-12258", "CVE-2019-12259", "CVE-2019-12260", "CVE-2019-12261", "CVE-2019-12262", "CVE-2019-12263", "CVE-2019-12264", "CVE-2019-12265" ); script_xref(name:"IAVA", value:"2019-A-0274"); script_name(english:"Wind River VxWorks Multiple Vulnerabilities (URGENT/11)"); script_summary(english:"Checks the OS fingerprint version."); script_set_attribute(attribute:"synopsis", value: "The remote VxWorks device is potentially affected by multiple remote code execution and denial-of-service vulnerabilities."); script_set_attribute(attribute:"description", value: "According to its self-reported version, the remote device is potentially affected by multiple Wind River VxWorks remote code execution and denial-of-service vulnerabilities in the IPnet TCP/IP stack. An unauthenticated, remote, attacker could leverage these vulnerabilities to gain full access to the affected device or to cause the device to become unresponsive. Note that Nessus has not checked for the presence of the patch so this finding may be a false positive."); # https://www.windriver.com/security/announcements/tcp-ip-network-stack-ipnet-urgent11/security-advisory-ipnet/ script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e848e239"); # https://go.armis.com/hubfs/White-papers/Urgent11%20Technical%20White%20Paper.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e1994faf"); script_set_attribute(attribute:"see_also", value:"https://armis.com/urgent11/"); script_set_attribute(attribute:"solution", value: "Contact the device vendor to obtain the appropriate update"); 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-12262"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"patch_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"potential_vulnerability", value:"true"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/o:windriver:vxworks"); script_set_attribute(attribute:"stig_severity", value:"I"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Misc."); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("os_fingerprint.nasl"); script_require_keys("Settings/ParanoidReport", "Host/OS"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); os = get_kb_item_or_exit("Host/OS"); if ("VxWorks" >!< os) audit(AUDIT_OS_NOT, "VxWorks"); match = pregmatch(pattern:"VxWorks ([0-9][0-9.]*)", string:os); if (isnull(match)) exit(1, "Failed to identify the version of VxWorks."); version = match[1]; if (report_paranoia < 2) audit(AUDIT_PARANOID); vuln = FALSE; if (version =~ "^6($|\.)" && ver_compare(ver:version, fix:'6.5', strict:FALSE) >= 0 && ver_compare(ver:version, fix:"6.9.4.11", strict:FALSE) <= 0) { vuln = TRUE; } else if (version =~ "^7($|\.)") { vuln = TRUE; } if (vuln) { report = '\n Version : ' + version + '\n Fixed Version : Consult Vendor' + '\n'; security_report_v4(port:0, severity:SECURITY_HOLE, extra:report); } else audit(AUDIT_OS_RELEASE_NOT, "VxWorks", version);
NASL family Firewalls NASL id SONICWALL_SNWLID-2019-0009.NASL description According to its self-reported version, the remote SonicWall firewall is running a version of SonicOS that is affected by multiple vulnerabilities: - Stack overflow in the parsing of IPv4 packets IP options. (CVE-2019-12256) - TCP Urgent Pointer = 0 leads to integer underflow (CVE-2019-12255) - TCP Urgent Pointer state confusion caused by malformed TCP AO option (CVE-2019-12260) - TCP Urgent Pointer state confusion during connect to a remote host (CVE-2019-12261) - TCP Urgent Pointer state confusion due to race condition (CVE-2019-12263) - Heap overflow in DHCP Offer/ACK parsing in ipdhcpc (CVE-2019-12257) - TCP connection DoS via malformed TCP options (CVE-2019-12258) - Handling of unsolicited Reverse ARP replies (Logical Flaw) (CVE-2019-12262) - Logical flaw in IPv4 assignment by the ipdhcpc DHCP client (CVE-2019-12264) - DoS via NULL dereference in IGMP parsing (CVE-2019-12259) - IGMP Information leak via IGMPv3 specific membership report (CVE-2019-12265) Note that Nessus has not tested for these issues but has instead relied only on the application last seen 2020-06-01 modified 2020-06-02 plugin id 127107 published 2019-07-29 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/127107 title SonicWall SonicOS Firewall Multiple Management Vulnerabilities (URGENT/11) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(127107); script_version("1.5"); script_cvs_date("Date: 2019/10/18 23:14:14"); script_cve_id( "CVE-2019-12255", "CVE-2019-12256", "CVE-2019-12257", "CVE-2019-12258", "CVE-2019-12259", "CVE-2019-12260", "CVE-2019-12261", "CVE-2019-12262", "CVE-2019-12263", "CVE-2019-12264", "CVE-2019-12265" ); script_xref(name:"IAVA", value:"2019-A-0274"); script_name(english:"SonicWall SonicOS Firewall Multiple Management Vulnerabilities (URGENT/11)"); script_summary(english:"Checks the version of SonicOS."); script_set_attribute(attribute:"synopsis", value: "The remote host is affected by multiple vulnerabilities."); script_set_attribute(attribute:"description", value: "According to its self-reported version, the remote SonicWall firewall is running a version of SonicOS that is affected by multiple vulnerabilities: - Stack overflow in the parsing of IPv4 packets IP options. (CVE-2019-12256) - TCP Urgent Pointer = 0 leads to integer underflow (CVE-2019-12255) - TCP Urgent Pointer state confusion caused by malformed TCP AO option (CVE-2019-12260) - TCP Urgent Pointer state confusion during connect to a remote host (CVE-2019-12261) - TCP Urgent Pointer state confusion due to race condition (CVE-2019-12263) - Heap overflow in DHCP Offer/ACK parsing in ipdhcpc (CVE-2019-12257) - TCP connection DoS via malformed TCP options (CVE-2019-12258) - Handling of unsolicited Reverse ARP replies (Logical Flaw) (CVE-2019-12262) - Logical flaw in IPv4 assignment by the ipdhcpc DHCP client (CVE-2019-12264) - DoS via NULL dereference in IGMP parsing (CVE-2019-12259) - IGMP Information leak via IGMPv3 specific membership report (CVE-2019-12265) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number."); script_set_attribute(attribute:"see_also", value:"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2019-0009"); # https://www.sonicwall.com/support/product-notification/?sol_id=190717234810906 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?06406a07"); script_set_attribute(attribute:"see_also", value:"https://armis.com/urgent11/"); # 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"); # https://go.armis.com/hubfs/White-papers/Urgent11%20Technical%20White%20Paper.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e1994faf"); script_set_attribute(attribute:"solution", value: "Upgrade to the relevant fixed version referenced in the vendor security advisory."); 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-12262"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2019/07/19"); script_set_attribute(attribute:"patch_publication_date", value:"2019/07/19"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/07/29"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/o:sonicwall:sonicos"); script_set_attribute(attribute:"stig_severity", value:"I"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Firewalls"); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("os_fingerprint.nasl"); script_require_keys("Host/OS"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); os = get_kb_item_or_exit("Host/OS"); if (os !~ "^SonicOS" ) audit(AUDIT_OS_NOT, "SonicWall SonicOS"); # SonicOS Enhanced 5.9.1.10-1o on a SonicWALL NSA 220 match = pregmatch(pattern:"^SonicOS(?: Enhanced)? ([0-9.]+)(?:-[^ ]*)? on a SonicWALL (.*)$", string:os); if (isnull(match)) exit(1, "Failed to identify the version of SonicOS."); version = match[1]; model = match[2]; fix = NULL; # NSA, TZ, SOHO (GEN5) if (version =~ "^5\." && (model =~ "^(NSA|TZ|SOHO)") ) { if (version =~ "^5\.[0-8]\.") fix = NULL; # Patch not required. else if (version =~ "^5\.9\.0\.") fix = "5.9.0.8"; else if (version =~ "^5\.9\.1\.") fix = "5.9.1.13"; } # NSA, TZ, SOHO, SuperMassive 92xx/94xx/96xx (GEN6+) if (version =~ "^6\." && (model =~ "^(NSA|TZ|SOHO|SuperMassive 9[246][0-9][0-9])") ) { if (version =~ "^6\.1\.") fix = NULL; # Patch not required. else if (version =~ "^6\.2\.[0-3]\.") fix = "6.2.3.2"; else if (version =~ "^6\.2\.4\.") fix = "6.2.4.4"; else if (version =~ "^6\.2\.5\.") fix = "6.2.5.4"; else if (version =~ "^6\.2\.6\.") fix = "6.2.6.2"; else if (version =~ "^6\.2\.7\.") fix = "6.2.7.5"; else if (version =~ "^6\.2\.9\.") fix = "6.2.9.3"; else if (version =~ "^6\.5\.0\.") fix = "6.5.0.4"; else if (version =~ "^6\.5\.1\.") fix = "6.5.1.5"; else if (version =~ "^6\.5\.2\.") fix = "6.5.2.4"; else if (version =~ "^6\.5\.3\.") fix = "6.5.3.4"; else if (version =~ "^6\.5\.4\.") fix = "6.5.4.4"; } # SuperMassive 12K, 10K, 9800 if (model =~ "^SuperMassive (1[02]K|9800)") { if (version =~ "^6\.0\.") fix = NULL; # Patch not required. else if (version =~ "^6\.2\.7\.") fix = "6.2.7.11"; else if (version =~ "^6\.4\.1\.") fix = "6.4.1.1"; else if (version =~ "^6\.5\.1\.") fix = "6.5.1.10"; } if (isnull(fix)) audit(AUDIT_DEVICE_NOT_VULN, "SonicWALL " + model, "SonicOS " + version); if (ver_compare(ver:version, fix:fix, strict:FALSE) < 0) { port = 0; report = '\n Device Model : ' + model + '\n Installed SonicOS version : ' + version + '\n Fixed SonicOS version : ' + fix + '\n'; security_report_v4(port:port, extra:report, severity:SECURITY_HOLE); } else audit(AUDIT_DEVICE_NOT_VULN, "SonicWALL " + model, "SonicOS " + version);
The Hacker News
id | THN:110765F121B8FFAB197ACDBB4C117D2E |
last seen | 2019-07-29 |
modified | 2019-07-29 |
published | 2019-07-29 |
reporter | The Hacker News |
source | https://thehackernews.com/2019/07/vxworks-rtos-vulnerability.html |
title | Critical Flaws Found in VxWorks RTOS That Powers Over 2 Billion Devices |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-632562.pdf
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2019-0009
- https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2019-12256
- https://support2.windriver.com/index.php?page=security-notices
- https://security.netapp.com/advisory/ntap-20190802-0001/
- https://www.windriver.com/security/announcements/tcp-ip-network-stack-ipnet-urgent11/
- https://support.f5.com/csp/article/K41190253
- https://cert-portal.siemens.com/productcert/pdf/ssa-189842.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-352504.pdf