__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Microsoft Unchecked Buffer in Content Management Server [Microsoft Security Bulletin MS02-041] August 8, 2002 19:00 GMT Number M-107 ______________________________________________________________________________ PROBLEM: Three vulnerabilities have been identified in the Microsoft Content Management Server (MCMS). 1) Buffer Overrun in MCMS Authentication Operation 2) Program Execution via MCMS Authoring Function 3) SQL Injection via MCMS Resource Request SOFTWARE: Microsoft Content Management Server 2001 DAMAGE: Exploiting these vulnerabilities range from a buffer overrun to gaining root access. SOLUTION: Apply available patches. ______________________________________________________________________________ VULNERABILITY The risk is HIGH. The most serious of these vulnerabilities ASSESSMENT: could enable an attacker to gain full control over the server. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/m-107.shtml ORIGINAL BULLETIN: http://www.microsoft.com/technet/treeview/default.asp?url=/ technet/security/bulletin/MS02-041.asp PATCHES: http://www.microsoft.com/Downloads/Release.asp?ReleaseID=41266 ______________________________________________________________________________ [***** Start Microsoft Security Bulletin MS02-041 *****] Microsoft Security Bulletin MS02-041 Unchecked Buffer in Content Management Server Could Enable Server Compromise (Q326075) Originally posted: August 7, 2002 Summary Who should read this bulletin: System administrators using Microsoft® Content Management Server 2001. Impact of vulnerability: Three vulnerabilities, the most serious of which could enable an attacker to gain full control over the server Maximum Severity Rating: Critical Recommendation: System administrators should apply the patch immediately. Affected Software: Microsoft Content Management Server 2001 Technical details Technical description: Microsoft Content Management Server (MCMS) 2001 is a .Net Enterprise Server product that simplifies developing and managing e-business web sites. Microsoft has learned of three security vulnerabilities affecting it: A buffer overrun in a low-level function that performs user authentication. At least one web page included with MCMS 2001 passes inputs directly to the function, thereby potentially providing a way for an attacker to overrun the buffer. The result of exploiting the vulnerability would be to either cause MCMS to fail, or run code in the context of the MCMS service (which runs as Local System). A vulnerability resulting from the confluence of two flaws affecting a function that allows files to be uploaded to the server. The first flaw lies in how the function authenticates requests, and would allow any user to submit an upload request. The second results because it is possible to override the upload location; where the function should upload files to a folder that only privileged users can access, it can be overridden to upload it to a temporary folder that does allow unprivileged users to call it. By exploiting the two flaws in tandem, an attacker could upload an .ASP or other file to the server, in a location from which it could be executed. A SQL injection vulnerability affecting a function that services requests for image files and other resources. Exploiting the vulnerability could enable an attacker to run SQL commands on the server, which would not only allow data in the MCMS database to be added, changed or deleted, but also would enable the attacker to run operating system commands on the server. Mitigating factors: Buffer Overrun in MCMS Authentication Operation: The scope of the vulnerability could be significantly reduced if the URLScan tool were deployed on the server. It is likely that in this case, the vulnerability could only be used for denial of service attacks. Program Execution via MCMS Authoring Function: Exploiting the vulnerability would not grant the attacker administrative privileges on the server. Instead, the attacker's code would execute in the security context of the Web Application Manager (the IWAM_computername account), which has similar privileges to those of an interactively logged-on user. SQL Injection via MCMS Resource Request: Exploiting the vulnerability would not grant the attacker administrative privileges on the server. Instead, any operating system commands would be levied in the security context of the SQL Server™ 2000 service, which by default has only Domain User privileges. Severity Rating: Buffer Overrun in MCMS Authentication Operation: Internet Servers - Critical Intranet Servers - Critical Client Systems - None Program Execution via MCMS Authoring Function: Internet Servers - Moderate Intranet Servers - Moderate Client Systems - None SQL Injection via MCMS Resource Request: Internet Servers - Moderate Intranet Servers - Moderate Client Systems - None The above assessment is based on the types of systems affected by the vulnerability, their typical deployment patterns, and the effect that exploiting the vulnerability would have on them. Vulnerability identifiers: Buffer Overrun in MCMS Authentication Operation: CVE-CAN-2002-0700 Program Execution via MCMS Authoring Function: CVE-CAN-2002-0718 SQL Injection via MCMS Resource Request: CVE-CAN-2002-0719 Tested Versions: Microsoft tested Microsoft Content Management Server 2001 to assess whether it is affected by these vulnerabilities. Previous versions are no longer supported, and may or may not be affected by these vulnerabilities. Patch availability Download locations for this patch Microsoft Content Management Server 2001: http://www.microsoft.com/Downloads/Release.asp?ReleaseID=41266 Additional information about this patch Installation platforms: This patch can be installed on systems running Microsoft Content Management Server 2001 Service Pack 1 Inclusion in future service packs: The fix for this issue will be included in Microsoft Content Management Server 2001 Service Pack 2. Reboot needed: No Patch can be uninstalled: Yes Superseded patches: None. Verifying patch installation: To verify that the patch has been installed on the machine, confirm that the following registry key has been created on the machine: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\MCMS 2001\Q326075 Caveats: None Localization: Microsoft Content Management Server 2001 is English only, so localized patches are not required. Obtaining other security patches: Patches for other security issues are available from the following locations: Security patches are available from the Microsoft Download Center, and can be most easily found by doing a keyword search for "security_patch". Patches for consumer platforms are available from the WindowsUpdate web site Other information: Acknowledgments Microsoft thanks Joao Gouveia for reporting this issue to us and working with us to protect customers. Support: Microsoft Knowledge Base article Q326075 discusses this issue and will be available approximately 24 hours after the release of this bulletin. Knowledge Base articles can be found on the Microsoft Online Support web site. Technical support is available from Microsoft Product Support Services. There is no charge for support calls associated with security patches. Security Resources: The Microsoft TechNet Security Web Site provides additional information about security in Microsoft products. Disclaimer: The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. Revisions: V1.0 (August 7, 2002): Bulletin Created. [***** End Microsoft Security Bulletin MS02-041 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Microsoft for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) M-097: Cisco ACS Acme.server traversal Vulnerability M-098: PGP Outlook Encryption Plug-in Vulnerability M-099: Microsoft Cumulative Patch for SQL Server M-100: MS Server Response To SMTP Client EHLO Command M-101: MS Unchecked Buffer in SQL Server 2000 Utilities M-102: MS SQL Server 2000 Resolution Service Buffer Overflow M-103: Multiple Vulnerabilities in OpenSSL M-104: Red Hat Linux Passwork Locking Race Vulnerability M-105: Unchecked Buffer in MDAC Function Vulnerability M-106: Cisco Concentrator RADIUS PAP Authentication Vulnerability