Executive Summary

Summary
Title Medicomp MEDCIN Engine contains multiple vulnerabilities
Informations
NameVU#675052First vendor Publication2015-10-20
VendorVU-CERTLast vendor Modification2015-10-20
Severity (Vendor) N/ARevisionM

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score7.5Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityLow
Cvss Expoit Score10AuthenticationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#675052

Medicomp MEDCIN Engine contains multiple vulnerabilities

Original Release date: 20 Oct 2015 | Last revised: 20 Oct 2015

Overview

Medicomp's MEDCIN Engine provide electronic health records (EHR) tools and information to medical professionals. MEDCIN Engine versions before version 2.22.20153.226 are vulnerable to several buffer overflows.

Description

Medicomp MEDCIN Engine prior to version 2.22.20153.226 is vulnerable to several buffer overflows and an out-of-bounds write.

CWE-121: Stack-based Buffer Overflow - CVE-2015-2898, CVE-2015-2901

An unauthenticated remote attacker may send a specially crafted packet over port 8190 and cause a stack buffer overflow.

The API functions SetGroupSequenceEx's na_setgroupsequenceex, FormatDate's julptostr, and UserFindingCodes's addtocl are vulnerable, and are identified by CVE-2015-2898. These functions do not properly check input sizes, allowing buffer overflows. This vulnerability affects version 2.22.20142.166 and previous versions.

The API functions GetProperty's info_getproperty and UdfCodeList are vulnerable, and are identified by CVE-2015-2901. These functions do not properly check input sizes, allowing buffer overflows. This vulnerability only affects version 2.22.20142.166.

CWE-122: Heap-based Buffer Overflow - CVE-2015-2899

An unauthenticated remote attacker may send a specially crafted packet over port 8190 and cause a heap buffer overflow. The QualifierList API function retrieve_qualifier_list may be overflowed if a list name is too long. This vulnerability affects version 2.22.20142.166 and previous versions.

CWE-787: Out-of-bounds Write - CVE-2015-2900

An unauthenticated remote attacker may send a specially crafted packet over port 8190 and may overwrite data in memory. The AddUserFinding API function add_userfinding2 may be used to overwrite memory. This vulnerability affects version 2.22.20142.166 and previous versions.

CWE-197: Numeric Truncation Error
CWE-680: Integer Overflow to Buffer Overflow - CVE-2015-6006

An unauthenticated remote attacker may send a specially crafted packet over port 8190 that may allow writing to out of bounds memory due to improper integer truncation. AddUserFinding accepts a user-controlled string and uses the length of the string to calculate where in the buffer to place data. If this string is above a length of 0x7fff, it will be truncated to a negative value and allow an attacker to write to memory outside of the bounds of the buffer. An attacker may be able to gain control of the flow of the program. This vulnerability was introduced in version 2.22.20153.223.

Impact

An unauthenticated remote attacker sending a specially crafted packet may be able to overwrite data in memory, cause the software to leak information to the attacker, and/or cause a denial of service. A remote attacker may also be able to execute code.

Solution

Apply an update

Medicomp has released version 2.22.20153.226 which addresses these issues. Affected users are encouraged to update as soon as possible.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
MedicompAffected27 Jul 201506 Aug 2015
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
Temporal5.8E:POC/RL:U/RC:UR
Environmental5.0CDP:ND/TD:M/CR:H/IR:H/AR:ND

References

  • http://www.securifera.com/advisories/CVE-2015-2898-2901
  • http://cwe.mitre.org/data/definitions/121.html
  • http://cwe.mitre.org/data/definitions/122.html
  • http://cwe.mitre.org/data/definitions/197.html
  • http://cwe.mitre.org/data/definitions/680.html
  • http://cwe.mitre.org/data/definitions/787.html

Credit

Thanks to Ryan Wincey for reporting this vulnerability.

This document was written by Garret Wassermann.

Other Information

  • CVE IDs:CVE-2015-2898CVE-2015-2899CVE-2015-2900CVE-2015-2901CVE-2015-6006
  • Date Public:20 Oct 2015
  • Date First Published:20 Oct 2015
  • Date Last Updated:20 Oct 2015
  • Document Revision:79

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/675052

CWE : Common Weakness Enumeration

%idName
100 %CWE-119Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application2

Alert History

If you want to see full details history, please login or register.
0
1
2
3
DateInformations
2015-10-31 00:27:34
  • Multiple Updates
2015-10-29 21:28:05
  • Multiple Updates
2015-10-29 17:27:07
  • Multiple Updates
2015-10-20 21:21:09
  • First insertion