A WEB vulnerability detection method and related components

By obtaining and running target test scripts and inputting the generated request traffic into the vulnerability scanning tool, the existing vulnerability scanning tool lacks support for the front-end separation of WEB application frameworks, and improves vulnerability detection coverage and efficiency.

CN114826756BActive Publication Date: 2024-11-29SANGFOR TECH INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210505398.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2024-11-29
Estimated Expiration
2042-05-10

AI Technical Summary

Technical Problem

Existing vulnerability scanning tools lack support for the WEB application framework separated by the front and back ends, resulting in extremely poor vulnerability scanning effect.

Method used

By obtaining the target test script corresponding to the user's test requirements, running the script and inputting the generated request traffic into the vulnerability scanning tool, the proxy server forwards request traffic to enhance crawler capabilities and improve vulnerability detection coverage.

Benefits of technology

It solves the problem that the vulnerability scanning tool lacks support for the front-end and back-end separation of WEB application framework, enhances crawling capabilities, improves vulnerability detection efficiency, and is simple to operate without adding complex configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114826756B_ABST
    Figure CN114826756B_ABST
Patent Text Reader

Abstract

The present application discloses a WEB vulnerability detection method and related components, including: obtaining a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on a target application server; running the target test script; inputting the request traffic generated by the target test script during operation into a vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic. It can be seen that the present application can solve the problem that the existing vulnerability scanning tool crawler does not support the WEB application framework with front-end and back-end separation, and the operation is simple without adding additional complex configuration, thereby enhancing the crawler capability to improve the efficiency of WEB vulnerability detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a WEB vulnerability detection method, device, equipment and storage medium. Background Art

[0002] With the development of WEB development technology, the current WEB application framework is usually separated from the front-end and back-end. The front-end frameworks are often Vue, AngularJS, React, etc., and the back-end provides services through RESTFul API. Based on this front-end architecture, all page access paths are managed by front-end scripts and the front-end scripts may be obfuscated. The static crawlers on the market are basically ineffective, and the coverage rate of dynamic crawlers is less than 15%, resulting in extremely poor overall effect of vulnerability scanning tools for modern WEB application frameworks with separation of front-end and back-end.

[0003] Therefore, how to solve the problem that existing vulnerability scanning tool crawlers do not provide sufficient support for WEB application frameworks with front-end and back-end separation is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a WEB vulnerability detection method, device, equipment and storage medium, which can solve the problem that the existing vulnerability scanning tool crawler does not support the WEB application framework with front-end and back-end separation. The specific scheme is as follows:

[0005] The first aspect of the present application provides a WEB vulnerability detection method, comprising:

[0006] Obtaining a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on a target application server;

[0007] Running the target test script;

[0008] The request traffic generated by the target test script during operation is input into a vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic.

[0009] Optionally, before obtaining the target test script corresponding to the user's test requirements, the method further includes:

[0010] The corresponding target test script is created according to the target test case; wherein the target test case represents the test requirement of the user.

[0011] Optionally, obtaining a target test script corresponding to the user's test requirements includes:

[0012] The target test script corresponding to the user's test requirements is obtained through a preset interface of the application security testing platform visualization interface.

[0013] Optionally, the application security testing platform is an automated testing platform built based on dynamic application security testing technology.

[0014] Optionally, running the target test script includes:

[0015] A target test framework corresponding to the target test script is determined, and the target test script is run in a test environment using the target test framework.

[0016] Optionally, determining a target test framework corresponding to the target test script, and using the target test framework to run the target test script in a test environment includes:

[0017] A target test sandbox that is consistent with the test framework type of the target test script is determined, and the target test script is run in the target test sandbox.

[0018] Optionally, inputting the request traffic generated by the target test script during operation into a vulnerability scanning tool includes:

[0019] The request traffic generated by the target test script during its operation is obtained by using a proxy server, and the obtained request traffic is forwarded to the vulnerability scanning tool by using the proxy server.

[0020] Optionally, after using the proxy server to obtain the request traffic generated by the target test script during its operation, the method further includes:

[0021] The proxy server is used to forward the acquired request traffic to the target application server, so that the target test script can run normally in the target test sandbox.

