Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows - Nessus

High   Plugin ID: 30152

This page contains detailed information about the Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 30152
Name: Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows
Filename: facebook_photo_uploader_4_5_57_1_activex_overflows.nasl
Vulnerability Published: N/A
This Plugin Published: 2008-02-05
Last Modification Time: 2018-11-15
Plugin Version: 1.23
Plugin Type: local
Plugin Family: Windows
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-2008-0660, CVE-2008-5711
CPE [?]: N/A
Exploited by Malware: True

Synopsis

The remote Windows host has an ActiveX control that is affected by multiple buffer overflow vulnerabilities.

Description

The remote host contains a version of the Facebook Photo Uploader ActiveX control that reportedly is affected by multiple buffer overflows involving, for example, long arguments to the control's 'ExtractExif', 'ExtractIptc', and 'FileMask' properties. If a remote attacker can trick a user on the affected host into visiting a specially crafted web page, this issue could be leveraged to execute arbitrary code on the affected host subject to the user's privileges.

Solution

Upgrade to Facebook Photo Uploader version 4.5.57.1 or later as it is rumored to resolve the issues.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows vulnerability:

  1. Metasploit: exploit/windows/browser/facebook_extractiptc
    [Facebook Photo Uploader 4 ActiveX Control Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/5049.html
    [EDB-5049: FaceBook PhotoUploader - 'ImageUploader4.ocx 4.5.57.0' Remote Buffer Overflow]
  3. Exploit-DB: exploits/windows/remote/5102.html
    [EDB-5102: FaceBook PhotoUploader 5.0.14.0 - Remote Buffer Overflow]
  4. Exploit-DB: exploits/windows/remote/16505.rb
    [EDB-16505: Facebook Photo Uploader 4 - ActiveX Control Buffer Overflow (Metasploit)]
  5. Immunity Canvas: D2ExploitPack

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:8.1 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.1 (High)

Go back to menu.

Plugin Source


This is the facebook_photo_uploader_4_5_57_1_activex_overflows.nasl nessus plugin source code. This script is Copyright (C) 2008-2018 and is owned by Tenable, Inc. or an Affiliate thereof.

#
#  (C) Tenable Network Security, Inc.
#



include("compat.inc");

if (description)
{
  script_id(30152);
  script_version("1.23");

  script_cve_id("CVE-2008-0660", "CVE-2008-5711");
  script_bugtraq_id(27534, 27576, 27756);
  script_xref(name:"EDB-ID", value:"5049");
  script_xref(name:"EDB-ID", value:"5102");
  script_xref(name:"Secunia", value:"28713");

  script_name(english:"Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows");
  script_summary(english:"Checks version of Facebook Photo Uploader ActiveX control");

 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that is affected by
multiple buffer overflow vulnerabilities." );
 script_set_attribute(attribute:"description", value:
"The remote host contains a version of the Facebook Photo Uploader
ActiveX control that reportedly is affected by multiple buffer
overflows involving, for example, long arguments to the control's
'ExtractExif', 'ExtractIptc', and 'FileMask' properties.  If a remote
attacker can trick a user on the affected host into visiting a
specially crafted web page, this issue could be leveraged to execute
arbitrary code on the affected host subject to the user's privileges." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2008/Feb/23" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Facebook Photo Uploader version 4.5.57.1 or later as it is
rumored to resolve the issues." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"exploited_by_malware", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'Facebook Photo Uploader 4 ActiveX Control Buffer Overflow');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
 script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack');
 script_cwe_id(119);

 script_set_attribute(attribute:"plugin_publication_date", value: "2008/02/05");
 script_cvs_date("Date: 2018/11/15 20:50:26");
script_set_attribute(attribute:"plugin_type", value:"local");
script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");
  script_copyright(english:"This script is Copyright (C) 2008-2018 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("global_settings.inc");
include("smb_func.inc");
include("smb_activex_func.inc");


if (!get_kb_item("SMB/Registry/Enumerated")) exit(0);


# Locate the file used by the controls.
if (activex_init() != ACX_OK) exit(0);

clsid = "{5C6698D9-7BE4-4122-8EC5-291D84DBD4A0}";
file = activex_get_filename(clsid:clsid);
if (file)
{
  # Check its version.
  ver = activex_get_fileversion(clsid:clsid);
  if (ver && activex_check_fileversion(clsid:clsid, fix:"4.5.57.1") == TRUE)
  {
    report = NULL;
    if (report_paranoia > 1)
      report = string(
        "Version ", ver, " of the vulnerable control is installed as :\n",
        "\n",
        "  ", file, "\n",
        "\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 if (activex_get_killbit(clsid:clsid) == 0)
      report = string(
        "Version ", ver, " of the vulnerable control is installed as :\n",
        "\n",
        "  ", file, "\n",
        "\n",
        "Moreover, its kill bit is not set so it is accessible via Internet\n",
        "Explorer.\n"
      );
    if (report)
    {
      if (report_verbosity) security_hole(port:kb_smb_transport(), extra:report);
      else security_hole(kb_smb_transport());
    }
  }
}
activex_end();

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/facebook_photo_uploader_4_5_57_1_activex_overflows.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\facebook_photo_uploader_4_5_57_1_activex_overflows.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/facebook_photo_uploader_4_5_57_1_activex_overflows.nasl

Go back to menu.

How to Run


Here is how to run the Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Windows plugin family.
  6. On the right side table select Facebook Photo Uploader ActiveX Control < 4.5.57.1 Multiple Buffer Overflows plugin ID 30152.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl facebook_photo_uploader_4_5_57_1_activex_overflows.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a facebook_photo_uploader_4_5_57_1_activex_overflows.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - facebook_photo_uploader_4_5_57_1_activex_overflows.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state facebook_photo_uploader_4_5_57_1_activex_overflows.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: CWE | Common Weakness Enumeration:
  • CWE-119 (Weakness) Improper Restriction of Operations within the Bounds of a Memory Buffer
See also: Similar and related Nessus plugins:
  • 23648 - WinZip FileView ActiveX Control Vulnerabilities
  • 24909 - TestDirector (TD) for Mercury Quality Center SPIDERLib.Loader ActiveX Control (Spider90.ocx) ProgColor Property Overflow
  • 25344 - ProgramChecker sasatl.dll ActiveX Control Multiple Overflows
  • 25442 - FlipViewer ActiveX Control < 4.1 Buffer Overflow Vulnerabilities
  • 26185 - EasyMail SMTP Object ActiveX Control Multiple Buffer Overflows
  • 27599 - FLEXnet Connect Update Service ActiveX Control Multiple Code Execution Vulnerabilities
  • 27618 - SonicWALL SSL-VPN NetExtender NELaunchCtrl ActiveX Control Multiple Overflows
  • 29725 - HP Info Center ActiveX Control Multiple Remote Vulnerabilities
  • 29801 - IBM Lotus Domino Web Access ActiveX Control Buffer Overflow Vulnerabilities
  • 29825 - XUpload ActiveX Control AddFolder Method Buffer Overflow
  • 30205 - Yahoo! Music Jukebox ActiveX Controls Buffer Overflows
  • 30219 - MySpace Uploader ActiveX Control < 1.0.0.6 Action Property Buffer Overflow
  • 31351 - Symantec Backup Exec Calendar ActiveX Control Multiple Vulnerabilities (SYM08-007)
  • 32082 - Akamai Download Manager ActiveX Control < 2.2.3.5 Remote Code Execution
  • 33102 - Akamai Download Manager ActiveX Control < 2.2.3.6 Arbitrary File Download
  • 33859 - WebEx Meeting Manager WebexUCFObject ActiveX Control Buffer Overflow
  • 34049 - Novell iPrint Client ActiveX Control Multiple Vulnerabilities
  • 34348 - GdPicture Multiple ActiveX Control SaveAsPDF Method Arbitrary File Overwrite
  • 34472 - LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 35403 - Symantec AppStream Client LaunchObj ActiveX Control Multiple Unsafe Methods (SYM09-001)
  • 35627 - AutoDesk LiveUpdate ActiveX Control ApplyPatch Method Execution
  • 35953 - Morovia Barcode ActiveX Control < 3.6.0 Arbitrary File Overwrite
  • 36087 - Autodesk IDrop ActiveX Control Heap Corruption
  • 36163 - SAP GUI KWEdit ActiveX Control SaveDocumentAs() Insecure Method
  • 38977 - IBM Access Support ActiveX Control GetXMLValue Method Overflow
  • 41062 - Altiris Altiris.AeXNSPkgDL.1 ActiveX Control DownloadAndInstall() Method Arbitrary Code Execution
  • 41945 - FlexCell Grid FlexCell.Grid ActiveX Control Multiple Method Arbitrary File Overwrite

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file facebook_photo_uploader_4_5_57_1_activex_overflows.nasl version 1.23. For more plugins, visit the Nessus Plugin Library.

Go back to menu.