|
12 | 12 | <properties>
|
13 | 13 | <maven.compiler.source>1.8</maven.compiler.source> <!-- mvn clean package-->
|
14 | 14 | <maven.compiler.target>1.8</maven.compiler.target>
|
15 |
| - <tomcat.version>8.5.85</tomcat.version> |
16 | 15 | </properties>
|
17 | 16 |
|
18 | 17 |
|
|
197 | 196 | <version>1.7</version>
|
198 | 197 | </dependency>
|
199 | 198 |
|
200 |
| - <!-- rce --> |
| 199 | + |
201 | 200 | <dependency>
|
202 | 201 | <groupId>com.thoughtworks.xstream</groupId>
|
203 | 202 | <artifactId>xstream</artifactId>
|
204 |
| - <version>1.4.10</version> |
| 203 | + <!-- For testing, you can use the vulnerable version of 1.4.10. --> |
| 204 | + <version>1.4.20</version> <!-- use latest version to exploit vuln by using xstream.addPermission--> |
205 | 205 | </dependency>
|
206 | 206 |
|
207 | 207 | <dependency>
|
|
344 | 344 | <version>11.5.8.0</version>
|
345 | 345 | </dependency>
|
346 | 346 |
|
| 347 | + <dependency> |
| 348 | + <groupId>org.apache.shiro</groupId> |
| 349 | + <artifactId>shiro-core</artifactId> |
| 350 | + <version>1.2.4</version> |
| 351 | + </dependency> |
| 352 | + |
| 353 | + <dependency> |
| 354 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 355 | + <artifactId>jackson-databind</artifactId> |
| 356 | + <version>2.9.8</version> |
| 357 | + </dependency> |
| 358 | + |
| 359 | + <dependency> |
| 360 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 361 | + <artifactId>jackson-annotations</artifactId> |
| 362 | + <version>2.9.8</version> |
| 363 | + </dependency> |
| 364 | + |
| 365 | + <dependency> |
| 366 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 367 | + <artifactId>jackson-core</artifactId> |
| 368 | + <version>2.9.8</version> |
| 369 | + </dependency> |
| 370 | + |
| 371 | + |
| 372 | + <!-- https://mvnrepository.com/artifact/org.jsecurity/jsecurity --> |
| 373 | + <dependency> |
| 374 | + <groupId>org.jsecurity</groupId> |
| 375 | + <artifactId>jsecurity</artifactId> |
| 376 | + <version>0.9.0</version> |
| 377 | + </dependency> |
| 378 | + |
| 379 | + |
| 380 | + <!-- 为了使用SimpleEvaluationContext,该类需要spring-expression版本大于等于4.3.15 --> |
| 381 | + <dependency> |
| 382 | + <groupId>org.springframework</groupId> |
| 383 | + <artifactId>spring-expression</artifactId> |
| 384 | + <version>4.3.16.RELEASE</version> |
| 385 | + </dependency> |
| 386 | + |
| 387 | + <!-- https://mvnrepository.com/artifact/com.h2database/h2 --> |
| 388 | + <dependency> |
| 389 | + <groupId>com.h2database</groupId> |
| 390 | + <artifactId>h2</artifactId> |
| 391 | + <version>1.4.199</version> |
| 392 | + <scope>test</scope> |
| 393 | + </dependency> |
| 394 | + |
| 395 | + <dependency> |
| 396 | + <groupId>org.apache.tomcat</groupId> |
| 397 | + <artifactId>tomcat-dbcp</artifactId> |
| 398 | + <version>9.0.8</version> |
| 399 | + </dependency> |
| 400 | + |
| 401 | + <dependency> |
| 402 | + <groupId>com.alibaba</groupId> |
| 403 | + <artifactId>QLExpress</artifactId> |
| 404 | + <version>3.3.1</version> |
| 405 | + </dependency> |
347 | 406 | </dependencies>
|
348 | 407 |
|
349 | 408 | <dependencyManagement>
|
|
0 commit comments