logo

Database

Azure Smtp Unrestricted Access

Description

Detects Azure Network Security Groups (NSGs) that allow unrestricted SMTP access from any source IP address. This misconfiguration could enable malicious actors to abuse email servers or conduct email-based attacks by connecting to port 25 from anywhere on the internet.

Weakness:

157 - Unrestricted access between network segments

Category: Access Subversion

Detection Strategy

    Examines each Network Security Group's security rules for inbound access configurations

    Identifies rules that allow access to SMTP port 25 via TCP protocol

    Flags rules where source IP address is set to any ('*', '0.0.0.0/0', 'Internet', etc.)

    Reports a vulnerability when unrestricted SMTP access is found in any security rule

Severity v4.0

1.2

Low

Method ID

CSPM-CDRTD

Technique

CSPM

Target

AZURE

Technology

NETWORK_SECURITY_GROUP

CWE ID(s)

CWE-1327