Parallel unauthorized vulnerability detection method, device, storage medium and electronic device

By constructing and comparing the response information of network requests, detecting parallel overprivileges vulnerabilities, solving the problem that cannot be detected in the existing technology, achieving fast and accurate vulnerability detection, and improving the security of the business logic layer and user information.

CN110489966BActive Publication Date: 2024-11-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201910741372.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-12
Publication Date
2024-11-15
Estimated Expiration
2039-08-12

AI Technical Summary

Technical Problem

Existing Web Security Vulnerability Scanners cannot detect parallel overprivileges, resulting in the security of the business logic layer and the security of user-sensitive information being compromised.

Method used

By obtaining the access address of the target parameters, building and sending network requests, modifying parameters, comparing response information to determine whether there are parallel overprivileges vulnerabilities, and using the rule management service for content comparison and content length comparison for detection.

Benefits of technology

Quickly detect parallel overprivileges vulnerabilities, reduce false positive rates, improve the security of business logic layer and user sensitive information, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110489966B_ABST
    Figure CN110489966B_ABST
Patent Text Reader

Abstract

The present disclosure provides a parallel unauthorized access vulnerability detection method, device, storage medium and electronic device. The method includes: obtaining a first access address containing a target parameter, and constructing a first network request according to the first access address; calling a network communication service to obtain a first response message according to the first network request; modifying the target parameter to form a second access address containing the modified target parameter, and constructing a second network request according to the second access address; calling the network communication service to obtain a second response message according to the second network request; judging whether a parallel unauthorized access vulnerability exists according to the first response message and the second response message. The technical solution disclosed in the present disclosure can quickly and accurately detect parallel unauthorized access vulnerabilities, improve the security of user sensitive information, and further improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a parallel unauthorized access vulnerability detection method, a parallel unauthorized access vulnerability detection device, a computer-readable storage medium, and an electronic device. Background Art

[0002] Unauthorized access is a common logical security vulnerability. Compared with traditional security vulnerabilities such as SQL injection and XSS vulnerabilities, attackers are more inclined to exploit application security issues at the business logic layer. This type of security issue is extremely harmful and may cause the leakage of sensitive user information and reputation loss of the company.

[0003] Unauthorized access vulnerabilities include parallel unauthorized access vulnerabilities and vertical unauthorized access vulnerabilities. Parallel unauthorized access vulnerabilities are caused by the server over-trusting the data operation request made by the user and ignoring the determination of the user's operation authority, resulting in ordinary users having the add, delete, modify and query functions of other ordinary users. If a business has a parallel unauthorized access vulnerability, sensitive information of other users can be viewed, but none of the traditional Web security vulnerability scanners have the function of scanning for parallel unauthorized access vulnerabilities.

[0004] In view of this, there is an urgent need to develop a new parallel privilege escalation vulnerability detection method in this field.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The embodiments of the present disclosure provide a parallel unauthorized access vulnerability detection method, a parallel unauthorized access vulnerability detection device, a computer-readable storage medium, and an electronic device, which can quickly detect parallel unauthorized access vulnerabilities, at least to a certain extent, reduce the false alarm rate of parallel unauthorized access vulnerabilities, and thus improve the security of the business logic layer.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of an embodiment of the present disclosure, a parallel unauthorized access vulnerability detection method is provided, comprising: obtaining a first access address including a target parameter, and constructing a first network request according to the first access address; calling a network communication service to obtain a first response message according to the first network request; modifying the target parameter to form a second access address including the modified target parameter, and constructing a second network request according to the second access address; calling the network communication service to obtain a second response message according to the second network request; and determining whether a parallel unauthorized access vulnerability exists according to the first response message and the second response message.

[0009] According to one aspect of an embodiment of the present disclosure, a parallel unauthorized access vulnerability detection device is provided, comprising: a first request construction module, used to obtain a first access address containing a target parameter, and construct a first network request according to the first access address; a first information acquisition module, used to call a network communication service to obtain first response information according to the first network request; a second request construction module, used to modify the target parameter to form a second access address containing the modified target parameter, and construct a second network request according to the second access address; a second information acquisition module, used to call the network communication service to obtain second response information according to the second network request; and an unauthorized access vulnerability detection module, used to determine whether a parallel unauthorized access vulnerability exists according to the first response information and the second response information.

[0010] In some embodiments of the present disclosure, based on the aforementioned scheme, the unauthorized access vulnerability detection module includes a first detection unit, which is used to call a rule management service and extract a first judgment rule to determine whether the parallel unauthorized access vulnerability exists based on the first response information, the second response information and the first judgment rule.

[0011] In some embodiments of the present disclosure, the first judgment rule includes content comparison and content length comparison; based on the aforementioned scheme, the first detection unit includes: a comparison unit, used to compare the content of the first response information with the content of the second response information; a first judgment unit, used to determine that the parallel unauthorized access vulnerability does not exist when the content of the first response information is the same as the content of the second response information; a second judgment unit, used to determine whether the parallel unauthorized access vulnerability exists based on the content length of the first response information and the content length of the second response information when the content of the first response information is different from the content of the second response information.

[0012] In some embodiments of the present disclosure, based on the aforementioned scheme, the second determination unit is configured to: compare the content length of the first response information with the content length of the second response information to obtain a target ratio; compare the target ratio with a preset threshold; if the target ratio is less than the preset threshold, it is determined that the parallel authority override vulnerability exists; if the target ratio is greater than or equal to the preset threshold, it is determined that the parallel authority override vulnerability does not exist.

