Information processing system and information processing device
The system addresses framework vulnerability risks by converting requests to a unified format, minimizing their impact on business applications and enabling swift updates, thus enhancing security and flexibility.
Patent Information
- Application Number
- JP2019192687
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-10-23
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2039-10-23
AI Technical Summary
Existing frameworks with security vulnerabilities pose challenges in determining their impact on applications and upgrading them is difficult due to application dependency, leading to increased risk.
An information processing system and device that includes an adapter unit to convert diverse requests into a single format (JSON) before passing them to a business processing unit, thereby reducing framework vulnerability risks and enabling quick updates without modifying business applications.
Reduces risks from framework vulnerabilities by limiting their impact on business applications and allowing for quick, flexible responses to security issues without requiring application updates.
Smart Images

Figure 0007536436000004 
Figure 0007536436000003 
Figure 0007536436000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a data processing technique, and more particularly to an information processing system and an information processing device. [Background technology]
[0002] In recent years, functions common to multiple applications that implement functions necessary for business processing have been implemented as an application framework (hereinafter simply referred to as a "framework"), and applications have been able to utilize the functions of the framework in order to improve the efficiency of system development (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-012272 A Summary of the Invention [Problem to be solved by the invention]
[0004] When a framework has a security vulnerability, it is not easy to confirm the extent of the vulnerability's impact on applications that use that framework. In addition, while it is possible to upgrade the framework to eliminate the vulnerability, this can be difficult when the application is highly dependent on the framework's existing functions.
[0005] The present invention has been made in consideration of the above-mentioned problems, and one object of the present invention is to reduce the risks caused by framework vulnerabilities. [Means for solving the problem]
[0006] In order to solve the above problems, an information processing system of one aspect of the present invention comprises a business processing unit that executes a business application that utilizes functions provided by an application framework, and an adapter unit that accepts multiple types of requests for the business application sent from an external device, converts the accepted requests into requests in a predetermined single format, and passes the converted requests to the business processing unit.
[0007] Another aspect of the present invention is an information processing device including: a reception unit that receives a plurality of types of requests transmitted from an external device, the requests being for a business application that utilizes a function provided by an application framework; and a conversion unit that converts the requests received by the reception unit into requests in a predetermined single format and passes the converted requests to a process that executes the business application.
[0008] Any combination of the above components and any expression of the present invention converted between an apparatus, a method, a computer program, a recording medium storing a computer program, etc. are also valid as aspects of the present invention. Effect of the Invention
[0009] According to the present invention, it is possible to reduce the risks caused by the vulnerability of the framework. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating a configuration of a communication system according to an embodiment. [Diagram 2] 2 is a block diagram showing functional blocks of the business processing device shown in FIG. 1. [Diagram 3] FIG. 13 illustrates a portion of an argument resolution object. [Figure 4] FIG. 13 illustrates an example of request conversion in a business processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] The system of the embodiment (business processing device 12 described below) executes a business application (hereinafter also referred to as a "business app") that uses the functions of a specified framework. The system of the embodiment is configured to provide a software stack in which the extent to which framework vulnerabilities affect the business app is limited. Furthermore, in the system of the embodiment, when a framework vulnerability that affects the business app is discovered, a point is provided at which the vulnerability can be addressed without modifying the business app. This enables a quick and flexible response to framework vulnerabilities.
[0012] A vulnerability is a flaw in information security caused by a malfunction or design flaw in a computer program. Attacks that exploit framework vulnerabilities can include sending requests containing specific data strings to execute arbitrary code, execute arbitrary OS (Operating System) commands, or access arbitrary files.
[0013] 1 shows the configuration of a communication system according to an embodiment. The communication system 10 includes a business processing device 12, a client device 14a, a client device 14b, and a client device 14c (collectively referred to as "client devices 14"). The business processing device 12 and the client devices 14 are connected via a communication network 16, which may include a LAN, a WAN, the Internet, or the like.
[0014] The business processing device 12 is an information processing device that provides services to support the business of a company, etc. The client device 14 is an information processing device that uses the services provided by the business processing device 12. The client device 14 transmits to the business processing device 12 a request for a business application executed by the business processing device 12.
[0015] Fig. 2 is a block diagram showing the functional blocks of the business processing device 12 in Fig. 1. Each block shown in the block diagram in this specification can be realized in terms of hardware by elements such as a computer processor, CPU, and memory, electronic circuits, and mechanical devices, and in terms of software by a computer program, etc., but here, the functional blocks realized by the cooperation of these are depicted. Therefore, it will be understood by those skilled in the art that these functional blocks can be realized in various forms by combining hardware and software.
[0016] The business processing device 12 includes a business processing unit 20 and an adapter unit 30. The business processing unit 20 can also be called an application container, and executes a business App that uses functions provided by an application framework. The adapter unit 30 can also be called an adapter container, and is a process on the OS that temporarily accepts multiple types of requests for business Apps sent from the client device 14 before the business processing unit 20. The adapter unit 30 converts the accepted request into a request in a predetermined single format, and passes the converted request to the business processing unit 20.
[0017] A detailed description will now be given of the configurations of the business processing unit 20 and the adapter unit 30. The business processing unit 20 includes a servlet engine 22, an OSS framework 24, middleware 26, and a business application 28.
[0018] The OSS framework 24 is an open source application framework, which is the "Spring Framework" in this embodiment. The middleware 26 is "ObjectWorks (registered trademark)", a framework product provided by Nomura Research Institute, Ltd. The business app 28 is application software that is implemented to utilize the functions provided by the OSS framework 24 and the middleware 26 and that also has business-specific functions implemented.
[0019] The OSS framework 24 has multiple types of conversion functions corresponding to multiple types of requests, as a function for converting requests to the business applications 28 into Java objects that can be processed by the business applications 28. The business applications 28 use the conversion functions of the OSS framework 24 to obtain requests as Java objects, and execute business processing using the data of the Java objects.
[0020] The adapter unit 30 includes a request receiving unit 32, a conversion unit 34, a request sending unit 36, and a response transfer unit 38. A computer program including a plurality of modules corresponding to these plurality of functional blocks may be stored in a recording medium and installed in the storage of the business processing device 12 via the recording medium. Alternatively, this computer program may be installed in the storage of the business processing device 12 via a network. The CPU of the business processing device 12 may fulfill the functions of the above-mentioned plurality of functional blocks by reading this computer program into main memory and executing it.
[0021] The request receiving unit 32 receives a plurality of types of requests transmitted from a plurality of client devices 14. The plurality of types of requests includes a plurality of communication methods defined by HTTP (Hyper Text Transfer Protocol). For example, the methods include GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, and PATCH. In addition, there are a plurality of communication data formats as described in the Template column of "https: / / www.iana.org / assignments / media-types / media-types.xhtml".
[0022] The conversion unit 34 converts the request received by the request receiving unit 32 into a request in a predetermined single format. The format of the request converted by the conversion unit 34 is JSON (JavaScript Object Notation) ("JavaScript" is a registered trademark). The conversion unit 34 passes the converted request to the request sending unit 36. The request sending unit 36 sends the request converted by the conversion unit 34 to the business processing unit 20, that is, passes the converted request to a process that executes the business App 28.
[0023] The response transfer unit 38 receives response data sent from the business processing unit 20, which is response data to a request from the client device 14. The response transfer unit 38 transmits the received response data as is to the client device 14 that sent the request, without converting it.
[0024] As described above, the OSS framework 24 in the embodiment is Spring. Usually, when a business application 28 using Spring is started, many request-Java object conversion functions for converting a request into a Java object are enabled. The request-Java object conversion functions include, for example, request parameter conversion, path variable conversion, body (JSON) conversion, body (form) conversion, file upload, header conversion, and the like. The business processing unit 20 in the embodiment is configured to disable some of the multiple types of request-Java object conversion functions provided by Spring. In other words, only functions necessary for converting JSON data into a Java object (for example, body (JSON) conversion, header conversion) among the multiple types of request-Java object conversion functions provided by Spring are enabled.
[0025] Specifically, normally, when a business application 28 that uses Spring is started, 26 types of argument resolution objects (HandlerMethodArgumentResolver) are generated as a request-Java object conversion function. Figure 3 shows some of the argument resolution objects. When performing argument resolution, a check is made for each argument resolution object to see if argument resolution is to be performed (supportsParameter method), and argument resolution is performed using the first matching argument resolution object (resolveArgument method).
[0026] The business processing unit 20 (middleware 26 and OSS framework 24) invalidates argument resolution objects other than item numbers 7 and 8 marked with "○" in the Activation Target column in Fig. 3 among the 26 types of argument resolution objects provided by Spring. In other words, the business processing unit 20 activates only the argument resolution objects of item numbers 7 and 8 in Fig. 3 when the business App 28 is activated. The argument resolution objects of item numbers 7 and 8 in Fig. 3 are argument resolution objects required for request processing in JSON format.
[0027] In this way, in the business processing device 12 of the embodiment, the adapter unit 30 collectively accepts multiple types of requests to the business App 28 that can be sent from the client device 14. The adapter unit 30 converts the multiple types of requests that can be accepted into requests in a single format (JSON format), and passes the converted requests to the business processing unit 20. This reduces the number of types of functions of the OSS framework 24 (e.g., request-Java object conversion function) required on the business processing unit 20 side, and reduces the risk when a vulnerability exists in the OSS framework 24.
[0028] Moreover, according to the business processing device 12 of the embodiment, by concealing the external interface specifications of the business processing unit 20 (OSS framework 24) from the client device 14, it is possible to reduce the risk of being attacked by exploiting the vulnerability of the business processing unit 20 (here, vulnerability of Spring). This is because it is efficient for an attacker to target a system whose external interface specifications are not concealed, and conversely, a system whose external interface specifications are concealed is likely to be quickly excluded from the target of attack.
[0029] Furthermore, in the business processing device 12 of the embodiment, the request-Java object conversion function of the OSS framework 24 that is unnecessary because the request is converted into a single format (JSON format) is disabled. As a result, even if a vulnerability is found in the request-Java object conversion function of the OSS framework 24 that is unnecessary for processing the converted request, the impact on the business App 28 can be reduced, and for example, the need to modify the business App 28 can be reduced.
[0030] Furthermore, since there was no concept of an adapter in the past, if a vulnerability existed in a framework, the framework had to be upgraded. However, since a framework and an application are tightly coupled, upgrading the framework requires retesting the entire application, and thus updating the framework was sometimes difficult in practice. According to the configuration of the business processing device 12 of the embodiment, even if a vulnerability exists in the OSS framework 24, if the conversion function of the adapter unit 30 can avoid the adverse effect of the vulnerability, the conversion function of the adapter unit 30 can be upgraded (repaired, added functions, etc.) to deal with the vulnerability, and the impact on the business App 28 can be avoided.
[0031] The operation of the business processing device 12 having the above configuration will now be described. 4 shows an example of request conversion in the business processing device 12. The client device 14 transmits HTTP-POST request data (original request 40) to the business processing device 12 (S1). The adapter unit 30 of the business processing device 12 converts the original request 40 into JSON format. Specifically, the conversion unit 34 of the adapter unit 30 sets both the header data and the body data of the original request 40 in the JSON body section 44. For example, the method name, "Content-type", "Custom-Header", path name and query string included in the original request 40 are set in the JSON body section 44. The adapter unit 30 transmits the converted request 42 in JSON format to the business processing unit 20 (S2).
[0032] The business application 28 of the business processing unit 20 acquires a Java object corresponding to the converted request 42 by using a request-Java object conversion function provided by the OSS framework 24. The business application 28 acquires data of the converted request 42 (i.e., data of the original request 40) from the acquired Java object, and executes business processing based on the data. The business processing unit 20 transmits a response 46 including a processing result by the business application 28 to the adapter unit 30 (S3). The response transfer unit 38 of the adapter unit 30 transfers the response 46 received from the business processing unit 20 as is to the client device 14 that originated the request (S4).
[0033] The present invention has been described above based on the embodiments. The contents described in the embodiments are merely examples, and it will be understood by those skilled in the art that various modifications are possible in the combination of the components and processing steps of the embodiments, and that such modifications are also within the scope of the present invention.
[0034] A first modified example will be described. The request receiving unit 32 of the adapter unit 30 may limit the pattern of requests to be processed. The request receiving unit 32 may reject requests other than the pattern expected by the business processing unit 20 (business App 28) among multiple patterns of requests, and may skip subsequent processing for those requests (such as conversion to JSON format). For example, as described above, HTTP communication methods include GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, and PATCH, and the request receiving unit 32 may reject HTTP requests that specify a method other than GET or POST.
[0035] Similarly, the request receiving unit 32 may reject requests in multiple formats that are not in a pattern expected by the business processing unit 20 (business application 28), and may skip subsequent processing (such as JSON conversion processing) for such requests. For example, the request receiving unit 32 may reject HTTP requests in communication formats other than "application / json", "application / x-www-form-urlencoded", and "multipart / form-data". According to the first modification, it is possible to facilitate the implementation of conversion processing into the JSON format, and further reduce the risk of attacks on the business processing unit 20 (business application 28).
[0036] A second modified example will be described. In the above embodiment, the business processing unit 20 and the adapter unit 30 are provided in the same device (business processing device 12), but the business processing unit 20 and the adapter unit 30 may be provided in different devices. That is, a first device having the business processing unit 20 and a second device having the adapter unit 30 communicate with each other and cooperate with each other to realize an information processing system that exhibits the same functions as the business processing device 12 described in the embodiment.
[0037] Any combination of the above-mentioned examples and modifications is also useful as an embodiment of the present invention. A new embodiment resulting from the combination has the effects of each of the combined examples and modifications. It will also be understood by those skilled in the art that the functions to be performed by each component recited in the claims can be realized by each component shown in the examples and modifications alone or in cooperation with each other. [Explanation of symbols]
[0038] 10 communication system, 12 business processing device, 20 business processing unit, 24 OSS framework, 28 business App, 30 adapter unit, 32 request receiving unit, 34 conversion unit, 36 request sending unit, 38 response forwarding unit.
Claims
1. a business processing unit that executes a business application that utilizes functions provided by the application framework; an adapter unit that receives a plurality of types of requests for the business application transmitted from an external device, converts the received requests into a request in a predetermined single format, and passes the converted request to the business processing unit; Equipped with the application framework has a plurality of types of conversion functions for converting requests to the business application into objects that can be processed by the business application; The information processing system is characterized in that the business processing unit is part of the multiple types of conversion functions provided by the application framework, and is configured to disable conversion functions other than the conversion function that converts the single-format request into an object that can be processed by the business application.
2. 2. The information processing system according to claim 1, wherein the format of the request converted by the adapter unit is JSON (JavaScript Object Notation).
3. a business processing unit that executes a business application that utilizes functions provided by the application framework; an adapter unit that receives a plurality of types of requests for the business application transmitted from an external device, converts the received requests into a request in a predetermined single format, and passes the converted request to the business processing unit; Equipped with the application framework has a plurality of types of conversion functions for converting requests to the business application into objects that can be processed by the business application; The information processing device is characterized in that the business processing unit is part of the multiple types of conversion functions provided by the application framework, and is configured to disable conversion functions other than the conversion function that converts the single-format request into an object that can be processed by the business application.
Citation Information
Patent Citations
Business processing system and business processing method
JP2016012272A
An endpoint management system that provides an application programming interface proxy service
JP2018515835A
Restoring ui state in transaction systems
JP2018523244A
Method and apparatus for a common management software systems
US20030005105A1
System and Method for Customizing Data Converters from Universal Function Dice
US20150061905A1
