cbcvebase.
CVE-2024-20401
published 2024-07-17

CVE-2024-20401: A vulnerability in the content scanning and message filtering features of Cisco Secure Email Gateway could allow an unauthenticated, remote attacker to…

PriorityP269critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.28%
81.1th percentile
A vulnerability in the content scanning and message filtering features of Cisco Secure Email Gateway could allow an unauthenticated, remote attacker to overwrite arbitrary files on the underlying operating system. This vulnerability is due to improper handling of email attachments when file analysis and content filters are enabled. An attacker could exploit this vulnerability by sending an email that contains a crafted attachment through an affected device. A successful exploit could allow the attacker to replace any file on the underlying file system. The attacker could then perform any of the following actions: add users with root privileges, modify the device configuration, execute arbitrary code, or cause a permanent denial of service (DoS) condition on the affected device. Note: Manual intervention is required to recover from the DoS condition. Customers are advised to contact the Cisco Technical Assistance Center (TAC) to help recover a device in this condition.

Affected

3 ranges
VendorProductVersion rangeFixed in
ciscocisco_secure_email
ciscosecure_email_gateway< 15.5.1-05515.5.1-055
ciscosecure_email_gateway

Detection & IOCsextracted from sources · hover to see the quote

  • Exploit is delivered via email with a crafted attachment; monitor for emails with malicious attachments traversing the SEG when file analysis or content filters are enabled on incoming mail policies.
  • The root cause is an absolute path traversal (CWE-36) in attachment handling; detect path traversal sequences (e.g., absolute paths) within email attachment filenames or metadata processed by Cisco AsyncOS.
  • Vulnerable condition requires Content Scanner Tools version earlier than 23.3.0.4823; audit installed Content Scanner Tools version on all SEG appliances as a triage step.
  • Vulnerable condition also requires file analysis (Cisco AMP) or content filter feature enabled and assigned to an incoming mail policy; check 'Mail Policies > Incoming Mail Policies > Advanced Malware Protection > Mail Policy' for 'Enable File Analysis' checkbox.
  • Post-exploitation indicator: unexpected new OS-level users with root privileges on the SEG appliance may indicate successful exploitation.
  • A permanently unresponsive/crashed SEG appliance requiring manual TAC recovery may be an indicator of a successful DoS exploitation of this vulnerability.
  • ·Vulnerability is only exploitable when BOTH conditions are met: (1) file analysis (Cisco AMP) OR content filter feature is enabled and assigned to an incoming mail policy, AND (2) Content Scanner Tools version is earlier than 23.3.0.4823.
  • ·The fix is delivered via Content Scanner Tools package version 23.3.0.4823 and later, included by default in Cisco AsyncOS for Cisco Secure Email Software releases 15.5.1-055 and later; no workaround exists.
  • ·No public proof-of-concept exploit code or in-the-wild exploitation had been observed at time of advisory publication.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_cisco9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.