[0013] In some embodiments of the present disclosure, the target parameter is a digital parameter; based on the above scheme, the second request construction module is configured to: increase or decrease a preset value based on the target parameter to modify the target parameter.

[0014] In some embodiments of the present disclosure, based on the aforementioned scheme, the parallel unauthorized access vulnerability detection device also includes: a third request construction module, used to delete locally stored user information to form a third access address containing the modified target parameters, and construct a third network request based on the third access address; a third information acquisition module, used to call the network communication service to obtain third response information according to the third network request; an unauthorized access vulnerability judgment module, used to judge whether the parallel unauthorized access vulnerability exists based on the second response information and the third response information.

[0015] In some embodiments of the present disclosure, based on the aforementioned scheme, the unauthorized access vulnerability judgment module includes: a second detection unit, used to call the rule management service and extract the second judgment rule to judge whether the parallel unauthorized access vulnerability exists according to the second response information, the third response information and the second judgment rule.

[0016] In some embodiments of the present disclosure, the second judgment rule includes content comparison; based on the aforementioned scheme, the second detection unit is configured to: compare the content of the second response information with the content of the third response information; if the content of the second response information is the same as the content of the third response information, it is determined that the parallel authority override vulnerability does not exist; if the content of the second response information is different from the content of the third response information, it is determined that the parallel authority override vulnerability exists.

[0017] In some embodiments of the present disclosure, based on the aforementioned scheme, the parallel unauthorized access vulnerability detection device also includes: a third detection unit, used to call the rule management service and extract a third judgment rule to determine whether the parallel unauthorized access vulnerability exists based on the first response information, the second response information and the third judgment rule.

[0018] In some embodiments of the present disclosure, the third judgment rule includes target information comparison; based on the aforementioned scheme, the third detection unit includes: an information extraction unit, used to extract the first target information in the first response information and the second target information in the second response information according to the preset field in the third judgment rule; an information comparison unit, used to compare the first target information and the second target information; a third judgment unit, used to determine that the parallel authority override vulnerability does not exist when the first target information is the same as the second target information; a fourth judgment unit, used to determine that the parallel authority override vulnerability exists when the first target information is different from the second target information.

[0019] In some embodiments of the present disclosure, based on the aforementioned scheme, the information extraction unit is configured to: match the preset field with all fields in the first response information, and match the preset field with all fields in the second response information; when there is a target field matching the preset field in the first response information, extract the information corresponding to the target field in the first response information, and use the information corresponding to the target field as the first target information; when there is a target field matching the preset field in the second response information, extract the information corresponding to the target field in the second response information, and use the information corresponding to the target field as the second target information.

[0020] In some embodiments of the present disclosure, based on the aforementioned scheme, the parallel unauthorized access vulnerability detection device further includes: a saving module, which is used to send the first access address where the parallel unauthorized access vulnerability exists and the corresponding target parameters to the server for saving when it is determined that the parallel unauthorized access vulnerability exists.

[0021] According to one aspect of an embodiment of the present disclosure, a computer device is provided, including: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the parallel unauthorized vulnerability detection method described in the above embodiment is implemented.

[0022] According to one aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the parallel unauthorized vulnerability detection method as described in the above embodiments.

[0023] In the technical solutions provided by some embodiments of the present disclosure, a first network request is constructed according to a first access address containing a target parameter, and a first response message is obtained according to the first network request; then the target parameter is modified, a second network request is constructed according to a second access address containing the modified target parameter, and a second response message is obtained according to the second network request; finally, whether there is a parallel unauthorized access vulnerability is determined according to the first response message and the second response message. On the one hand, the technical solution of the present disclosure can quickly detect parallel unauthorized access vulnerabilities and improve the security of the business logic layer; on the other hand, it can improve the security of user sensitive information and further improve the user experience.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0026] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present disclosure can be applied;

[0027] Figure 2 A flowchart of a parallel unauthorized vulnerability detection method according to an embodiment of the present disclosure is schematically shown;

[0028] Figure 3 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities according to an embodiment of the present disclosure is shown;

[0029] Figure 4 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities according to an embodiment of the present disclosure is shown;

[0030] Figure 5 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities according to an embodiment of the present disclosure is shown;

[0031] Figure 6 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities according to an embodiment of the present disclosure is shown;

[0032] Figure 7 A schematic diagram of a process of acquiring first target information and second target information according to an embodiment of the present disclosure is schematically shown;

[0033] Figure 8 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities according to an embodiment of the present disclosure is shown;

[0034] Fig. 9 A block diagram of a parallel unauthorized vulnerability detection device according to an embodiment of the present disclosure is schematically shown;

[0035] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0036] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.

[0037] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0039] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0040] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present disclosure can be applied.

[0041] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the terminal device and the server 105. The network 104 may include various connection types, such as a wired communication link, a wireless communication link, and the like.

[0042] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to actual needs, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.

[0043] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send information, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc.

[0044] In one embodiment of the present disclosure, a vulnerability scanner is built in the terminal device 101, or in the terminal devices 102 and 103, for scanning parallel unauthorized access vulnerabilities. The vulnerability scanner can obtain a first access address containing a target parameter from a URL list stored in the terminal device 101, and construct a first network request according to the first access address, wherein the target parameter is a numeric parameter, and all URLs containing numeric parameters in the URL list can be used as the first access address containing the target parameter; then the network communication module is called, and the vulnerability scanner can send the first network request to the network communication module, so that the network communication module sends the first network request to the server 105 through the network 104, and receives the first response information returned by the server 105; after receiving the first response information returned by the network communication module, the vulnerability scanner modifies the target parameter, and constructs a second network request according to the second access address containing the modified target parameter; then the second network request is sent to the server 105 through the network communication module to obtain the second response information returned by the server 105; finally, the vulnerability scanner can determine whether there is a parallel unauthorized access vulnerability in the business logic layer according to the first response information and the second response information. The technical solution disclosed in the present invention can, on the one hand, quickly detect parallel unauthorized access vulnerabilities and improve the security of the business logic layer; on the other hand, it can improve the security of user sensitive data and further enhance the user experience.

