Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache-Tomcat-CVE-2024-56337 #11417

Open
halimB8 opened this issue Dec 26, 2024 · 1 comment
Open

Apache-Tomcat-CVE-2024-56337 #11417

halimB8 opened this issue Dec 26, 2024 · 1 comment
Assignees

Comments

@halimB8
Copy link

halimB8 commented Dec 26, 2024

This template is to identify Apache Tomcat versions vulnerable to CVE-2024-56337

id: Apache-Tomcat-CVE-2024-56337

info:
name: Detect Apache Tomcat Server vulnerable to CVE-2024-56337
author: Abdelhalim ABO
severity: high
description: |
Detects Apache Tomcat server versions:
- Apache Tomcat 11.0.0-M1 to 11.0.1
- Apache Tomcat 10.1.0-M1 to 10.1.33
- Apache Tomcat 9.0.0.M1 to 9.0.97
tags: tomcat

requests:

  • method: GET
    path:

    • "{{BaseURL}}"

    redirects: true
    matchers-condition: or
    matchers:

    • type: regex
      part: body
      regex:
      • 'Apache Tomcat/(11.0.0-M1|11.0.1)'
      • 'Apache Tomcat/10.1.(0-M[1-9]|[1-2][0-9]|3[0-3])'
      • 'Apache Tomcat/9.0.(0-M[1-9]|[1-9][0-9]|97)'
        extractors:
    • type: regex
      part: body
      regex:
      • 'Apache Tomcat/(11.0.0-M1|11.0.1)'
      • 'Apache Tomcat/10.1.(0-M[1-9]|[1-2][0-9]|3[0-3])'
      • 'Apache Tomcat/9.0.(0-M[1-9]|[1-9][0-9]|97)'
  • method: GET
    path:

    • "{{BaseURL}}/rrr.dd" #Visit a non-existent page t try to have an error and display the version of Apache Tomcat
      matchers:
    • type: regex
      part: body
      regex:
      • 'Apache Tomcat/(11.0.0-M1|11.0.1)'
      • 'Apache Tomcat/10.1.(0-M[1-9]|[1-2][0-9]|3[0-3])'
      • 'Apache Tomcat/9.0.(0-M[1-9]|[1-9][0-9]|97)'

    extractors:

    • type: regex
      part: body
      regex:
      • 'Apache Tomcat/(11.0.0-M1|11.0.1)'
      • 'Apache Tomcat/10.1.(0-M[1-9]|[1-2][0-9]|3[0-3])'
      • 'Apache Tomcat/9.0.(0-M[1-9]|[1-9][0-9]|97)'
@GeorginaReeder
Copy link

Thanks for your contributions @halimB8 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants