2023-02-08 05:39:59 +00:00
|
|
|
id: struts-ognl-console
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Apache Struts - OGNL Console
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: unknown
|
|
|
|
description: |
|
|
|
|
This development console allows the evaluation of OGNL expressions that could lead to Remote Command Execution
|
|
|
|
remediation: Restrict access to the struts console on the production server
|
|
|
|
reference:
|
|
|
|
- https://github.com/PortSwigger/j2ee-scan/blob/master/src/main/java/burp/j2ee/issues/impl/ApacheStrutsWebConsole.java
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2023-02-08 05:39:59 +00:00
|
|
|
verified: "true"
|
|
|
|
shodan-query: html:"Struts Problem Report"
|
|
|
|
tags: apache,struts,ognl,panel
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-02-08 05:39:59 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/struts/webconsole.html?debug=console'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
2023-02-08 05:51:54 +00:00
|
|
|
words:
|
2023-02-08 05:39:59 +00:00
|
|
|
- 'Welcome to the OGNL console!'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|