From d479157e10f3b0128b3c0cfa925d30a939bc38e5 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 16 Aug 2022 16:51:35 +0200 Subject: [PATCH 1/2] a1 description: fix text between codeblocks --- views/vulnerabilities/a1_injection/description.ejs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/vulnerabilities/a1_injection/description.ejs b/views/vulnerabilities/a1_injection/description.ejs index f2ab2fd7..83cc09ab 100644 --- a/views/vulnerabilities/a1_injection/description.ejs +++ b/views/vulnerabilities/a1_injection/description.ejs @@ -11,9 +11,11 @@ String query = "SELECT * FROM accounts WHERE custID='" + request.getParameter("i The attacker modifies the `id` parameter value in her browser to send following: ``` -' or '1'='1. For example: +' or '1'='1 ``` +For example: + ``` http://example.com/app/accountView?id=' or '1'='1 ``` From a22a46ae827a3d114ad5e13d361d69cfe423abc0 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 16 Aug 2022 16:55:27 +0200 Subject: [PATCH 2/2] make these reference clickable links, update URLs --- views/vulnerabilities/a1_injection/reference.ejs | 6 +++--- views/vulnerabilities/a7_xss/reference.ejs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/views/vulnerabilities/a1_injection/reference.ejs b/views/vulnerabilities/a1_injection/reference.ejs index 267dbdab..5d83eb98 100644 --- a/views/vulnerabilities/a1_injection/reference.ejs +++ b/views/vulnerabilities/a1_injection/reference.ejs @@ -1,4 +1,4 @@
-* https://www.owasp.org/index.php/Top_10_2013-A1-Injection -* https://www.owasp.org/index.php/Injection_Flaws -
\ No newline at end of file +* OWASP Top Ten: Injection +* OWASP: Injection Flaws + diff --git a/views/vulnerabilities/a7_xss/reference.ejs b/views/vulnerabilities/a7_xss/reference.ejs index 2a5f98d8..183ca448 100644 --- a/views/vulnerabilities/a7_xss/reference.ejs +++ b/views/vulnerabilities/a7_xss/reference.ejs @@ -1,4 +1,4 @@
-* https://www.owasp.org/index.php/Cross-site\_Scripting\_(XSS) -* https://www.owasp.org/index.php/OWASP\_Testing\_Guide_v4\_Table\_of\_Contents -
\ No newline at end of file +* OWASP: Cross Site Scripting (XSS) +* OWASP Testing Guide v4 Table of Contents +