Skip to content

Commit

Permalink
Merge pull request #10515 from righettod/amq_upd
Browse files Browse the repository at this point in the history
Refactor the "ActiveMQ" template.
  • Loading branch information
DhiyaneshGeek authored Aug 13, 2024
2 parents 896dbdb + 6b541e2 commit d287e59
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions http/exposed-panels/activemq-panel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ id: activemq-panel

info:
name: Apache ActiveMQ Exposure
author: pdteam
author: pdteam,righettod
severity: info
description: An Apache ActiveMQ implementation was discovered.
reference:
- https://activemq.apache.org/
- https://activemq.apache.org/components/classic/documentation/rest
classification:
cwe-id: CWE-200
cpe: cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*
Expand All @@ -17,17 +18,28 @@ info:
shodan-query:
- cpe:"cpe:2.3:a:apache:activemq"
- product:"activemq openwire transport"
tags: panel,activemq,apache
- http.title:"Apache ActiveMQ"
tags: panel,activemq,apache,login

http:
- method: GET
path:
- '{{BaseURL}}'
- "{{BaseURL}}/admin/"
- "{{BaseURL}}/demo/"
- "{{BaseURL}}"

stop-at-first-match: true
matchers:
- type: word
words:
- '<h2>Welcome to the Apache ActiveMQ!</h2>'
- '<title>Apache ActiveMQ</title>'
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_any(to_lower(body), "<title>apache activemq</title>", "<h2>welcome to the apache activemq!</h2>", "manage activemq broker", "activemq console")'
condition: and
# digest: 490a0046304402200680997e4c289c87060383d51f4bb6961f032074940d7a88d3138c2409d5d33d022034ae36716fa244b3aeac8f14f6396f8559ca6197384d895d23af31b722998851:922c64590222798bb761d5b6d8e72950

extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)Copyright\s+([0-9\-]+)'
- '(?i)<td>Version<\/td>[\r\n\s]*<td>[\r\n\s]*<b>([0-9.]+)<\/b>'

0 comments on commit d287e59

Please sign in to comment.