[0045] It should be noted that the parallel unauthorized access vulnerability detection method provided in the embodiment of the present disclosure is generally executed by a terminal device, and accordingly, the parallel unauthorized access vulnerability detection device is generally arranged in the terminal device. However, in other embodiments of the present disclosure, the parallel unauthorized access vulnerability detection solution provided in the embodiment of the present disclosure may also be executed by a server.

[0046] The embodiment of the present disclosure first proposes a parallel unauthorized vulnerability detection method. The implementation details of the technical solution of the embodiment of the present disclosure are described in detail below:

[0047] Figure 2 The flowchart of the parallel unauthorized vulnerability detection method according to an embodiment of the present disclosure is schematically shown. The parallel unauthorized vulnerability detection method can be executed by a vulnerability scanner in a terminal device. The control terminal can be Figure 1 The control terminal 101 shown in FIG. Figure 2As shown, the parallel unauthorized vulnerability detection method includes at least steps S210 to S250, which are described in detail as follows:

[0048] In step S210, a first access address including a target parameter is obtained, and a first network request is constructed according to the first access address.

[0049] In one embodiment of the present disclosure, when a user obtains network resources through the terminal device 101, an access trace will be left in the terminal device 101. The access trace is the URL corresponding to the visited web page. The URL is a uniform resource locator, which is used to describe the location and access method of the information. According to the URL, it can be detected whether the corresponding business has a parallel unauthorized vulnerability, so the web page URLs visited by the user can be integrated to form a URL list, and then each URL in the URL list is tested for vulnerability through a vulnerability scanner. The format of each URL in the URL list is different according to the location and access method of the access information. For example, the parameters in some URLs only contain text parameters, while the parameters in some URLs contain numeric parameters in addition to text parameters. In the embodiment of the present disclosure, it is necessary to change the numeric parameters in the URL, and detect whether there is a parallel unauthorized vulnerability in the business logic layer according to the response information corresponding to the URLs containing different numeric parameters, so the URL containing numeric parameters can be screened from the URL list as the first access address containing the target parameter.

[0050] In one embodiment of the present disclosure, after obtaining the first access address containing the target parameter from the URL list, the first network request can be constructed according to the first access address. When constructing the first network request, it can be constructed according to the protocol contained in the URL. For example, the first network request can be an HTTP request, an HTTPS request, etc., which is not specifically limited in the embodiment of the present disclosure. In order to make the technical solution of the present disclosure clearer, the following description will be made using an HTTP request as the network request.

[0051] In step S220, the network communication service is called to obtain first response information according to the first network request.

[0052] In one embodiment of the present disclosure, after constructing a first HTTP request according to a first access address including a target parameter, the vulnerability scanner may call a network communication service to obtain first response information according to the first network request. The network communication service corresponds to a network communication module, and the vulnerability scanner may send the first HTTP request to the network communication module. When the network communication module receives the first HTTP request, it sends the first HTTP request to the server and receives the first response information corresponding to the first HTTP request returned by the server; then the network communication module may return the first response information to the vulnerability scanner.

[0053] In step S230, the target parameter is modified to form a second access address including the modified target parameter, and a second network request is constructed according to the second access address.

[0054] In one embodiment of the present disclosure, for a parallel privilege escalation vulnerability, a user can obtain information about other users by changing parameters in an access address. Therefore, in order to determine whether a parallel privilege escalation vulnerability exists, the target parameters in the first access address can be modified to obtain a second access address, and then determine whether a parallel privilege escalation vulnerability exists based on the response information corresponding to the first access address and the response information corresponding to the second access address.

[0055] In one embodiment of the present disclosure, when modifying the target parameter, the preset value can be increased or decreased based on the target parameter. For example, if the target parameter is 100, 1 can be added or subtracted, 2 can be added or subtracted, etc. from 100 when modifying. In order to detect whether there is a parallel overreach vulnerability, the target parameter can be modified multiple times to detect whether the response information obtained by multiple URLs containing different parameters is the same. For example, the target parameter 100 is subtracted by 1 one by one to obtain the response information corresponding to the access address when the target parameters are 100, 99, 98...0 respectively, and the response information corresponding to the original target parameter 100 is compared with the response information corresponding to each modified target parameter, and it is determined whether there is a parallel overreach vulnerability based on the comparison result.

[0056] In step S240, the network communication service is called to obtain second response information according to the second network request.

[0057] In one embodiment of the present disclosure, after modifying the target parameter to obtain the second access address, the vulnerability scanner can construct a second network request according to the second access address. Since the difference between the second access address and the first access address is only the change in the target parameter, the protocol type has not changed, so the type of the second network request is the same as the type of the first network request, for example, both are HTTP requests; then the vulnerability scanner can call the network communication service to obtain the second response information according to the second network request. Specifically, the vulnerability scanner sends the second HTTP request to the network communication module; then the network communication module sends the received second HTTP request to the server, and receives the second response information corresponding to the second HTTP request returned by the server; finally, the network communication module returns the second response information to the vulnerability scanner, so that the vulnerability scanner detects the parallel unauthorized vulnerability according to the first response information and the second response information.

