Detecting Cross-Site Scripting Vulnerabilities In Web Applications
AssigneeDynatrace LLC
InventorsStefan Achleitner, Alexandra Oberaigner, Christian Schwarzbauer
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to the detection of cross-site scripting vulnerabilities in a web application. The objective of the disclosure is to find a computer-implemented method for detecting cross-site scripting vulnerabilities in a web application. The detection of XSS vulnerabilities shall be performed automatically and the number of false positives shall be reduced compared to the prior art.
Claims16
A computer-implemented method for detecting cross-site scripting vulnerabilities in a web application, comprising:
- receiving, by a computer processor, a listing of network requests made to a backend of a web application, each entry in the listing of network requests includes a network address and a key-value pair;
- for each unique combination of network address and key found in the listing of network requests, formulating, by the computer processor, a probing request using a given network address and a given key, where value of the key is set to a predefined payload and the predefined payload includes an identifying tag, such that the predefined payload is configured to trigger the backend of the web application to send a response which includes the identifying tag;
- sending, by the computer processor, the probing request to the backend of the web application
- monitoring, by agents instrumented in the web application, responses to the probing requests;
- and
- reporting a vulnerability for the web application in response to the frontend requesting a target specified by the identifying tag.
A non-transitory computer-readable medium having computer-executable instructions that, upon execution of the instructions by a processor of a computer, cause the computer to
- receive a listing of network requests made to a backend of a web application, each entry in the listing of network requests includes a network address and a key-value pair;
- for each unique combination of network address and key found in the listing of network requests, formulate a probing request using a given network address and a given key, where value of the key is set to a predefined payload and the predefined payload includes an identifying tag, such that the predefined payload is configured to trigger the backend of the web application to send a response which includes the identifying tag;
- send the probing request to the backend of the web application;
- monitor responses to the probing requests using agents instrumented in the web application;
- and
- report a vulnerability for the web application in response to the frontend requesting a target specified by the identifying tag.
Dependencies are inferred from the claim text.