ID CVE-2013-1768
Summary The BrokerFactory functionality in Apache OpenJPA 1.x before 1.2.3 and 2.x before 2.2.2 creates local executable JSP files containing logging trace data produced during deserialization of certain crafted OpenJPA objects, which makes it easier for remote attackers to execute arbitrary code by creating a serialized object and leveraging improperly secured server programs.
References
Vulnerable Configurations
  • Apache Software Foundation OpenJPA 1.0.0
    cpe:2.3:a:apache:openjpa:1.0.0
  • Apache Software Foundation OpenJPA 1.0.1
    cpe:2.3:a:apache:openjpa:1.0.1
  • Apache Software Foundation OpenJPA 1.0.2
    cpe:2.3:a:apache:openjpa:1.0.2
  • Apache Software Foundation OpenJPA 1.0.3
    cpe:2.3:a:apache:openjpa:1.0.3
  • Apache Software Foundation OpenJPA 1.0.4
    cpe:2.3:a:apache:openjpa:1.0.4
  • Apache Software Foundation OpenJPA 1.1.0
    cpe:2.3:a:apache:openjpa:1.1.0
  • Apache Software Foundation OpenJPA 1.2.0
    cpe:2.3:a:apache:openjpa:1.2.0
  • Apache Software Foundation OpenJPA 1.2.1
    cpe:2.3:a:apache:openjpa:1.2.1
  • Apache Software Foundation OpenJPA 1.2.2
    cpe:2.3:a:apache:openjpa:1.2.2
  • Apache Software Foundation OpenJPA 2.0.0
    cpe:2.3:a:apache:openjpa:2.0.0
  • Apache Software Foundation OpenJPA 2.0.1
    cpe:2.3:a:apache:openjpa:2.0.1
  • Apache Software Foundation OpenJPA 2.1.0
    cpe:2.3:a:apache:openjpa:2.1.0
  • Apache Software Foundation OpenJPA 2.1.1
    cpe:2.3:a:apache:openjpa:2.1.1
  • Apache Software Foundation OpenJPA 2.2.0
    cpe:2.3:a:apache:openjpa:2.2.0
  • Apache Software Foundation OpenJPA 2.2.1
    cpe:2.3:a:apache:openjpa:2.2.1
