CVSS3
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS
Percentile
9.0%
According to its self-reported version, Cisco IOS XR is affected by a vulnerability.
Please see the included Cisco BIDs and Cisco Security Advisory for more information.
#TRUSTED 426ddcd59c5cd15e6968d4c2d4f42ec96cdccdaedcbbe2a0b4d2e88ce69bc4f3478b932d9595fef3f4a895b452d034a0a12df6c660e8a4dc184f29a13262d42ee267c1065a6dad9a43dba1196f68b79596550b31b99f3a2681ae45eedc7ee6ece607eda3ff88ff18f04c96f34ac1fa22e3e84a9189d5f446b5c9ad8e466f37953e5ef1b69d922a81f7403cd574fc1ca87ea89a19a26b03f6310d81991d1f44db24084907788106df2d8db810afb62e4b107e26971140e378e6c2e291b1c2604d72775d899173c32ccedad297feeb0bf8ce0965f47bfa02b4171f14e46fe520782d0fc95e628f9626daa26ca6d4487ce9b9e70f62bd96f93800f20b932a7e64f8d3c66071d56e278eedd4e331d8b646916d7ad4b9766632575cab3a9b26353d9292b4b14c3e7ef60ef1ead7369fe39ebc8b60e38c3f7e9f5f75a1133490e7868aa2ca1062cda34b4f2c9c4d43905cad48d02211a468063641e427e32cc59170b88a322300f5cb558b2583461bcc5821016463eb71313bb86b774dd730174a2290da33e287f2175fec87b34b89e10b31d51a5c863050fdfb3b2f08d8da33cb386456eb542310c2772ec5820134f43f28c7d54c587d17897141d643d5442a3f80fffff4e34dd7afd3114e29107d1a5f9649a8136d6f2ef1014442cfa693e9cfbc6bc4156a43832f63c14fb514c532dc95bc28cd97da4080475c2feb199c48add9a6
#TRUST-RSA-SHA256 325fa9612263943ae042dba633c902f14afe0d222066a5fffaeb26cc53016a78674d47ccb7129dde0855a5740b7b97a3fa96f2056518e2620215a916f6ab9a791d9c069acfb69debc15b77da5805149f3e0a5df6da0cc35ae1501e77812cde29c17de39ad6702dd540fa05aaba5faaf4e537348d80f70c8ff53c678b8d3869dc9baf33f727dab31b48efb64108c62e93327babaf2a1ab4e77988abe50cab9b97b35f4be6fc65633cfb29f8876d5f3e83c7c2f19635a0ca3020b41ceaa91aa596f7caab19c46d852cb679b31bbaa70e408eeba740dce94cfb8d6094c02c154484b072e8c808d9bd1f105bb8b9e8e78f1157b2eb90befef59cba3db31144852c5c3ceab5f184aaffb1f93942dff8720b53bf22938f124687ce89aa02d3ec6c00ea0ded60f70da7c00d71df53a9faed0a8920399ae54920e167a21829cf122bd2ec925fd98ec40c410b4d74a252fa480e62b847bb19dee4c83b40c9a11404cf6a989ced0ffca0ad6a9097931a747a0450f4107c33e81645d95843a2a5f31ae27d5c7b0a46819c0d9b799099e279ea49dffb31d216bbc338b36fc13cdeab7857a25e01375a3ccf936b2116db52ffcc68d0ff6aee94c44c7509b91b97091a15ef306351b5b9d965768702b39bf03146d92f26efb2c93c3afedf8d07f21486e178fb0b0635696f734e294f296746487285131b4e3ece4388054ba1928fa71d1dd17c56
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(192235);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/09/13");
script_cve_id("CVE-2024-20327");
script_xref(name:"CISCO-BUG-ID", value:"CSCwf75789");
script_xref(name:"CISCO-SA", value:"cisco-sa-iosxr-pppma-JKWFgneW");
script_xref(name:"IAVA", value:"2024-A-0169-S");
script_name(english:"Cisco IOS XR Software for ASR 9000 Series Aggregation Services Routers PPPoE DoS (cisco-sa-iosxr-pppma-JKWFgneW)");
script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch");
script_set_attribute(attribute:"description", value:
"According to its self-reported version, Cisco IOS XR is affected by a vulnerability.
- A vulnerability in the PPP over Ethernet (PPPoE) termination feature of Cisco IOS XR Software for Cisco
ASR 9000 Series Aggregation Services Routers could allow an unauthenticated, adjacent attacker to crash
the ppp_ma process, resulting in a denial of service (DoS) condition. This vulnerability is due to the
improper handling of malformed PPPoE packets that are received on a router that is running Broadband
Network Gateway (BNG) functionality with PPPoE termination on a Lightspeed-based or Lightspeed-Plus-based
line card. An attacker could exploit this vulnerability by sending a crafted PPPoE packet to an affected
line card interface that does not terminate PPPoE. A successful exploit could allow the attacker to crash
the ppp_ma process, resulting in a DoS condition for PPPoE traffic across the router. (CVE-2024-20327)
Please see the included Cisco BIDs and Cisco Security Advisory for more information.");
# https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-pppma-JKWFgneW
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?21efcd75");
# https://sec.cloudapps.cisco.com/security/center/viewErp.x?alertId=ERP-75299
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3206828a");
script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwf75789");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID CSCwf75789");
script_set_cvss_base_vector("CVSS2#AV:A/AC:L/Au:N/C:N/I:N/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-20327");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(20);
script_set_attribute(attribute:"vuln_publication_date", value:"2024/03/13");
script_set_attribute(attribute:"patch_publication_date", value:"2024/03/13");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/03/19");
script_set_attribute(attribute:"plugin_type", value:"combined");
script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios_xr");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("cisco_ios_xr_version.nasl");
script_require_keys("Host/Cisco/IOS-XR/Version", "Host/Cisco/IOS-XR/Model");
exit(0);
}
include('cisco_workarounds.inc');
include('ccf.inc');
var product_info = cisco::get_product_info(name:'Cisco IOS XR');
var model = toupper(product_info.model);
# vuln models
if (model !~ "ASR[\s-]*(9[0-9]{3}|9K)")
audit(AUDIT_HOST_NOT, 'an affected model');
# vuln line cards
var card_list = make_list(
'A9K-16X100GE-TR',
'A99-16X100GE-X-SE',
'A99-32X100GE-TR',
'A9K-4HG-FLEX-TR',
'A9K-4HG-FLEX-SE',
'A99-4HG-FLEX-TR',
'A99-4HG-FLEX-SE',
'A9K-8HG-FLEX-TR',
'A9K-8HG-FLEX-SE',
'A9K-20HG-FLEX-TR',
'A9K-20HG-FLEX-SE',
'A99-32X100GE-X-TR',
'A99-32X100GE-X-SE',
'A99-10X400GE-X-TR',
'A99-10X400GE-X-SE'
);
var card = cisco_line_card(card_list:card_list);
if (empty_or_null(card))
audit(AUDIT_HOST_NOT, 'an affected line card');
# add smus if applicable
var smus;
if ('ASR9K-X64' >< model)
smus['7.5.2'] = 'CSCwf75789';
var vuln_ranges = [
{'min_ver': '0', 'fix_ver': '7.9.21'},
{'min_ver': '7.10', 'fix_ver': '7.10.1'},
{'min_ver': '7.11', 'fix_ver': '7.11.1'}
];
# vuln config: BNG with PPPoE globally and on at least one interface
var workarounds = make_list(CISCO_WORKAROUNDS['generic_workaround']);
var workaround_params = [
WORKAROUND_CONFIG['bng_pppoe_global'],
WORKAROUND_CONFIG['bng_pppoe_iface'],
{'require_all_generic_workarounds': TRUE}
];
var reporting = make_array(
'port' , product_info['port'],
'severity', SECURITY_WARNING,
'version' , product_info['version'],
'bug_id' , 'CSCwf75789',
'cmds' , make_list('show running-config pppoe bba-group', 'show running-config interface')
);
cisco::check_and_report(
product_info:product_info,
workarounds:workarounds,
workaround_params:workaround_params,
reporting:reporting,
vuln_ranges:vuln_ranges,
smus:smus
);