[0058] In step S250, it is determined whether there is a parallel unauthorized access vulnerability based on the first response information and the second response information.

[0059] In one embodiment of the present disclosure, a rule management module may be provided in the terminal device 101, in which one or more detection rules corresponding to different types of vulnerabilities are stored. After obtaining the first response information and the second response information, the vulnerability scanner may extract the corresponding judgment rule from the rule management module according to the type of vulnerability to be detected, and process the first response information and the second response information according to the judgment rule, and then judge whether there is a parallel unauthorized vulnerability according to the processing result. It is worth noting that the detection rules in the rule management module are all rule sets written by policy personnel, and the maintenance and repair of the rule management module are all implemented by policy personnel.

[0060] In one embodiment of the present disclosure, when determining whether a parallel authority override vulnerability exists, a rule management service may be called and a first judgment rule may be extracted to detect a parallel authority override vulnerability based on the first response information, the second response information, and the first judgment rule, wherein the first judgment rule includes content comparison and content length comparison. Figure 3 A schematic diagram of a process for detecting parallel privilege escalation vulnerabilities is shown, such as Figure 3 As shown, the method for detecting parallel unauthorized access vulnerability at least includes steps S301-S303, specifically:

[0061] In step S301, the content of the first response information is compared with the content of the second response information.

[0062] In one embodiment of the present disclosure, the content of the response information corresponds to the network request. For example, when a user browses a news website and clicks on a news title, the response information is the news content corresponding to the news title; when a user logs in to a shopping platform to query order information, the response information is the order number, order details, and other information; etc. In order to determine whether the modification of the target parameter has an impact on the content of the response information, and then determine whether there is a parallel unauthorized vulnerability in the business, after obtaining the first response information and the second response information, the content of the response information can be compared, and a judgment can be made based on the comparison result.

[0063] In step S302, if the content of the first response information is the same as the content of the second response information, it is determined that there is no parallel unauthorized access vulnerability.

[0064] In one embodiment of the present disclosure, when comparing the content of the first response information with the content of the second response information, each character in the first response information can be compared with each character in the second response information. If all characters in the first response information are the same as all characters in the second response information, then the content of the first response information is the same as the content of the second response information. For access addresses containing different target parameters, the received response information is the same, indicating that the modification of the target parameter has no effect on the obtained response information, and further indicating that the business corresponding to the first access address containing the target parameter does not have a parallel unauthorized access vulnerability.

[0065] In step S303, if the content of the first response information is different from the content of the second response information, it is determined whether there is a parallel unauthorized access vulnerability based on the content length of the first response information and the content length of the second response information.

[0066] In one embodiment of the present disclosure, when the content of the first response information is different from the content of the second response information, it means that the modification of the target parameter has an impact on the obtained response information, but it cannot be clearly determined whether the business corresponding to the first access address containing the target parameter has a parallel unauthorized access vulnerability. For example, if the user is browsing news, the first response information corresponding to the first access address containing the target parameter is a health news. After modifying the target parameter, the second response information corresponding to the second access address containing the modified target parameter is a current affairs news. The first response information and the second response information are completely different, but the news is public information and can be browsed by any user. There is no parallel unauthorized access. Therefore, when the content of the first response information is different from the content of the second response information, it cannot be clearly determined whether there is a parallel unauthorized access vulnerability, and further detection is required.

[0067] In order to further detect the parallel unauthorized access vulnerability, the content length of the response information can be used for detection. Specifically, if a user wants to obtain sensitive information of other users by unauthorized access, if the unauthorized access is successful, the content length of the response information will not be very different. Therefore, the judgment can be made based on the content length of the first response information and the content length of the second response information. Step S303 further includes Figure 4 The parallel privilege escalation vulnerability detection method shown in Figure 4 As shown, the detection method at least includes steps S401-S404, specifically:

[0068] In step S401, the content length of the first response message is compared with the content length of the second response message to obtain a target ratio.

[0069] In one embodiment of the present disclosure, if the unauthorized access is successful, the user will obtain the same type of information from other users. For example, the user obtains the order number of his / her shopping platform according to the first access address, and after modifying the target parameters, obtains the order numbers of other users on the shopping platform according to the second access address. The lengths of these two order numbers may be equal, or may differ by one or two digits. However, if the parallel unauthorized access vulnerability is detected only based on whether the content lengths are equal, there may be missed detections. Therefore, in order to improve the accuracy and comprehensiveness of vulnerability detection, the content length of the first response information may be compared with the content length of the second response information to obtain a target ratio, and the presence of a parallel unauthorized access vulnerability may be determined based on the target ratio.

[0070] In step S402, the target ratio is compared with a preset threshold.

[0071] In one embodiment of the present disclosure, if the unauthorized access is successful, the content length of the first response information is equal to or nearly equal to the length of the second response information, that is, even if there is a difference, it will not be very large, so a smaller preset threshold can be set, and by comparing the preset threshold with the target ratio, it is determined whether there is a parallel unauthorized access vulnerability. Specifically, the preset threshold can be set to 1.5, 2, etc., and of course it can also be set to other values, which are not specifically limited in the embodiments of the present disclosure.

[0072] In step S403, if the target ratio is less than the preset threshold, it is determined that a parallel authority violation exists.

[0073] In step S404, if the target ratio is greater than or equal to the preset threshold, it is determined that there is no parallel authority violation.

