forked from zan8in/afrog
-
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.
- Loading branch information
Showing
80 changed files
with
172 additions
and
132 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,25 @@ | ||
id: git-leak | ||
|
||
info: | ||
name: Git 代码托管泄漏 | ||
author: zan8in | ||
severity: critical | ||
|
||
rules: | ||
r0: | ||
request: | ||
method: GET | ||
path: /.git/config | ||
expression: response.status == 200 && response.body.bcontains(b'[core]') && response.body.bcontains(b'repositoryformatversion') && response.body.bcontains(b'[branch') | ||
r1: | ||
request: | ||
method: GET | ||
path: /.git/index | ||
expression: response.status == 200 && response.body.bcontains(b'BIRC') && response.body.bcontains(b'repositoryformatversion') && response.body.bcontains(b'[branch') | ||
|
||
r2: | ||
request: | ||
method: GET | ||
path: /.git/HEAD | ||
expression: response.status == 200 && response.body.bcontains(b'refs/heads') && response.body.bcontains(b'repositoryformatversion') && response.body.bcontains(b'[branch') | ||
expression: r0() || r1() || r2() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,14 @@ | ||
id: svn-leak | ||
|
||
info: | ||
name: SVM 代码托管泄漏 | ||
author: zan8in | ||
severity: critical | ||
|
||
rules: | ||
r0: | ||
request: | ||
method: GET | ||
path: /.svn/entries | ||
expression: response.status == 200 && response.body.bcontains(b'-props') && response.body.bcontains(b'svn://') | ||
expression: r0() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 18 additions & 18 deletions
36
afrog-pocs/CNVD/2020/CNVD-2020-73282.yaml → ...rog-pocs/f-CNVD/2020/CNVD-2020-73282.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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
id: CNVD-2020-73282 | ||
|
||
info: | ||
name: 佑友防火墙弱口令 | ||
author: 你是猪!!! | ||
severity: high | ||
description: fofa title="佑友防火墙" | ||
|
||
rules: | ||
r1: | ||
request: | ||
method: POST | ||
path: /index.php?c=user&a=ajax_save | ||
headers: | ||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | ||
body: username=admin&password=hicomadmin&language=zh-cn | ||
expression: | | ||
response.status == 200 && response.body.bcontains(b'"success":true') && response.body.bcontains(b'"message":') && response.raw_header.bcontains(b'Set-Cookie') && response.raw_header.bcontains(b'FWSESSID=') | ||
id: CNVD-2020-73282 | ||
|
||
info: | ||
name: 佑友防火墙弱口令 | ||
author: 你是猪!!! | ||
severity: high | ||
description: fofa title="佑友防火墙" | ||
|
||
rules: | ||
r1: | ||
request: | ||
method: POST | ||
path: /index.php?c=user&a=ajax_save | ||
headers: | ||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8 | ||
body: username=admin&password=hicomadmin&language=zh-cn | ||
expression: | | ||
response.status == 200 && response.body.bcontains(b'"success":true') && response.body.bcontains(b'"message":') && response.raw_header.bcontains(b'Set-Cookie') && response.raw_header.bcontains(b'FWSESSID=') | ||
expression: r1() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,20 @@ | ||
id: CVE-2022-23944 | ||
|
||
info: | ||
name: Apache ShenYu Admin Unauth Access | ||
author: cckuakilong | ||
severity: critical | ||
description: Apache ShenYu suffers from an unauthorized access vulnerability where a user can access /plugin api without authentication. This issue affected Apache ShenYu 2.4.0 and 2.4.1. | ||
reference: | ||
- https://github.com/apache/incubator-shenyu/pull/2462 | ||
- https://nvd.nist.gov/vuln/detail/CVE-2022-23944 | ||
- https://github.com/cckuailong/reapoc/blob/main/2022/CVE-2022-23944/vultarget/README.md | ||
- https://lists.apache.org/thread/dbrjnnlrf80dr0f92k5r2ysfvf1kr67y | ||
|
||
rules: | ||
r0: | ||
request: | ||
method: GET | ||
path: /plugin | ||
expression: response.status == 200 && response.body.bcontains(b'"message":"query success"') && response.body.bcontains(b'"code":200') | ||
expression: r0() |
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,20 @@ | ||
id: CVE-2022-26148 | ||
|
||
info: | ||
name: Grafana & Zabbix Integration - Credentials Disclosure | ||
author: Geekby | ||
severity: critical | ||
description: | | ||
Grafana through 7.3.4, when integrated with Zabbix, contains a credential disclosure vulnerability. The Zabbix password can be found in the api_jsonrpc.php HTML source code. When the user logs in and allows the user to register, one can right click to view the source code and use Ctrl-F to search for password in api_jsonrpc.php to discover the Zabbix account password and URL address. | ||
reference: | ||
- https://2k8.org/post-319.html | ||
- https://security.netapp.com/advisory/ntap-20220425-0005/ | ||
- https://nvd.nist.gov/vuln/detail/CVE-2022-26148 | ||
|
||
rules: | ||
r0: | ||
request: | ||
method: GET | ||
path: /login?redirect=%2F | ||
expression: response.status == 200 && (response.body.bcontains(b'"zabbix":') || response.body.bcontains(b'"zbx":') || response.body.bcontains(b'alexanderzobnin-zabbix-datasource')) && '"password":"(.*?)"'.bmatches(response.body) && '"username":"(.*?)"'.bmatches(response.body) | ||
expression: r0() |
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