Vulnerabilities > CVE-2010-1622 - Code Injection vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
oracle
springsource
CWE-94
nessus
exploit available

Summary

SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by a URL of a crafted .jar file.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Exploit-Db

descriptionSpring Framework arbitrary code execution. CVE-2010-1622. Webapps exploits for multiple platform
fileexploits/multiple/webapps/13918.txt
idEDB-ID:13918
last seen2016-02-01
modified2010-06-18
platformmultiple
port
published2010-06-18
reporterMeder Kydyraliev
sourcehttps://www.exploit-db.com/download/13918/
titleSpring Framework arbitrary code execution
typewebapps

Nessus

NASL familyWindows
NASL idORACLE_WEBCENTER_SITES_OCT_2015_CPU.NASL
descriptionThe version Oracle WebCenter Sites installed on the remote host is missing security patches from the October 2015 Critical Patch Update (CPU). It is, therefore, affected by multiple vulnerabilities : - A flaw exists in the bundled SpringSource Spring Framework that allows a remote attacker to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by an URL of a crafted .jar file. (CVE-2010-1622) - An unspecified flaw exists in the Security subcomponent that allows a remote attacker to impact integrity. (CVE-2015-4799)
last seen2020-06-01
modified2020-06-02
plugin id86577
published2015-10-23
reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/86577
titleOracle WebCenter Sites Multiple Vulnerabilities (October 2015 CPU)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(86577);
  script_version("1.7");
  script_cvs_date("Date: 2019/11/20");

  script_cve_id("CVE-2010-1622", "CVE-2015-4799");
  script_bugtraq_id(40954);

  script_name(english:"Oracle WebCenter Sites Multiple Vulnerabilities (October 2015 CPU)");
  script_summary(english:"Checks for Oracle 2015 CPU patches.");

  script_set_attribute(attribute:"synopsis", value:
"The website content management system installed on the remote host is
affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version Oracle WebCenter Sites installed on the remote host is
missing security patches from the October 2015 Critical Patch Update
(CPU). It is, therefore, affected by multiple vulnerabilities :

  - A flaw exists in the bundled SpringSource Spring
    Framework that allows a remote attacker to execute
    arbitrary code via an HTTP request containing
    class.classLoader.URLs[0]=jar: followed by an URL of a
    crafted .jar file. (CVE-2010-1622)

  - An unspecified flaw exists in the Security subcomponent
    that allows a remote attacker to impact integrity.
    (CVE-2015-4799)");
  # http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?75a4a4fb");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the October 2015 Oracle
Critical Patch Update advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2010-1622");

  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:"2010/04/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2015/10/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/23");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:fusion_middleware");
  script_end_attributes();

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

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

  script_dependencies("oracle_webcenter_sites_installed.nbin");
  script_require_keys("SMB/WebCenter_Sites/Installed");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("smb_func.inc");
include("misc_func.inc");

port = kb_smb_transport();

get_kb_item_or_exit('SMB/WebCenter_Sites/Installed');

versions = get_kb_list('SMB/WebCenter_Sites/*/Version');
if (isnull(versions)) exit(1, 'Unable to obtain a version list for Oracle WebCenter Sites.');

report = '';

foreach key (keys(versions))
{
  fix = '';

  version = versions[key];
  revision = get_kb_item(key - '/Version' + '/Revision');
  path = get_kb_item(key - '/Version' + '/Path');

  if (isnull(version) || isnull(revision)) continue;

  # Patch 21494888 - 11.1.1.8.0 < Revision 172153
  if (version =~ "^11\.1\.1\.8\.0$" && revision < 172153)
    fix = '\n  Fixed revision : 172153' +
          '\n  Required patch : 21494888';

  # Patch 21494867 - 11.1.1.6.1 < Revision 172158
  if (version =~ "^11\.1\.1\.6\.1$" && revision < 172158)
    fix = '\n  Fixed revision : 172158' +
          '\n  Required patch : 21494867';

  # Patch 21834997 - 7.6.2 < Revision 179663
  if (version =~ "^7\.6\.2(\.|$)" && revision < 179663)
    fix = '\n  Fixed revision : 179663' +
          '\n  Required patch : 21834997';

  if (fix != '')
  {
    if (!isnull(path)) report += '\n  Path           : ' + path;
    report += '\n  Version        : ' + version +
              '\n  Revision       : ' + revision +
              fix + '\n';
  }
}

if (report != '')
{
  if (report_verbosity > 0) security_warning(port:port, extra:report);
  else security_warning(port);
}
else audit(AUDIT_INST_VER_NOT_VULN, "Oracle WebCenter Sites");

Redhat

advisories
rhsa
idRHSA-2011:0175
rpms
  • jboss-wfk-1.0.0-uninstall-0:1.0.0-3.ep5.el4
  • jboss-wfk-1.0.0-uninstall-0:1.0.0-3.ep5.el5

Seebug

  • bulletinFamilyexploit
    descriptionBUGTRAQ ID: 40954 CVE ID: CVE-2010-1622 Spring是一个广泛部署的开源架构,帮助开发人员构建高质量的应用。 Spring框架提供了允许使用客户端所提供的数据来更新对象属性的机制,而该机制允许攻击者修改用于通过class.classloader加载对象的类加载器的属性,这可能导致执行任意命令。例如,攻击者可以将类加载器所使用的URL修改到受控的位置。 0 SpringSource Spring Framework 3.0.0 - 3.0.2 SpringSource Spring Framework 2.5.0 - 2.5.7 厂商补丁: SpringSource ------------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: http://www.springsource.com/
    idSSV:19835
    last seen2017-11-19
    modified2010-06-21
    published2010-06-21
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-19835
    titleSpring Framework class.classLoader类远程代码执行漏洞
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:69071
    last seen2017-11-19
    modified2014-07-01
    published2014-07-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-69071
    titleSpring Framework arbitrary code execution