[0074] In one embodiment of the present disclosure, the target ratio is compared with a preset threshold. If the target ratio is less than the preset threshold, it means that the content length of the first response information is similar to the content length of the second response information. Based on the difference between the content of the first response information and the content of the second response information, it can be determined that the business corresponding to the first access address has a parallel unauthorized access vulnerability. If the target ratio is greater than or equal to the preset threshold, it means that the content length of the first response information is significantly different from the content length of the second response information. Therefore, it can be determined that the business corresponding to the first access address does not have a parallel unauthorized access vulnerability. For example, user A can obtain the original order number of the goods purchased on the shopping website according to the first access address. The first access address contains the target parameter: sub-id=8. User A modifies the target parameter in the first access address and obtains the modified target parameter: sub-id=10. Then, he re-accesses according to the second access address containing the modified target parameter and obtains a new order number. The original order number is compared with the new order number. If the contents of the two are different, but the content lengths of the two are the same, it means that the second access address points to the order number of another user on the shopping website. User A obtained sensitive information of other users by modifying the target parameter, and it can be determined that there is a parallel unauthorized access vulnerability in the business logic layer of the shopping website; if the contents of the two are different and the content lengths of the two are also very different, it means that user A did not obtain sensitive information of other users by modifying the target parameter, and it can be determined that there is no parallel unauthorized access vulnerability in the business logic layer of the shopping website. In the case of a large difference in content length, the second response information corresponding to the second access address is usually a prompt message such as "no access right" or "error".

[0075] In one embodiment of the present disclosure, when a user accesses a network resource, each website and browser will store user data, i.e., cookies, on the user terminal, which is used to identify the user identity and perform session tracking. When the user logs in next time, the user information in the cookie can be called to improve the login efficiency. Usually, the page that obtains the user's sensitive information must be in the user's logged-in state. If cookies are stored in the terminal device 101, even if the user exits the system, when reopening the website page, the terminal device 101 may automatically call the cookie, so that the user still accesses the website as a logged-in user. In this way, it is difficult to detect whether there is a parallel overriding vulnerability. Therefore, in order to reduce the false alarm rate, the locally stored cookies can be deleted first, and then the target parameters in the first access address are modified to form a third access address containing the modified target parameters, and then the network communication service is called to obtain the third response information according to the third access address. Among them, the target parameters in the third access address are the same as the target parameters in the second access address. After obtaining the third response information, the second response information can be compared with the third response information to determine whether there is a parallel overriding vulnerability.

[0076] When comparing the second response information with the third response information, the comparison can be made according to a preset judgment rule. Specifically, the rule management service can be called and the second judgment rule can be extracted to detect parallel unauthorized access vulnerabilities according to the second response information, the third response information and the second judgment rule. The second judgment rule includes content comparison, Figure 5 A schematic diagram of the process of detecting parallel privilege escaping vulnerabilities is shown, as Figure 5 As shown, in step S501, the content of the second response information is compared with the content of the third response information; in step S502, if the content of the second response information is the same as the content of the third response information, it is determined that there is no parallel overreaching vulnerability; in step S503, if the content of the second response information is different from the content of the third response information, it is determined that there is a parallel overreaching vulnerability. The content comparison method is the same as Figure 3 The content comparison method shown is the same and will not be described in detail in the embodiments of the present disclosure.

[0077] Deleting cookies can ensure that the third response information is obtained without logging in. If the content of the second response information is the same as that of the third response information, it means that there is no parallel authority vulnerability. For example, public information such as news / announcement pages can be accessed normally without logging in. If the content of the second response information is different from that of the third response information, it means that there may be a parallel authority vulnerability in the business logic layer.

[0078] In one embodiment of the present disclosure, in order to further determine whether there is a parallel unauthorized access vulnerability, which allows a user to obtain sensitive information of other users without authorization, the sensitive information in the first response information and the second response information can be compared according to a preset judgment rule. Specifically, the rule management service can be called to extract a third judgment rule, which contains preset fields corresponding to sensitive information, such as mobile phone number, ID number, QQ number, email address, address, name, etc., and then the parallel unauthorized access vulnerability is detected according to the first response information, the second response information and the third judgment rule.

[0079] Figure 6 A schematic diagram of the process of detecting parallel privilege escaping vulnerabilities is shown, as Figure 6 As shown, the method for detecting parallel unauthorized access vulnerability at least includes steps S601 to S604, specifically:

[0080] In step S601, first target information in the first response information and second target information in the second response information are extracted according to a preset field in a third judgment rule.

[0081] In an exemplary embodiment of the present disclosure, in order to compare the sensitive information in the first response information with the sensitive information in the second response information, it is necessary to extract the required sensitive information from the first response information and the second response information. Usually, the sensitive information corresponds to a specific name, for example: mobile phone number 134XXXX5678. If you want to obtain the specific mobile phone number, you need to match and search based on the name of the mobile phone number.

[0082] Figure 7 A schematic diagram of the process of obtaining the first target information and the second target information is shown in FIG. Figure 7 As shown, in step S701, the preset field is matched with all fields in the first response information, and the preset field is matched with all fields in the second response information; in step S702, when there is a target field matching the preset field in the first response information, the information corresponding to the target field in the first response information is extracted, and the information corresponding to the target field is used as the first target information; in step S703, when there is a target field matching the preset field in the second response information, the information corresponding to the target field in the second response information is extracted, and the information corresponding to the target field is used as the second target information.

[0083] In step S602, the first target information and the second target information are compared;

[0084] In one embodiment of the present disclosure, after obtaining the first target information and the second target information, the two may be compared, and whether there is a parallel unauthorized access vulnerability may be determined based on the comparison result.

