Vulnerabilities > CVE-2012-6429 - Buffer Errors vulnerability in Samsung Kies 2.3.2.12074/2.3.2.120741313/2.5.0.120942711

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
samsung
CWE-119
critical
nessus
exploit available

Summary

Buffer overflow in the PrepareSync method in the SyncService.dll ActiveX control in Samsung Kies before 2.5.1.12123_2_7 allows remote attackers to execute arbitrary code via a long string to the password argument.

Vulnerable Configurations

Part Description Count
Application
Samsung
3

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionSamsung Kies Remote Buffer Overflow Vulnerability. CVE-2012-6429. Remote exploit for windows platform
idEDB-ID:38206
last seen2016-02-04
modified2013-01-09
published2013-01-09
reporterHigh-Tech Bridge
sourcehttps://www.exploit-db.com/download/38206/
titleSamsung Kies Remote Buffer Overflow Vulnerability

Nessus

NASL familyWindows
NASL idSAMSUNG_KIES_PREPARESYNC_ACTIVEX_BOF.NASL
descriptionAccording to the version of Samsung Kies SyncService ActiveX installed on the remote host, the
last seen2020-06-01
modified2020-06-02
plugin id63686
published2013-01-24
reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/63686
titleSamsung Kies SyncService ActiveX PrepareSync() Buffer Overflow
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(63686);
  script_version("1.5");
  script_cvs_date("Date: 2019/12/04");

  script_cve_id("CVE-2012-6429");
  script_bugtraq_id(57249);

  script_name(english:"Samsung Kies SyncService ActiveX PrepareSync() Buffer Overflow");
  script_summary(english:"Checks version of ActiveX Control");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has software installed that is affected by a buffer
overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to the version of Samsung Kies SyncService ActiveX installed
on the remote host, the 'PrepareSync()' method is affected by a buffer
overflow vulnerability.

A remote attacker could use this vulnerability to cause a denial of
service or potentially execute arbitrary code.");
  script_set_attribute(attribute:"see_also", value:"https://www.htbridge.com/advisory/HTB23136");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Samsung Kies 2.5.1.12123_2_7 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2012-6429");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2013/01/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/12/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:samsung:kies");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}

include("audit.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("smb_activex_func.inc");
include("smb_reg_query.inc");
include("misc_func.inc");

get_kb_item_or_exit("SMB/Registry/Enumerated");

clsid = '{EA8A3985-F9DF-4652-A255-E4E7772AFCA8}';

if (activex_init() != ACX_OK) exit(1, "activex_init() failed.");

file = activex_get_filename(clsid:clsid);
if (isnull(file))
{
  activex_end();
  exit(1, "activex_get_filename() returned NULL.");
}
if (!file)
{
  activex_end();
  audit(AUDIT_ACTIVEX_NOT_FOUND, clsid);
}

# Get its version.
version = activex_get_fileversion(clsid:clsid);
if (!version) version = "unknown";

info = "";
if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
{
    info += '\n  Class identifier  : ' + clsid +
            '\n  Filename          : ' + file +
            '\n  Installed version : ' + version + '\n';
}
activex_end();

# Report findings.
if (info)
{
  if (report_paranoia > 1)
  {
    report = info +
      '\n' +
      'Note, though, that Nessus did not check whether the kill bit was\n' +
      'set for the control\'s CLSID because of the Report Paranoia setting\n' +
      'in effect when this scan was run.\n';
  }
  else
  {
    report = info +
      '\n' +
      'Additionally, the kill bit is not set for this ActiveX control,\n' +
      'making it accessible via Internet Explorer.\n';
  }

  if (report_verbosity > 0) security_hole(port:kb_smb_transport(), extra:report);
  else security_hole(kb_smb_transport());
  exit(0);
}
else
{
  if (version == "unknown") exit(0, "An unknown version of the control is installed, but its kill bit is set.");
  audit(AUDIT_ACTIVEX, version);
}

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/119423/samsungkies-overflow.txt
idPACKETSTORM:119423
last seen2016-12-05
published2013-01-10
reporterHigh-Tech Bridge SA
sourcehttps://packetstormsecurity.com/files/119423/Samsung-Kies-2.5.0.12114_1-Buffer-Overflow.html
titleSamsung Kies 2.5.0.12114_1 Buffer Overflow