[0022] Optionally, after determining the target test sandbox that is consistent with the test framework type of the target test script, the method further includes:

[0023] The proxy server, the vulnerability scanning tool and the target application server are configured through the target test sandbox.

[0024] Optionally, the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic, including:

[0025] The vulnerability scanning tool injects the payloadc parameter into the request traffic and performs vulnerability scanning on the request traffic after the parameter injection to detect whether the target application server has a WEB vulnerability.

[0026] A second aspect of the present application provides a WEB vulnerability detection device, comprising:

[0027] A test script acquisition module is used to acquire a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on a target application server;

[0028] A script running module, used for running the target test script;

[0029] The vulnerability detection module is used to input the request traffic generated by the target test script during operation into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic.

[0030] A third aspect of the present application provides an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the aforementioned WEB vulnerability detection method.

[0031] A fourth aspect of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are loaded and executed by a processor, the aforementioned WEB vulnerability detection method is implemented.

[0032] In this application, the target test script corresponding to the user's test requirements is first obtained; wherein the target test script is a script pre-created to perform automated testing on the target application server; then the target test script is run; finally, the request traffic generated by the target test script during operation is input into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether there is a WEB vulnerability in the target application server based on the request traffic. It can be seen that this application obtains the target test script corresponding to the user's test requirements and runs the target test script, and comprehensively detects WEB vulnerabilities during operation, thereby solving the problem of insufficient support for WEB application frameworks with front-end and back-end separation in existing vulnerability scanning tool crawlers, and the operation is simple without adding additional complex configurations, thereby enhancing the crawler capabilities to improve the efficiency of WEB vulnerability detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0034] Figure 1 A flow chart of a WEB vulnerability detection method provided by this application;

[0035] Figure 2 A specific WEB vulnerability detection method flow chart provided for this application;

[0036] Figure 3 A specific schematic diagram of the WEB vulnerability detection process provided for this application;

[0037] Figure 4 A schematic diagram of the structure of a WEB vulnerability detection device provided by this application;

[0038] Figure 5 A structural diagram of a WEB vulnerability detection electronic device provided in this application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] In existing WEB application frameworks with separated front-end and back-end, all page access paths are managed by front-end scripts and the front-end scripts may be confused, making the overall effect of vulnerability scanning tools extremely poor. In response to the above technical defects, this application provides a WEB vulnerability detection solution that can solve the problem that the existing vulnerability scanning tool crawler does not support the WEB application framework with separated front-end and back-end, and the operation is simple without adding additional complex configuration, thereby enhancing the crawler capability to improve the efficiency of WEB vulnerability detection.

[0041] Figure 1 A flow chart of a WEB vulnerability detection method provided in an embodiment of the present application. Figure 1 As shown, the WEB vulnerability detection method includes:

[0042] S11: Obtain a target test script corresponding to the user's test requirements; wherein the target test script is a pre-created script for performing automated testing on a target application server.

[0043] In this embodiment, a target test script corresponding to the user's test requirements is obtained. The target test script is a script pre-created to perform automated testing on the target application server. Therefore, the WEB vulnerability detection method of this embodiment is mainly based on automated testing for WEB vulnerability detection. Prior to this, it is necessary to create the corresponding target test script according to the target test case, wherein the target test case represents the user's test requirements. In order to reduce operating costs, it can generally be implemented based on the company's existing automatic test cases.

[0044] S12: Run the target test script.

[0045] In this embodiment, after obtaining the target test script, it is necessary to run the target test script. It can be understood that the test script is generally run in a test environment. To this end, the specific process of running the target test script includes: determining the target test framework corresponding to the target test script, and using the target test framework to run the target test script in the test environment. That is, first determine the target test framework corresponding to the target test script, and then use the target test framework to run the target test script in the test environment. The target test framework includes but is not limited to the SELENIUM framework and the QTP (Quick Test Professional) framework. Among them, the SELENIUM test runs directly in the browser, just like a real user is operating. QTP is used to perform repeated automated testing. At present, most companies have begun to use frameworks such as SELENIUM and QTP, and test cases can fully cover all requests of WEB applications as automatic testing solutions.