[0085] In step S603, if the first target information is the same as the second target information, it is determined that there is no parallel unauthorized access vulnerability;

[0086] In step S604, if the first target information is different from the second target information, it is determined that a parallel unauthorized access vulnerability exists.

[0087] In one embodiment of the present disclosure, when the first target information is the same as the second target information, it means that the user has not unauthorizedly obtained sensitive information of other users. For example, the sensitive information of the user corresponding to user-id=100 is: mobile phone number 13456789012, and the sensitive information of the user corresponding to user-id=101 is still mobile phone number 13456789012, which means that modifying the target parameter has no effect on the content of the response information, and the user will not obtain sensitive information of other users by modifying the target parameter, so there is no parallel unauthorized access vulnerability; when the first target information is different from the second target information, it means that the user has unauthorizedly obtained sensitive information of other users. For example, the sensitive information of the user corresponding to user-id=100 is: mobile phone number 13456789012, and the sensitive information of the user corresponding to user-id=101 is: mobile phone number 15678901234, which means that modifying the target parameter has an effect on the content of the response information, and the user can obtain sensitive information of other users by modifying the target parameter, so there is a parallel unauthorized access vulnerability.

[0088] In one embodiment of the present disclosure, when there are multiple numeric parameters in the URL, the parallel authority override vulnerability detection method in the embodiment of the present disclosure can be applied to each numeric parameter one by one. For example, if an order URL includes a user parameter user-id and a shipping parameter shipping-id, the user-id can be modified multiple times first, and the URL can be judged whether there is a parallel authority override vulnerability based on the return content corresponding to the original user parameters and the parameters after each modification. If it is determined that there is no parallel authority override vulnerability, the shipping-id can be modified multiple times, and the URL can be judged whether there is a parallel authority override vulnerability based on the return content corresponding to the original shipping parameters and the parameters after each modification.

[0089] In one embodiment of the present disclosure, after determining that a parallel unauthorized access vulnerability exists in the business logic layer according to the embodiment of the present disclosure, the vulnerability information, such as the first access address where the parallel unauthorized access vulnerability exists, the corresponding target parameters, etc., can be sent to the server for storage through a vulnerability scanner to prepare for targeted repairs during subsequent maintenance.

[0090] In one embodiment of the present disclosure, multiple comparison and judgment processes can be used to detect parallel privilege escalation vulnerabilities, thereby improving the detection efficiency and accuracy of parallel privilege escalation vulnerabilities. Figure 8 A schematic diagram of the process of detecting parallel privilege escaping vulnerabilities is shown, as Figure 8As shown: in step S801, a first network request is constructed according to a first access address including a target parameter, and a first response message is obtained according to the first network request; in step S802, the target parameter is modified, a second network request is constructed according to a second access address including the modified target parameter, and a second response message is obtained according to the second network request; in step S803, cookies are removed, a third network request is constructed according to a third access address including the modified target parameter, and a third response message is obtained according to the third network request; in step S804, it is determined whether the content of the first response message is the same as the content of the second response message; in step S805, when the content of the first response message is the same as the content of the second response message, it is determined that there is no parallel overreach vulnerability; in step S806, when the content of the first response message is different from the content of the second response message, it is determined whether the content length of the first response message / the content length of the second response message is less than a preset threshold; in step S807, In step S807, when the content length of the first response information / the content length of the second response information is greater than or equal to the preset threshold, it is determined that there is no parallel overriding vulnerability; in step S808, when the content length of the first response information / the content length of the second response information is less than the preset threshold, it is determined whether the content of the second response information is the same as the content of the third response information; in step S809, when the content of the second response information is the same as the content of the third response information, it is determined that there is no parallel overriding vulnerability; in step S810, when the content of the second response information is different from the content of the third response information, it is determined whether the sensitive information in the first response information is the same as the sensitive information in the second response information; in step S811, when the sensitive information in the first response information is the same as the sensitive information in the second response information, it is determined that there is no parallel overriding vulnerability; in step S812, when the sensitive information in the first response information is different from the sensitive information in the second response information, it is determined that there is a parallel overriding vulnerability.

[0091] It is worth noting that in the above-mentioned process of detecting parallel authority override vulnerabilities, the step of comparing the contents of the second response information and the third response information can be replaced with the step of comparing the sensitive information in the first response information and the second response information, that is, when the content length of the first response information / the content length of the second response information is less than the preset threshold, it is determined whether the sensitive information in the first response information is the same as the sensitive information in the second response information; when the sensitive information in the first response information is the same as the sensitive information in the second response information, it is determined that there is no parallel authority override vulnerability; when the sensitive information in the first response information is different from the sensitive information in the second response information, it is determined whether the content of the second response information is the same as the content of the third response information; when the content of the second response information is the same as the content of the third response information, it is determined that there is no parallel authority override vulnerability; when the content of the second response information is different from the content of the third response information, it is determined that there is a parallel authority override vulnerability.

[0092] The parallel unauthorized access vulnerability detection method in the disclosed embodiment can detect parallel unauthorized access vulnerabilities according to the response information corresponding to the access address containing different target parameters by modifying the target parameters in the access address, and by comparing the content of the response information with and without the cookies removed and comparing the content of the sensitive information in the response information, it makes up for the shortcomings of the vulnerability scanner in the detection strategy of parallel unauthorized access vulnerabilities, reduces the false alarm rate, improves the detection efficiency and accuracy of parallel unauthorized access vulnerabilities, improves the security of user sensitive information, and further enhances the user experience.

