id: config-properties info: name: Config Properties Exposure author: j4vaovo,DhiyaneshDK severity: high reference: - https://twitter.com/win3zz/status/1657624974851702784/photo/1 metadata: verified: true max-request: 3 tags: exposure,config,properties http: - method: GET path: - "{{BaseURL}}/config.properties" - "{{BaseURL}}/config.properties.bak" - "{{BaseURL}}/ui_config.properties" stop-at-first-match: true matchers-condition: and matchers: - type: regex part: body regex: - 'jdbc:[a-z:]+://[A-Za-z0-9\.\-_:;=/@?,&]+' - '((?i)password|pwd|pass|secretkey)=' condition: or - type: word part: header words: - "text/plain" - "bytes" condition: or - type: word part: header words: - "text/html" negative: true - type: status status: - 200 # digest: 4a0a004730450221009d35cc0f153d9d08be92b7bc3ef1efc26849cd32242b54dfdcd4665a321e604302202764b9df23f568d3f8ee7367800c9128cf5daffb696701f453379453d1a4e6e6:922c64590222798bb761d5b6d8e72950