[0046] S13: Inputting the request traffic generated by the target test script during its operation into a vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic.

[0047] In this embodiment, during the operation, the request traffic generated by the target test script during the operation needs to be input into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic. To this end, the request traffic generated by the target test script during the operation is obtained, and then the vulnerability scanning tool is used to perform a vulnerability scan on the request traffic to detect whether the target application server has a WEB vulnerability. When the target test script is running in the test environment, it can simulate all requests from the front and back ends. The request traffic obtained in this process is relatively comprehensive. When scanning using the vulnerability scanning tool, the crawler has a wider coverage and a stronger crawler capability.

[0048] It can be seen that the embodiment of the present application first obtains the target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on the target application server; then the target test script is run; finally, the request traffic generated by the target test script during operation is input into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether there is a WEB vulnerability in the target application server based on the request traffic. The embodiment of the present application obtains the target test script corresponding to the user's test requirements and runs the target test script, and comprehensively detects WEB vulnerabilities during operation, thereby solving the problem that the existing vulnerability scanning tool crawler does not support the WEB application framework with front-end and back-end separation, and the operation is simple without adding additional complex configuration, thereby enhancing the crawler capability to improve the efficiency of WEB vulnerability detection.

[0049] Figure 2 A specific WEB vulnerability detection method flow chart provided in the embodiment of the present application. Figure 2 As shown, the WEB vulnerability detection method includes:

[0050] S21: Obtain a target test script corresponding to the user's test requirements through a preset interface of the application security testing platform visualization interface.

[0051] In this embodiment, the target test script corresponding to the user's testing needs is obtained through the preset interface of the application security testing platform visualization interface. Among them, the application security testing platform is an automated testing platform built based on dynamic application security testing technology. For example, the application security testing platform can be a DAST platform. DAST (Dynamic Application Security Testing) is a black box testing technology. It is currently the most widely used and simplest WEB application security testing technology. Commonly used tools such as AWVS, AppScan, Nessus, NetSparker, Yunjing, etc. are products based on the DAST principle. In this embodiment, a new upload automatic test script selection function can be provided in the company's existing DAST platform, and users can upload the target test script through this function entrance. Based on this, the specific implementation process of this embodiment is as follows. Figure 2 shown.

[0052] S22: Determine a target test sandbox that is consistent with the test framework type of the target test script, and run the target test script in the target test sandbox.

[0053] In this embodiment, if the user uploads the target test script, a target test sandbox that is consistent with the test framework type of the target test script is determined, that is, the DAST platform sends the test task to the target test sandbox according to the automatic framework type. Corresponding to the aforementioned embodiment, the target test sandbox includes but is not limited to the SELENIUM Agent sandbox and the QTP Agent sandbox. It is not difficult to understand that after determining the target test sandbox, the vulnerability scanning tool and the target application server can be configured through the target test sandbox. After the configuration is completed, the target test script is run in the target test sandbox.

[0054] S23: using a proxy server to obtain request traffic generated during the running of the target test script, and using the proxy server to forward the obtained request traffic to a vulnerability scanning tool.

[0055] In this embodiment, the request traffic is acquired and forwarded through a proxy server, that is, the request traffic generated by the target test script during operation is acquired by the proxy server, and the acquired request traffic is forwarded to the vulnerability scanning tool by the proxy server. At the same time, in order to enable the target test script to run normally in the target test sandbox. After the proxy server acquires the request traffic, it is also necessary to use the proxy server to forward the acquired request traffic to the target application server, so that the target test script can run normally in the target test sandbox. In this embodiment, the proxy server is a DAST platform agent. After the sandbox is set up, the agent will forward the request to the vulnerability scanning tool (Scanner) to perform similar manual crawler operations, and will also forward it to the test target.

[0056] S24: The vulnerability scanning tool injects a payloadc parameter into the request traffic and performs a vulnerability scan on the request traffic after the parameter injection to detect whether the target application server has a WEB vulnerability.

[0057] In this embodiment, the specific process of vulnerability scanning is mainly that the vulnerability scanning tool injects the payloadc parameter into the request traffic and performs vulnerability scanning on the request traffic after the parameter injection to detect whether the target application server has a WEB vulnerability. After the scanner receives the forwarded request traffic from the proxy, it adds the payload parameter to each request traffic to detect whether the WEB service has a vulnerability, thereby completing the vulnerability scan.

[0058] It can be seen that the embodiment of the present application first obtains the target test script corresponding to the user's test requirements through the preset interface of the application security testing platform visual interface; then determines the target test sandbox that is consistent with the test framework type of the target test script, and runs the target test script in the target test sandbox; then uses the proxy server to obtain the request traffic generated by the target test script during operation, and uses the proxy server to forward the obtained request traffic to the vulnerability scanning tool; finally, the vulnerability scanning tool injects the payloadc parameter into the request traffic and performs a vulnerability scan on the request traffic after the parameter injection to detect whether the target application server has a WEB vulnerability. The embodiment of the present application expands the function of the vulnerability scanning tool, using the automatic test cases with a wide coverage of the enterprise, without complex configuration and operation, and only needs to submit the existing automatic test script to solve the problem that the current crawler cannot cover. Improve the support of the vulnerability scanning tool for the separation of modern front-end and back-end frameworks.

[0059] See also Figure 4 As shown, the embodiment of the present application also discloses a WEB vulnerability detection device, including:

[0060] The test script acquisition module 11 is used to acquire a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on a target application server;

[0061] A script running module 12, used for running the target test script;

[0062] The vulnerability detection module 13 is used to input the request traffic generated by the target test script during operation into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic.

[0063] It can be seen that the embodiment of the present application first obtains the target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on the target application server; then the target test script is run; finally, the request traffic generated by the target test script during operation is input into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether there is a WEB vulnerability in the target application server based on the request traffic. The embodiment of the present application obtains the target test script corresponding to the user's test requirements and runs the target test script, and comprehensively detects WEB vulnerabilities during operation, thereby solving the problem that the existing vulnerability scanning tool crawler does not support the WEB application framework with front-end and back-end separation, and the operation is simple without adding additional complex configuration, thereby enhancing the crawler capability to improve the efficiency of WEB vulnerability detection.

[0064] In some specific embodiments, the WEB vulnerability detection device further includes:

[0065] A creation module is used to create the corresponding target test script according to the target test case; wherein the target test case represents the test requirement of the user.

[0066] In some specific embodiments, the test script acquisition module 11 is specifically used to acquire the target test script corresponding to the user's test requirements through a preset interface of the application security testing platform visualization interface.

[0067] In some specific embodiments, the script running module 12 is specifically configured to determine a target test framework corresponding to the target test script, and use the target test framework to run the target test script in a test environment.

[0068] In some specific embodiments, the script execution module 12 specifically includes:

[0069] A determination unit, configured to determine a target test sandbox that is consistent with the test framework type of the target test script;

[0070] A configuration unit, configured to configure the proxy server, the vulnerability scanning tool and the target application server through the target test sandbox;

[0071] A running unit is used to run the target test script in the target test sandbox.

[0072] In some specific embodiments, the vulnerability detection module 13 specifically includes:

[0073] A traffic acquisition unit, used to acquire the request traffic generated by the target test script during its operation by using a proxy server;

[0074] A first traffic forwarding unit, configured to forward the acquired request traffic to the vulnerability scanning tool by using the proxy server;

[0075] A second traffic forwarding unit, configured to forward the acquired request traffic to the target application server by using the proxy server, so that the target test script can run normally in the target test sandbox;

[0076] The scanning unit is used to inject the payloadc parameter into the request traffic by the vulnerability scanning tool and perform vulnerability scanning on the request traffic after the parameter injection, so as to detect whether the target application server has a WEB vulnerability.

[0077] Furthermore, an embodiment of the present application also provides an electronic device. Figure 5This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0078] Figure 5 The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the WEB vulnerability detection method disclosed in any of the aforementioned embodiments.

[0079] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0080] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0081] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the WEB vulnerability detection method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. The data 223 can include the test scripts collected by the electronic device 20.

