nuclei-templates/http/misconfiguration/struts-ognl-console.yaml

35 lines
1.1 KiB
YAML

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:
verified: true
max-request: 1
shodan-query: html:"Struts Problem Report"
tags: apache,struts,ognl,panel,misconfig
http:
- method: GET
path:
- '{{BaseURL}}/struts/webconsole.html?debug=console'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Welcome to the OGNL console!'
- type: status
status:
- 200
# digest: 4a0a00473045022100bb73b24e9ca24ea074ca1175b1d76e79d6f59f4c30644f2232dd1c3f7878d0cf0220703e23fa55255a8b6956da4755c05416f7527f199eb6a670a01d3bf9238dfe87:922c64590222798bb761d5b6d8e72950