diff --git a/pom.xml b/pom.xml
index bf6e77a90..dba2c4440 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat
webgoat-parent
pom
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
WebGoat Parent Pom
Parent Pom for the WebGoat Project. A deliberately insecure Web Application
diff --git a/webgoat-container/pom.xml b/webgoat-container/pom.xml
index 2f766037a..347f7e6b1 100644
--- a/webgoat-container/pom.xml
+++ b/webgoat-container/pom.xml
@@ -10,7 +10,7 @@
org.owasp.webgoat
webgoat-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/auth-bypass/pom.xml b/webgoat-lessons/auth-bypass/pom.xml
index 0cdc9ef49..0f0a1085e 100644
--- a/webgoat-lessons/auth-bypass/pom.xml
+++ b/webgoat-lessons/auth-bypass/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/bypass-restrictions/pom.xml b/webgoat-lessons/bypass-restrictions/pom.xml
index c1d0102c0..19d00f322 100755
--- a/webgoat-lessons/bypass-restrictions/pom.xml
+++ b/webgoat-lessons/bypass-restrictions/pom.xml
@@ -6,6 +6,6 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/challenge/pom.xml b/webgoat-lessons/challenge/pom.xml
index f4a321fd7..565a2e6c7 100644
--- a/webgoat-lessons/challenge/pom.xml
+++ b/webgoat-lessons/challenge/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/client-side-filtering/pom.xml b/webgoat-lessons/client-side-filtering/pom.xml
index aa1d49872..51ab26b6c 100644
--- a/webgoat-lessons/client-side-filtering/pom.xml
+++ b/webgoat-lessons/client-side-filtering/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/cross-site-scripting/pom.xml b/webgoat-lessons/cross-site-scripting/pom.xml
index 6c99401b6..b552ec05c 100644
--- a/webgoat-lessons/cross-site-scripting/pom.xml
+++ b/webgoat-lessons/cross-site-scripting/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/csrf/pom.xml b/webgoat-lessons/csrf/pom.xml
index 2366e85d3..46562563c 100644
--- a/webgoat-lessons/csrf/pom.xml
+++ b/webgoat-lessons/csrf/pom.xml
@@ -6,6 +6,6 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
\ No newline at end of file
diff --git a/webgoat-lessons/html-tampering/pom.xml b/webgoat-lessons/html-tampering/pom.xml
index 2585104ca..0da8bb5d8 100755
--- a/webgoat-lessons/html-tampering/pom.xml
+++ b/webgoat-lessons/html-tampering/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/http-basics/pom.xml b/webgoat-lessons/http-basics/pom.xml
index 4a2e3959b..a20459465 100644
--- a/webgoat-lessons/http-basics/pom.xml
+++ b/webgoat-lessons/http-basics/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/http-proxies/pom.xml b/webgoat-lessons/http-proxies/pom.xml
index 23c24a5dd..fa45d71a5 100644
--- a/webgoat-lessons/http-proxies/pom.xml
+++ b/webgoat-lessons/http-proxies/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/idor/pom.xml b/webgoat-lessons/idor/pom.xml
index 73e18fbaa..122f12cf5 100644
--- a/webgoat-lessons/idor/pom.xml
+++ b/webgoat-lessons/idor/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
\ No newline at end of file
diff --git a/webgoat-lessons/insecure-deserialization/pom.xml b/webgoat-lessons/insecure-deserialization/pom.xml
index 08de6cf6a..4e7e294f1 100755
--- a/webgoat-lessons/insecure-deserialization/pom.xml
+++ b/webgoat-lessons/insecure-deserialization/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/insecure-login/pom.xml b/webgoat-lessons/insecure-login/pom.xml
index faf241a51..cbe489fca 100755
--- a/webgoat-lessons/insecure-login/pom.xml
+++ b/webgoat-lessons/insecure-login/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/jwt/pom.xml b/webgoat-lessons/jwt/pom.xml
index e1856384d..4850d85b6 100644
--- a/webgoat-lessons/jwt/pom.xml
+++ b/webgoat-lessons/jwt/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/missing-function-ac/pom.xml b/webgoat-lessons/missing-function-ac/pom.xml
index 7c2359247..12de5d3cb 100644
--- a/webgoat-lessons/missing-function-ac/pom.xml
+++ b/webgoat-lessons/missing-function-ac/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/password-reset/pom.xml b/webgoat-lessons/password-reset/pom.xml
index 37c437ce9..b6c33f442 100644
--- a/webgoat-lessons/password-reset/pom.xml
+++ b/webgoat-lessons/password-reset/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/pom.xml b/webgoat-lessons/pom.xml
index c6d9f8b75..bb44f17ea 100644
--- a/webgoat-lessons/pom.xml
+++ b/webgoat-lessons/pom.xml
@@ -5,12 +5,12 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
pom
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
org.owasp.webgoat
webgoat-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/sql-injection/pom.xml b/webgoat-lessons/sql-injection/pom.xml
index d2e50488c..ac6e19f53 100644
--- a/webgoat-lessons/sql-injection/pom.xml
+++ b/webgoat-lessons/sql-injection/pom.xml
@@ -6,6 +6,6 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
\ No newline at end of file
diff --git a/webgoat-lessons/sql-injection/src/main/java/org/owasp/webgoat/plugin/mitigation/SqlInjectionLesson12a.java b/webgoat-lessons/sql-injection/src/main/java/org/owasp/webgoat/plugin/mitigation/SqlInjectionLesson12a.java
index b8237b8df..e54834121 100644
--- a/webgoat-lessons/sql-injection/src/main/java/org/owasp/webgoat/plugin/mitigation/SqlInjectionLesson12a.java
+++ b/webgoat-lessons/sql-injection/src/main/java/org/owasp/webgoat/plugin/mitigation/SqlInjectionLesson12a.java
@@ -33,7 +33,7 @@ public class SqlInjectionLesson12a extends AssignmentEndpoint {
@SneakyThrows
public AttackResult completed(@RequestParam String ip) {
Connection connection = DatabaseUtilities.getConnection(webSession);
- PreparedStatement preparedStatement = connection.prepareStatement("select ip from servers where ip = ?");
+ PreparedStatement preparedStatement = connection.prepareStatement("select ip from servers where hostname = 'webgoat-prd' and ip = ?");
preparedStatement.setString(1, ip);
ResultSet resultSet = preparedStatement.executeQuery();
if (resultSet.next()) {
diff --git a/webgoat-lessons/sql-injection/src/main/resources/lessonPlans/en/SqlInjection_content9.adoc b/webgoat-lessons/sql-injection/src/main/resources/lessonPlans/en/SqlInjection_content9.adoc
index 196c958ab..996b6ac3a 100644
--- a/webgoat-lessons/sql-injection/src/main/resources/lessonPlans/en/SqlInjection_content9.adoc
+++ b/webgoat-lessons/sql-injection/src/main/resources/lessonPlans/en/SqlInjection_content9.adoc
@@ -11,7 +11,7 @@ PreparedStatement ps = null;
RecordSet rs = null;
try {
pUserName = request.getParameter("UserName");
- if ( isUsernameValid (pUsername);
+ if ( isUsernameValid (pUsername) ) {
ps = conn.prepareStatement("SELECT * FROM user_table
WHERE username = ? ");
ps.setString(1, pUsername);
@@ -22,4 +22,4 @@ try {
} else { // handle invalid input }
}
catch (…) { // handle all exceptions … }
-----
\ No newline at end of file
+----
diff --git a/webgoat-lessons/vulnerable-components/pom.xml b/webgoat-lessons/vulnerable-components/pom.xml
index 22411f819..e04800aee 100644
--- a/webgoat-lessons/vulnerable-components/pom.xml
+++ b/webgoat-lessons/vulnerable-components/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-lessons/webgoat-introduction/pom.xml b/webgoat-lessons/webgoat-introduction/pom.xml
index 5e6d2ce7f..e12d7cf05 100644
--- a/webgoat-lessons/webgoat-introduction/pom.xml
+++ b/webgoat-lessons/webgoat-introduction/pom.xml
@@ -6,6 +6,6 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
\ No newline at end of file
diff --git a/webgoat-lessons/webwolf-introduction/pom.xml b/webgoat-lessons/webwolf-introduction/pom.xml
index a268b0602..afffd26bf 100644
--- a/webgoat-lessons/webwolf-introduction/pom.xml
+++ b/webgoat-lessons/webwolf-introduction/pom.xml
@@ -6,6 +6,6 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
\ No newline at end of file
diff --git a/webgoat-lessons/xxe/pom.xml b/webgoat-lessons/xxe/pom.xml
index 6d69be448..b5870e3b1 100644
--- a/webgoat-lessons/xxe/pom.xml
+++ b/webgoat-lessons/xxe/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat.lesson
webgoat-lessons-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webgoat-server/pom.xml b/webgoat-server/pom.xml
index 31a304e2f..1744d990c 100644
--- a/webgoat-server/pom.xml
+++ b/webgoat-server/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat
webgoat-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22
diff --git a/webwolf/pom.xml b/webwolf/pom.xml
index 385a0fbc5..4a2e40c0a 100644
--- a/webwolf/pom.xml
+++ b/webwolf/pom.xml
@@ -6,7 +6,7 @@
org.owasp.webgoat
webgoat-parent
- v8.0.0-SNAPSHOT
+ v8.0.0.M22