[0082] Furthermore, an embodiment of the present application also discloses a storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the WEB vulnerability detection method disclosed in any of the aforementioned embodiments are implemented.

[0083] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0084] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0085] The WEB vulnerability detection method, device, equipment and storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A WEB vulnerability detection method, characterized in that: include: Obtain a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on the target application server, the target test script is determined by an existing automated test case, and the test case covers all requests of the WEB application; Running the target test script; Input the request traffic generated by the target test script during operation into the vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic; wherein the target test script runs all the front-end and back-end requests in the test environment; Correspondingly, the step of obtaining a target test script corresponding to the user's test requirements includes: The target test script corresponding to the user's test requirements is obtained through the preset interface of the application security testing platform visualization interface; wherein, a new function of uploading automatic test script selection is added through the application security testing platform, so as to upload the target test script through the entrance of the automatic test script selection function.

2. The WEB vulnerability detection method according to claim 1, characterized in that: Before obtaining the target test script corresponding to the user's test requirements, the method further includes: The corresponding target test script is created according to the target test case, wherein the target test case represents the test requirement of the user.

3. The WEB vulnerability detection method according to claim 1, characterized in that: The application security testing platform is an automated testing platform built based on dynamic application security testing technology.

4. The WEB vulnerability detection method according to claim 1, characterized in that: The running of the target test script comprises: A target test framework corresponding to the target test script is determined, and the target test script is run in a test environment using the target test framework.

5. The WEB vulnerability detection method according to claim 4, characterized in that: The determining of a target test framework corresponding to the target test script and using the target test framework to run the target test script in a test environment includes: A target test sandbox that is consistent with the test framework type of the target test script is determined, and the target test script is run in the target test sandbox.

6. The WEB vulnerability detection method according to claim 5, characterized in that: The step of inputting the request traffic generated by the target test script during operation into the vulnerability scanning tool includes: The request traffic generated by the target test script during its operation is obtained by using a proxy server, and the obtained request traffic is forwarded to the vulnerability scanning tool by using the proxy server.

7. The WEB vulnerability detection method according to claim 6, characterized in that: After obtaining the request traffic generated by the target test script during operation by using the proxy server, the method further includes: The proxy server is used to forward the acquired request traffic to the target application server, so that the target test script can run normally in the target test sandbox.

8. The WEB vulnerability detection method according to claim 7, characterized in that: After determining the target test sandbox that is consistent with the test framework type of the target test script, the method further includes: The proxy server, the vulnerability scanning tool and the target application server are configured through the target test sandbox.

9. The WEB vulnerability detection method according to any one of claims 1 to 8, characterized in that: The vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic, including: The vulnerability scanning tool injects the payloadc parameter into the request traffic and performs vulnerability scanning on the request traffic after the parameter injection to detect whether the target application server has a WEB vulnerability.

10. A WEB vulnerability detection device, characterized in that: include: A test script acquisition module is used to acquire a target test script corresponding to the user's test requirements; wherein the target test script is a script pre-created to perform automated testing on a target application server, the target test script is determined by an existing automated test case, and the test case covers all requests of the WEB application; A script running module, used for running the target test script; A vulnerability detection module is used to input the request traffic generated by the target test script during operation into a vulnerability scanning tool, so that the vulnerability scanning tool detects whether the target application server has a WEB vulnerability based on the request traffic; wherein the target test script runs in a test environment to simulate all front-end and back-end requests; Correspondingly, the step of obtaining a target test script corresponding to the user's test requirements includes: The target test script corresponding to the user's test requirements is obtained through the preset interface of the application security testing platform visualization interface; wherein, a new function of uploading automatic test script selection is added through the application security testing platform, so as to upload the target test script through the entrance of the automatic test script selection function.

11. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein: The memory is used to store computer programs; The computer program is loaded and executed by the processor to implement the WEB vulnerability detection method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: Used to store computer executable instructions, which, when loaded and executed by a processor, implement the WEB vulnerability detection method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Anti-virus host product-oriented test system and test method

    CN107463493A

  • Vulnerability scanning method and device

    CN113872919A

  • Vulnerability scanning system and method and computer equipment

    CN114238978A