Hastymail IMAP and SMTP server command execution
| hastymail-imap-command-execution (29407) |
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
* 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.