CVSS
Base: 7.5 (as of 12-07-2013 - 11:16)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • 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.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-246.NASL
    description Updated openjpa packages fix security vulnerability : The BrokerFactory functionality in Apache OpenJPA before 2.2.2 creates local executable JSP files containing logging trace data produced during deserialization of certain crafted OpenJPA objects, which makes it easier for remote attackers to execute arbitrary code by creating a serialized object and leveraging improperly secured server programs (CVE-2013-1768).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 70325
    published 2013-10-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70325
    title Mandriva Linux Security Advisory : openjpa (MDVSA-2013:246)
  • NASL family Web Servers
    NASL id WEBSPHERE_8_0_0_7.NASL
    description IBM WebSphere Application Server 8.0 before Fix Pack 7 appears to be running on the remote host. It is, therefore, potentially affected by the following vulnerabilities : - A flaw exists related to Apache Ant and file compression that could lead to denial of service conditions. (CVE-2012-2098 / PM90088) - The TLS protocol in the GSKIT component is vulnerable to a plaintext recovery attack. (CVE-2013-0169 / PM85211) - A flaw exists relating to OAuth that could allow a remote attacker to obtain someone else's credentials. (CVE-2013-0597 / PM85834 / PM87131) - A flaw exists relating to OpenJPA that is triggered during deserialization, which could allow a remote attacker to write to the file system and potentially execute arbitrary code. Note the vendor states this application is not directly affected by this flaw; however, this application does include the affected version of OpenJPA. (CVE-2013-1768 / PM86780) - An input validation flaw exists in the optional 'mod_rewrite' module in the included IBM HTTP Server that could allow arbitrary command execution via HTTP requests containing certain escape sequences. (CVE-2013-1862 / PM87808) - A flaw exists related to the optional 'mod_dav' module in the included IBM HTTP Server that could allow denial of service conditions. (CVE-2013-1896 / PM89996) - User-supplied input validation errors exist related to the administrative console that could allow cross-site scripting attacks. (CVE-2013-2967 / PM78614, CVE-2013-4004 / PM81571, CVE-2013-4005 / PM88208) - An information disclosure vulnerability exists related to incorrect caching by the administrative console. (CVE-2013-2976 / PM79992) - A user-supplied input validation error exists that could allow cross-site request forgery (CSRF) attacks to be carried out. (CVE-2013-3029 / PM88746)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 69449
    published 2013-08-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69449
    title IBM WebSphere Application Server 8.0 < Fix Pack 7 Multiple Vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-12948.NASL
    description fix for CVE-2013-1768 rhbz#984034,984040. fix ant.d script. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 68987
    published 2013-07-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68987
    title Fedora 19 : openjpa-2.2.1-6.fc19 (2013-12948)
  • NASL family Web Servers
    NASL id WEBSPHERE_8_5_5.NASL
    description IBM WebSphere Application Server 8.5 before Fix Pack 8.5.5 appears to be running on the remote host and is, therefore, potentially affected by the following vulnerabilities : - The TLS protocol in the GSKIT component is vulnerable to a plaintext recovery attack. (CVE-2013-0169, PM85211) - The WS-Security run time contains a flaw that could be triggered by a specially crafted SOAP request to execute arbitrary code. (CVE-2013-0482, PM76582) - A flaw exists relating to OAuth that could allow a remote attacker to obtain someone else's credentials. (CVE-2013-0597, PM85834, PM87131) - A flaw exists relating to OpenJPA that is triggered during deserialization, which could allow a remote attacker to write to the file system and potentially execute arbitrary code. (CVE-2013-1768, PM86780, PM86786, PM86788, PM86791) - An unspecified cross-site scripting vulnerability exists related to the administrative console. (CVE-2013-2967, PM78614) - An unspecified vulnerability exists. (CVE-2013-2975) - An information disclosure vulnerability exists relating to incorrect caching by the administrative console. (CVE-2013-2976, PM79992) - An improper process initialization flaw exists on UNIX platforms that could allow a local attacker to execute arbitrary commands. (CVE-2013-3024, PM86245)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 69021
    published 2013-07-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69021
    title IBM WebSphere Application Server 8.5 < Fix Pack 8.5.5 Multiple Vulnerabilities
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-12967.NASL
    description fix for CVE-2013-1768 rhbz#984034,984040. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 68989
    published 2013-07-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68989
    title Fedora 17 : openjpa-2.2.0-3.fc17 (2013-12967)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-12960.NASL
    description fix for CVE-2013-1768 rhbz#984034,984040 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 68988
    published 2013-07-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68988
    title Fedora 18 : openjpa-2.2.0-3.fc18 (2013-12960)
  • NASL family Web Servers
    NASL id WEBSPHERE_7_0_0_29.NASL
    description IBM WebSphere Application Server 7.0 before Fix Pack 29 appears to be running on the remote host. It is, therefore, potentially affected by the following vulnerabilities : - The TLS protocol in the GSKIT component is vulnerable to a plaintext recovery attack. (CVE-2013-0169, PM85211) - The WS-Security run time contains a flaw that could be triggered by a specially crafted SOAP request to execute arbitrary code. (CVE-2013-0482, PM76582) - A denial of service vulnerability exists, caused by a buffer overflow on localOS registry when using WebSphere Identity Manager (WIM). (CVE-2013-0541, PM74909) - An unspecified cross-site scripting vulnerability exists related to the administrative console. (CVE-2013-0542, CVE-2013-2967, PM78614, PM81846) - A validation flaw exists relating to 'Local OS registries' that may allow a remote attacker to bypass security. (CVE-2013-0543, PM75582) - A directory traversal vulnerability exists in the administrative console via the 'PARAMETER' parameter. (CVE-2013-0544, PM82468) - A flaw exists relating to OAuth that could allow a remote attacker to obtain someone else's credentials. (CVE-2013-0597, PM85834, PM87131) - A flaw exists relating to OpenJPA that is triggered during deserialization that may allow a remote attacker to write to the file system and potentially execute arbitrary code. (CVE-2013-1768, PM86780, PM86786, PM86788, PM86791) - An information disclosure issue exists relating to incorrect caching by the administrative console. (CVE-2013-2976, PM79992) - A user-supplied input validation error exists that could allow cross-site request (CSRF) attacks to be carried out. (CVE-2013-3029, PM88746)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 68982
    published 2013-07-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68982
    title IBM WebSphere Application Server 7.0 < Fix Pack 29 Multiple Vulnerabilities
  • NASL family Web Servers
    NASL id WEBSPHERE_6_1_0_47.NASL
    description IBM WebSphere Application Server 6.1 before Fix Pack 47 appears to be running on the remote host. As such, it is potentially affected by the following vulnerabilities : - A remote attacker can bypass authentication because of improper user validation on Linux, Solaris, and HP-UX platforms that use a LocalOS registry. (CVE-2013-0543, PM75582) - A denial of service can be caused by the way Apache Ant uses bzip2 to compress files. This can be exploited by a local attacker passing specially crafted input. (CVE-2012-2098, PM90088) - A local attacker can cause a denial of service on Windows platforms with a LocalOS registry using WebSphere Identity Manager. (CVE-2013-0541, PM74909) - Remote attackers can traverse directories by deploying a specially crafted application file to overwrite files outside of the application deployment directory. (CVE-2012-3305, PM62467) - The TLS protocol implementation is susceptible to plaintext-recovery attacks via statistical analysis of timing data for crafted packets. (CVE-2013-0169, PM85211) - Terminal escape sequences are not properly filtered from logs. Remote attackers could execute arbitrary commands via an HTTP request containing an escape sequence. (CVE-2013-1862, PM87808) - Improper validation of user input allows for cross-site request forgery. By persuading an authenticated user to visit a malicious website, a remote attacker could exploit this vulnerability to obtain sensitive information. (CVE-2012-4853, CVE-2013-3029, PM62920, PM88746) - Improper validation of user input in the administrative console allows for multiple cross-site scripting attacks. (CVE-2013-0458, CVE-2013-0459, CVE-2013-0461, CVE-2013-0542, CVE-2013-0596, CVE-2013-2967, CVE-2013-4005, CVE-2013-4052, PM71139, PM72536, PM71389, PM73445, PM78614, PM81846, PM88208, PM91892) - Improper validation of portlets in the administrative console allows for cross-site request forgery, which could allow an attacker to obtain sensitive information. (CVE-2013-0460, PM72275) - Remote, authenticated attackers can traverse directories on Linux and UNIX systems running the application. (CVE-2013-0544, PM82468) - A denial of service attack is possible if the optional mod_dav module is being used. (CVE-2013-1896, PM89996) - Sensitive information can be obtained by a local attacker because of incorrect caching by the administrative console. (CVE-2013-2976, PM79992) - An attacker may gain elevated privileges because of improper certificate checks. WS-Security and XML Digital Signatures must be enabled. (CVE-2013-4053, PM90949, PM91521) - Deserialization of a maliciously crafted OpenJPA object can result in an executable file being written to the file system. WebSphere is NOT vulnerable to this issue but the vendor suggests upgrading to be proactive. (CVE-2013-1768, PM86780, PM86786, PM86788, PM86791)
    last seen 2019-02-21
    modified 2018-08-06
    plugin id 70022
    published 2013-09-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70022
    title IBM WebSphere Application Server 6.1 < Fix Pack 47 Multiple Vulnerabilities
  • NASL family Misc.
    NASL id ORACLE_WEBLOGIC_SERVER_CPU_APR_2018.NASL
    description The version of Oracle WebLogic Server installed on the remote host is affected by multiple vulnerabilities
    last seen 2019-02-21
    modified 2018-11-15
    plugin id 109201
    published 2018-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=109201
    title Oracle WebLogic Server Multiple Vulnerabilities (April 2018 CPU)
redhat via4
advisories
rhsa
id RHSA-2013:1862
refmap via4
aixapar
  • PM86780
  • PM86786
  • PM86788
  • PM86791
bid 60534
confirm
fulldisc 20130612 [CVE-2013-1768] Apache OpenJPA security vulnerability
misc http://www-01.ibm.com/support/docview.wss?uid=swg21635999
xf openjpa-cve20131768-command-execution(82268)
Last major update 03-01-2014 - 23:45
Published 11-07-2013 - 18:55
Last modified 19-04-2018 - 21:29
Back to Top