A critical vulnerability has been found in OpenSMTPD that if exploited could allow an attacker to execute arbitrary code.

The flaw, CVE-20207247, was discovered by Qualys Research Labs and affects OpenSMTPD version 6.6, which does not properly sanitize user input which could lead to a local attacker being able to to escalate their privileges, and allow either a local or remote attacker to execute arbitrary code as root.

The open-source OpenSMTPD’s smtp_mailaddr() function is responsible for validating sender and recipient mail addresses. The problem is that if the local part of an address is invalid and the domain name is empty the software will automatically add a domain name instead of just failing because of the invalid local address. This will allow the invalid local address to pass through the function without validation.

Please register to continue.

Already registered? Log in.

Once you register, you'll receive:

  • News analysis

    The context and insight you need to stay abreast of the most important developments in cybersecurity. CISO and practitioner perspectives; strategy and tactics; solutions and innovation; policy and regulation.

  • Archives

    Unlimited access to nearly 20 years of SC Media industry analysis and news-you-can-use.

  • Daily Newswire

    SC Media’s essential morning briefing for cybersecurity professionals.

  • Learning Express

    One-click access to our extensive program of virtual events, with convenient calendar reminders and ability to earn CISSP credits.