Hastymail IMAP and SMTP server command execution

hastymail-imap-command-execution (29407) The risk level is classified as MediumMedium Risk

Description:

Hastymail could allow a remote attacker to execute arbitrary commands on the system. A remote authenticated attacker could send a specially-crafted request using the mailbox or subject parameter containing an end of command sequence to the IMAP or SMTP server, which could allow the attacker to execute arbitrary commands on the server.

*CVSS:

Base Score: 2.1
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Required
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 1.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

For Hastymail 1.0.2:
Refer to Security Update 10-08-2006, available from the Hastymail Web page. See References.

For Hastymail 1.5:
Refer to Security Update 10-08-2006, available from the Hastymail Web page. See References.

References:

  • BugTraq Mailing List, Sat Dec 02 2006 - 15:21:59 CST : [ISecAuditors Security Advisories] IMAP/SMTP Injection in Hastymail.
  • Hastymail Web page: Hastymail - Security .
  • Hastymail Web site: Hastymail - Main page.
  • BID-20424: Hastymail IMAP SMTP Command Injection Vulnerability
  • CVE-2006-5262: CRLF injection vulnerability in lib/session.php in Hastymail 1.5 and earlier before 20061008 allows remote authenticated users to send arbitrary IMAP commands via a CRLF sequence in a mailbox name. NOTE: the attack crosses privilege boundaries if the IMAP server configuration prevents a user from establishing a direct IMAP session.
  • CVE-2006-5313: Hastymail 1.5 and earlier before 20061008 allows remote authenticated users to send arbitrary SMTP commands by placing them after a CRLF.CRLF sequence in the smtp_message parameter. NOTE: this crosses privilege boundaries if the SMTP server configuration prevents a user from establishing a direct SMTP session. NOTE: this is a different type of issue than CVE-2006-5262.
  • SA22308: Hastymail IMAP / SMTP Command Injection Vulnerability
  • VUPEN/ADV-2006-3956: Hastymail IMAP and SMTP Variable Handling Command Injection Vulnerability

Platforms Affected:

  • Hastymail Hastymail 1.0.2
  • Hastymail Hastymail 1.5

Reported:

Oct 09, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.