{"id":"MSF-unix--smtp--cisco_secure_email_gateway_ecs_sqli_rce","name":"Cisco Secure Email Gateway ECS Message-ID SQL Injection RCE","description":"This module exploits an unauthenticated SQL injection in the Cisco Secure Email Gateway (SEG) Email Cloud Scanner (ECS) URL-retrospective message database. A sender-controlled Message-ID is placed inside a fixed PostgreSQL dollar-quoted string without escaping. The module sends one email whose quoted Message-ID terminates that string, stacks COPY TO PROGRAM, and executes a Unix command payload as root through AsyncOS runas. The check identifies the product through Cisco SEG's hidden SMTP queue-status command. AsyncOS does not expose a version through a benign SMTP command, so the check can only identify the product but not if it is explicitly vulnerable. URL Filtering and URL Retrospective Service must both be enabled.","cves":["CVE-2026-76461"],"author":"sfewer-r7","published":"2026-09-14","platform":"Unix","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/unix/smtp/cisco_secure_email_gateway_ecs_sqli_rce.rb","path":"modules/exploits/unix/smtp/cisco_secure_email_gateway_ecs_sqli_rce.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"cisco_secure_email_gateway_ecs_sqli_rce.rb","vulnerabilities":[{"id":"CVE-2026-76461","state":"PUBLISHED","title":"Cisco Secure Email Gateway SQL Injection Vulnerability","titleSource":"CVE Program","description":"A vulnerability in the email parsing of Cisco AsyncOS Software for Cisco Secure Email Gateway could allow an unauthenticated, remote attacker to execute arbitrary commands with root privileges on the underlying operating system. This vulnerability is due to insufficient validation in the email parsing logic. An attacker could exploit this vulnerability by sending a crafted email message that contains malicious SQL statements through an affected device. A successful exploit could allow the attacker to execute arbitrary SQL statements, leading to command execution with root privileges on the underlying operating system.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-76461","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"cisco","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-76461"},"updatedAt":"2026-09-18T12:10:27.392Z","retrievedAt":"2026-11-25T16:13:33.939Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-unix--smtp--cisco_secure_email_gateway_ecs_sqli_rce.png?v=2","url":"https://exploitbin.com/exploits/MSF-unix--smtp--cisco_secure_email_gateway_ecs_sqli_rce","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-unix--smtp--cisco_secure_email_gateway_ecs_sqli_rce/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-unix--smtp--cisco_secure_email_gateway_ecs_sqli_rce/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}