[0093] The following describes an apparatus embodiment of the present disclosure, which can be used to execute the parallel unauthorized access vulnerability detection method in the above-mentioned embodiment of the present disclosure. For details not disclosed in the apparatus embodiment of the present disclosure, please refer to the above-mentioned embodiment of the parallel unauthorized access vulnerability detection method in the present disclosure.

[0094] Fig. 9 A block diagram of a parallel unauthorized vulnerability detection device according to an embodiment of the present disclosure is schematically shown.

[0095] Reference Fig. 9 As shown, according to an embodiment of the present disclosure, a parallel unauthorized vulnerability detection device 900 includes: a first request construction module 901, a first information acquisition module 902, a second request construction module 903, a second information acquisition module 904 and an unauthorized vulnerability detection module 905.

[0096] Specifically, a first request construction module 901 is used to obtain a first access address containing target parameters, and to construct a first network request according to the first access address; a first information acquisition module 902 is used to call a network communication service to obtain first response information according to the first network request; a second request construction module 903 is used to modify the target parameters to form a second access address containing the modified target parameters, and to construct a second network request according to the second access address; a second information acquisition module 904 is used to call the network communication service to obtain second response information according to the second network request; an unauthorized access vulnerability detection module 905 is used to determine whether a parallel unauthorized access vulnerability exists according to the first response information and the second response information.

[0097] In one embodiment of the present disclosure, the unauthorized vulnerability detection module 905 includes a first detection unit for calling a rule management service to extract a first judgment rule, and judging whether a parallel unauthorized vulnerability exists based on the first response information, the second response information and the first judgment rule.

[0098] In one embodiment of the present disclosure, the first judgment rule includes content comparison and content length comparison; based on the aforementioned scheme, the first detection unit includes: a comparison unit, used to compare the content of the first response information with the content of the second response information; a first judgment unit, used to determine whether there is a parallel unauthorized access vulnerability when the content of the first response information is the same as the content of the second response information; a second judgment unit, used to determine whether there is a parallel unauthorized access vulnerability based on the content length of the first response information and the content length of the second response information when the content of the first response information is different from the content of the second response information.

[0099] In one embodiment of the present disclosure, the second determination unit is configured to: compare the content length of the first response information with the content length of the second response information to obtain a target ratio; compare the target ratio with a preset threshold; if the target ratio is less than the preset threshold, determine that a parallel authority override vulnerability exists; if the target ratio is greater than or equal to the preset threshold, determine that there is no parallel authority override vulnerability.

[0100] In one embodiment of the present disclosure, the target parameter is a digital parameter; the second request building module 903 is configured to: based on the target parameter, increase or decrease a preset value to modify the target parameter.

[0101] In one embodiment of the present disclosure, the parallel unauthorized access vulnerability detection device 900 also includes: a third request construction module, which is used to delete the locally stored user information to form a third access address containing the modified target parameters, and construct a third network request according to the third access address; a third information acquisition module, which is used to call the network communication service to obtain third response information according to the third network request; and an unauthorized access vulnerability judgment module, which is used to judge whether a parallel unauthorized access vulnerability exists according to the second response information and the third response information.

[0102] In one embodiment of the present disclosure, the unauthorized vulnerability judgment module 905 includes: a second detection unit, which is used to call the rule management service to extract the second judgment rule, and judge whether there is a parallel unauthorized vulnerability based on the second response information, the third response information and the second judgment rule.

[0103] In one embodiment of the present disclosure, the second judgment rule includes content comparison; the second detection unit is configured to: compare the content of the second response information with the content of the third response information; if the content of the second response information is the same as the content of the third response information, it is determined that there is no parallel authority override vulnerability; if the content of the second response information is different from the content of the third response information, it is determined that there is a parallel authority override vulnerability.

[0104] In one embodiment of the present disclosure, the parallel authority override vulnerability detection device 900 also includes: a third detection unit, which is used to call the rule management service to extract a third judgment rule to determine whether a parallel authority override vulnerability exists based on the first response information, the second response information and the third judgment rule.

[0105] In one embodiment of the present disclosure, the third judgment rule includes target information comparison; the third detection unit includes: an information extraction unit, used to extract the first target information in the first response information and the second target information in the second response information according to the preset field in the third judgment rule; an information comparison unit, used to compare the first target information and the second target information; a third judgment unit, used to determine that there is no parallel authority override vulnerability when the first target information is the same as the second target information; a fourth judgment unit, used to determine that there is a parallel authority override vulnerability when the first target information is different from the second target information.

[0106] In one embodiment of the present disclosure, the information extraction unit is configured to: match a preset field with all fields in the first response information, and match the preset field with all fields in the second response information; when there is a target field matching the preset field in the first response information, extract the information corresponding to the target field in the first response information, and use the information corresponding to the target field as the first target information; when there is a target field matching the preset field in the second response information, extract the information corresponding to the target field in the second response information, and use the information corresponding to the target field as the second target information.

[0107] In one embodiment of the present disclosure, the parallel privilege escalation vulnerability detection device 900 further includes: a saving module, which is used to send the first access address where the parallel privilege escalation vulnerability exists and the corresponding target parameter to the server for saving when it is determined that there is a parallel privilege escalation vulnerability.

[0108] Fig.10 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown.

[0109] It should be noted that Fig.10 The computer system 1000 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0110] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003 to implement the video processing method described in the above embodiment. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002 and the RAM 1003 are connected to each other through a bus 1004. The input / output (I / O) interface 1005 is also connected to the bus 1004.

[0111] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0112] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present disclosure are executed.

