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

37 lines
1.2 KiB
YAML
Raw Normal View History

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
2024-09-10 09:08:16 +00:00
classification:
cpe: cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
2023-02-08 05:39:59 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2024-09-10 08:22:50 +00:00
vendor: apache
2024-09-10 09:08:16 +00:00
product: struts
shodan-query: html:"Struts Problem Report"
tags: apache,struts,ognl,panel,misconfig
2023-02-08 05:39: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
2024-09-12 05:14:01 +00:00
# digest: 490a00463044022024b5c243fae6480795adf107bc10a68f481b15a5a239304920c4abb2d4bd4078022045dc60a3f832e49e8850693feb4158c656e0f26d6b296ae1b0313a248eb8a015:922c64590222798bb761d5b6d8e72950