ID SECURITYVULNS:DOC:8709 Type securityvulns Reporter Securityvulns Modified 2005-05-25T00:00:00
Description
Ipswitch IMail IMAP SELECT Command DoS Vulnerability
iDEFENSE Security Advisory 05.24.05
www.idefense.com/application/poi/display?id=241&type=vulnerabilities
May 24, 2005
I. BACKGROUND
Ipswitch IMail server is a Windows based messaging solution with a
customer base of over 53 million users. More information about the
application is available at:
Remote exploitation of a denial of service vulnerability in Ipswitch
Inc.'s Imail IMAP server allows attackers to crash the target service
thereby preventing legitimate usage.
The problem specifically exists in the handling of long arguments to the
SELECT command. When a string approximately 260 bytes in size is
supplied a stack-based buffer overflow occurs that results in an
unhandled access violation forcing the daemon to exit. The issue is not
believed to be further exploitable.
III. ANALYSIS
Successful exploitation allows remote to crash vulnerable IMAP servers
and thereby prevent legitimate usage. The SELECT command is only
available post authentication and therefore valid credentials are
required to exploit this vulnerability
IV. DETECTION
iDEFENSE has confirmed the existence of this vulnerability in the latest
version of Ipswitch IMAIL, version 8.13. Version 8.12 is also confirmed
as vulnerable. It is suspected that earlier versions are vulnerable as
well.
V. WORKAROUND
As this vulnerability is exploited after authentication occurs, ensuring
that only trusted users have accounts can mitigate the risk somwhat. As
a more effective workaround, consider limiting access to the IMAP server
by filtering TCP port 143. If possible, consider disabling IMAP and
forcing users to use POP3.
VI. VENDOR RESPONSE
The vendor has released the following patch to fix this vulnerability:
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-1254 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.
Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp
Free tools, research and upcoming events
http://labs.idefense.com
X. LEGAL NOTICES
Copyright (c) 2005 iDEFENSE, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
{"id": "SECURITYVULNS:DOC:8709", "bulletinFamily": "software", "title": "iDEFENSE Security Advisory 05.24.05: Ipswitch IMail IMAP SELECT Command DoS Vulnerability", "description": "Ipswitch IMail IMAP SELECT Command DoS Vulnerability\r\n\r\niDEFENSE Security Advisory 05.24.05\r\nwww.idefense.com/application/poi/display?id=241&type=vulnerabilities\r\nMay 24, 2005\r\n\r\nI. BACKGROUND\r\n\r\nIpswitch IMail server is a Windows based messaging solution with a\r\ncustomer base of over 53 million users. More information about the\r\napplication is available at:\r\n\r\n http://www.ipswitch.com/products/IMail_Server/index.html.\r\n\r\nII. DESCRIPTION\r\n\r\nRemote exploitation of a denial of service vulnerability in Ipswitch\r\nInc.'s Imail IMAP server allows attackers to crash the target service\r\nthereby preventing legitimate usage.\r\n\r\nThe problem specifically exists in the handling of long arguments to the\r\nSELECT command. When a string approximately 260 bytes in size is\r\nsupplied a stack-based buffer overflow occurs that results in an\r\nunhandled access violation forcing the daemon to exit. The issue is not\r\nbelieved to be further exploitable.\r\n\r\nIII. ANALYSIS\r\n\r\nSuccessful exploitation allows remote to crash vulnerable IMAP servers\r\nand thereby prevent legitimate usage. The SELECT command is only\r\navailable post authentication and therefore valid credentials are\r\nrequired to exploit this vulnerability\r\n\r\nIV. DETECTION\r\n\r\niDEFENSE has confirmed the existence of this vulnerability in the latest\r\nversion of Ipswitch IMAIL, version 8.13. Version 8.12 is also confirmed\r\nas vulnerable. It is suspected that earlier versions are vulnerable as\r\nwell.\r\n\r\nV. WORKAROUND\r\n\r\nAs this vulnerability is exploited after authentication occurs, ensuring\r\n\r\nthat only trusted users have accounts can mitigate the risk somwhat. As \r\na more effective workaround, consider limiting access to the IMAP server\r\n\r\nby filtering TCP port 143. If possible, consider disabling IMAP and \r\nforcing users to use POP3.\r\n\r\nVI. VENDOR RESPONSE\r\n\r\nThe vendor has released the following patch to fix this vulnerability:\r\n\r\nftp://ftp.ipswitch.com/Ipswitch/Product_Support/IMail/imail82hf2.exe\r\n\r\nThe associated vendor advisory can be found at:\r\n\r\nhttp://www.ipswitch.com/support/imail/releases/imail_professional/im82hf\r\n2.html\r\n\r\nVII. CVE INFORMATION\r\n\r\nThe Common Vulnerabilities and Exposures (CVE) project has assigned the\r\nname CAN-2005-1254 to this issue. This is a candidate for inclusion in\r\nthe CVE list (http://cve.mitre.org), which standardizes names for\r\nsecurity problems.\r\n\r\nVIII. DISCLOSURE TIMELINE\r\n\r\n04/15/2005 Initial vendor notification\r\n05/10/2005 Initial vendor response\r\n05/24/2005 Coordinated public disclosure\r\n\r\nIX. CREDIT\r\n\r\nSebastian Apelt is credited with this discovery.\r\n\r\nGet paid for vulnerability research\r\nhttp://www.idefense.com/poi/teams/vcp.jsp\r\n\r\nFree tools, research and upcoming events\r\nhttp://labs.idefense.com\r\n\r\nX. LEGAL NOTICES\r\n\r\nCopyright (c) 2005 iDEFENSE, Inc.\r\n\r\nPermission is granted for the redistribution of this alert\r\nelectronically. It may not be edited in any way without the express\r\nwritten consent of iDEFENSE. If you wish to reprint the whole or any\r\npart of this alert in any other medium other than electronically, please\r\nemail customerservice@idefense.com for permission.\r\n\r\nDisclaimer: The information in the advisory is believed to be accurate\r\nat the time of publishing based on currently available information. Use\r\nof the information constitutes acceptance for use in an AS IS condition.\r\nThere are no warranties with regard to this information. Neither the\r\nauthor nor the publisher accepts any liability for any direct, indirect,\r\nor consequential loss or damage arising from use of, or reliance on,\r\nthis information.", "published": "2005-05-25T00:00:00", "modified": "2005-05-25T00:00:00", "cvss": {"score": 5.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:8709", "reporter": "Securityvulns", "references": [], "cvelist": ["CVE-2005-1254"], "type": "securityvulns", "lastseen": "2018-08-31T11:10:13", "edition": 1, "viewCount": 1, "enchantments": {"score": {"value": 6.0, "vector": "NONE", "modified": "2018-08-31T11:10:13", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2005-1254"]}, {"type": "osvdb", "idList": ["OSVDB:16807"]}], "modified": "2018-08-31T11:10:13", "rev": 2}, "vulnersScore": 6.0}, "affectedSoftware": []}
{"cve": [{"lastseen": "2021-02-02T05:24:36", "description": "Stack-based buffer overflow in the IMAP server for Ipswitch IMail 8.12 and 8.13, and other versions before IMail Server 8.2 Hotfix 2, allows remote authenticated users to cause a denial of service (crash) via a SELECT command with a large argument.", "edition": 6, "cvss3": {}, "published": "2005-05-25T04:00:00", "title": "CVE-2005-1254", "type": "cve", "cwe": ["NVD-CWE-Other"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 5.0, "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2005-1254"], "modified": "2008-11-15T05:46:00", "cpe": ["cpe:/a:ipswitch:imail:8.12", "cpe:/a:ipswitch:imail:8.13", "cpe:/a:ipswitch:imail:server_8.2_hotfix_2"], "id": "CVE-2005-1254", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-1254", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:N/I:N/A:P"}, "cpe23": ["cpe:2.3:a:ipswitch:imail:8.12:*:*:*:*:*:*:*", "cpe:2.3:a:ipswitch:imail:8.13:*:*:*:*:*:*:*", "cpe:2.3:a:ipswitch:imail:server_8.2_hotfix_2:*:*:*:*:*:*:*"]}], "osvdb": [{"lastseen": "2017-04-28T13:20:13", "bulletinFamily": "software", "cvelist": ["CVE-2005-1254"], "edition": 1, "description": "## Vulnerability Description\nA remote overflow exists in IMail Server. The IMAP service (IMAP4D32.EXE) fails to perform proper bounds checking resulting in a buffer overflow. By passing an overly long string to the 'SELECT' command, a remote attacker can cause the IMAP service to crash resulting in a loss of availability.\n## Technical Description\nValid login credentials are required to use the SELECT command.\n## Solution Description\nUpgrade to version 8.2 Hotfix 2 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.\n## Short Description\nA remote overflow exists in IMail Server. The IMAP service (IMAP4D32.EXE) fails to perform proper bounds checking resulting in a buffer overflow. By passing an overly long string to the 'SELECT' command, a remote attacker can cause the IMAP service to crash resulting in a loss of availability.\n## References:\n[Vendor Specific Advisory URL](http://www.ipswitch.com/support/imail/releases/imail_professional/im82hf2.html)\nSecurity Tracker: 1014047\n[Secunia Advisory ID:15483](https://secuniaresearch.flexerasoftware.com/advisories/15483/)\n[Related OSVDB ID: 16805](https://vulners.com/osvdb/OSVDB:16805)\n[Related OSVDB ID: 16806](https://vulners.com/osvdb/OSVDB:16806)\n[Related OSVDB ID: 16803](https://vulners.com/osvdb/OSVDB:16803)\n[Related OSVDB ID: 16804](https://vulners.com/osvdb/OSVDB:16804)\nOther Advisory URL: http://www.idefense.com/application/poi/display?id=241&type=vulnerabilities\nMail List Post: http://archives.neohapsis.com/archives/bugtraq/2005-05/0276.html\n[CVE-2005-1254](https://vulners.com/cve/CVE-2005-1254)\n", "modified": "2005-05-24T15:09:27", "published": "2005-05-24T15:09:27", "href": "https://vulners.com/osvdb/OSVDB:16807", "id": "OSVDB:16807", "type": "osvdb", "title": "Ipswitch IMail IMAP SELECT Command Remote DoS", "cvss": {"score": 5.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:NONE/I:NONE/A:PARTIAL/"}}]}