[0113] It should be noted that the computer-readable medium shown in the embodiment of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0114] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0115] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0116] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0117] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0118] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0119] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0120] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A parallel unauthorized vulnerability detection method, It is characterized in that include: Obtaining a first access address including a target parameter, and constructing a first network request according to the first access address; Invoking a network communication service to obtain first response information according to the first network request; Modifying the target parameter to form a second access address including the modified target parameter, and constructing a second network request according to the second access address; calling the network communication service to obtain second response information according to the second network request; comparing the content of the first response information with the content of the second response information; If the content of the first response information is the same as the content of the second response information, it is determined that the parallel unauthorized access vulnerability does not exist; If the content of the first response message is different from the content of the second response message, comparing the content length of the first response message with the content length of the second response message to obtain a target ratio; comparing the target ratio with a preset threshold; If the target ratio is less than the preset threshold, it is determined that the parallel overriding vulnerability exists; If the target ratio is greater than or equal to the preset threshold, it is determined that the parallel unauthorized access vulnerability does not exist.

2. The parallel unauthorized vulnerability detection method according to claim 1, It is characterized in that The target parameter is a numeric parameter; The modifying of the target parameter comprises: Based on the target parameter, the preset value is increased or decreased to modify the target parameter.

3. The parallel unauthorized access vulnerability detection method according to claim 1, after obtaining the second response information according to the second network request, the method further include: Deleting the locally stored user information to form a third access address including the modified target parameter, and constructing a third network request according to the third access address; calling the network communication service to obtain third response information according to the third network request; Determine whether the parallel unauthorized access vulnerability exists based on the second response information and the third response information.

4. The parallel unauthorized access vulnerability detection method according to claim 3, wherein the determining whether the parallel unauthorized access vulnerability exists is performed based on the second response information and the third response information. include: The rule management service is called and the second judgment rule is extracted, and whether the parallel unauthorized access vulnerability exists is judged according to the second response information, the third response information and the second judgment rule.

5. The parallel unauthorized vulnerability detection method according to claim 4, It is characterized in that The second judgment rule includes content comparison; The determining whether the parallel unauthorized access vulnerability exists according to the second response information, the third response information and the second determination rule includes: Comparing the content of the second response information with the content of the third response information; If the content of the second response information is the same as the content of the third response information, it is determined that the parallel ultra vires vulnerability does not exist; If the content of the second response information is different from the content of the third response information, it is determined that the parallel unauthorized access vulnerability exists.

6. The parallel unauthorized vulnerability detection method according to claim 1, It is characterized in that The method further comprises: The rule management service is called and a third judgment rule is extracted to judge whether the parallel ultra vires vulnerability exists according to the first response information, the second response information and the third judgment rule.

7. The parallel unauthorized vulnerability detection method according to claim 6, It is characterized in that The third judgment rule includes target information comparison; The determining whether the parallel unauthorized access vulnerability exists according to the first response information, the second response information and the third determination rule includes: Extracting the first target information in the first response information and the second target information in the second response information according to the preset field in the third judgment rule; comparing the first target information and the second target information; If the first target information is the same as the second target information, it is determined that the parallel unauthorized access vulnerability does not exist; If the first target information is different from the second target information, it is determined that the parallel unauthorized access vulnerability exists.

8. The parallel unauthorized vulnerability detection method according to claim 7, It is characterized in that The extracting the first target information in the first response information and the second target information in the second response information according to the preset field in the third judgment rule includes: Matching the preset field with all fields in the first response information, and matching the preset field with all fields in the second response information; When there is a target field matching the preset field in the first response information, extracting information corresponding to the target field in the first response information, and using the information corresponding to the target field as the first target information; When a target field matching the preset field exists in the second response information, information corresponding to the target field in the second response information is extracted, and the information corresponding to the target field is used as the second target information.

9. The parallel unauthorized vulnerability detection method according to claim 1, It is characterized in that The method further comprises: When it is determined that the parallel unauthorized access vulnerability exists, the first access address where the parallel unauthorized access vulnerability exists and the corresponding target parameter are sent to the server for storage.

10. A parallel unauthorized vulnerability detection device, It is characterized in that include: A first request building module, used to obtain a first access address containing target parameters, and build a first network request according to the first access address; A first information acquisition module, used to call a network communication service to obtain first response information according to the first network request; a second request construction module, configured to modify the target parameter to form a second access address including the modified target parameter, and to construct a second network request according to the second access address; A second information acquisition module, used for calling the network communication service to obtain second response information according to the second network request; an unauthorized vulnerability detection module, configured to compare the content of the first response information with the content of the second response information; If the content of the first response information is the same as the content of the second response information, it is determined that the parallel unauthorized access vulnerability does not exist; If the content of the first response message is different from the content of the second response message, comparing the content length of the first response message with the content length of the second response message to obtain a target ratio; comparing the target ratio with a preset threshold; If the target ratio is less than the preset threshold, it is determined that the parallel overriding vulnerability exists; If the target ratio is greater than or equal to the preset threshold, it is determined that the parallel unauthorized access vulnerability does not exist.

11. A computer device, It is characterized in that include: processor; and A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the parallel unauthorized vulnerability detection method according to any one of claims 1 to 9.

12. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the parallel unauthorized vulnerability detection method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Hole detection method and device

    CN107241292A

  • Method and device for detecting horizontal permission vulnerabilities

    CN107294919A

  • Webpage vulnerability detection method and apparatus

    CN107332804A

  • Web unauthorization loophole detection method and system

    CN107577949A

  • Method and device for detecting unauthorized bug

    CN108769070A